trivy sbom

Generate SBOM for an artifact

Subcommands

NameDescription
--output, -oOutput file name [$TRIVY_OUTPUT]
--clear-cache, -cClear image caches without scanning [$TRIVY_CLEAR_CACHE]
--ignorefileSpecify .trivyignore file (default: ".trivyignore") [$TRIVY_IGNOREFILE]]
--timeoutTimeout (default: 5m0s) [$TRIVY_TIMEOUT]
--severity, -sSeverities of vulnerabilities to be displayed (comma separated) (default: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL") [$TRIVY_SEVERITY]
--offline-scanDo not issue API requests to identify dependencies [$TRIVY_OFFLINE_SCAN]
--skip-filesSpecify the file paths to skip traversal [$TRIVY_SKIP_FILES]
--skip-dirsAllow insecure server connections when using SSL [$TRIVY_INSECURE]
--artifact-type, --typeInput artifact type (image, fs, repo, archive) (default: "image") [$TRIVY_ARTIFACT_TYPE]
--sbom-format, --formatSBOM format (cyclonedx) (default: "cyclonedx") [$TRIVY_SBOM_FORMAT]