bomify package vulnerabilities
bomify package vulnerabilities¶
Print a package's component vulnerability reports
Synopsis¶
Vulnerabilities prints the vulnerability reports of the local package
--purl (repeatable) limits it to specific components. Nothing but the array goes to stdout; warnings, such as a --purl matching nothing, go to stderr.
Examples¶
# Print every component's vulnerability report for a package
bomify package vulnerabilities myapp:latest
# Print only specific components' reports
bomify package vulnerabilities myapp:latest --purl pkg:oci/nginx@1.27 --purl pkg:npm/lodash@4.17.15
# Pipe into jq, e.g. to list every reported vulnerability ID
bomify package vulnerabilities myapp:latest | jq '.[].vulnerabilities[].id'
Options¶
-h, --help help for vulnerabilities
--purl stringArray only show the report for this purl (repeatable); shows every component's report if omitted
Options inherited from parent commands¶
--data-dir string directory to store bomify data (e.g., built packages). default is $HOME/.bomify or the value of the BOMIFY_DATA_DIR environment variable
--docs-dir string directory to write documentation to (if empty, no docs are generated)
--verbose enable verbose (debug) logging
SEE ALSO¶
- bomify package - Manage individual bomify packages