Version
sbi version: main @ d9404ec
Trivy pin: v0.69.3 (.github/tool-versions.sh)
Go: 1.26.5
What happened?
RunTrivy uses --security-checks (e.g. vuln / vuln,secret,config). Upstream renamed this to --scanners and marks --security-checks deprecated. With current Trivy, config is also deprecated in favor of misconfig under --scanners.
This works today via alias but will break when the alias is removed.
Expected: Use --scanners vuln and --scanners vuln,secret,misconfig for comprehensive mode.
Steps to reproduce
- Read
RunTrivy in pkg/infrastructure/scanner/trivy.go.
- Compare with Trivy v0.69.3 flag definitions (
ScannersFlag / deprecated security-checks).
Version
sbi version: main @ d9404ec
Trivy pin: v0.69.3 (
.github/tool-versions.sh)Go: 1.26.5
What happened?
RunTrivyuses--security-checks(e.g.vuln/vuln,secret,config). Upstream renamed this to--scannersand marks--security-checksdeprecated. With current Trivy,configis also deprecated in favor ofmisconfigunder--scanners.This works today via alias but will break when the alias is removed.
Expected: Use
--scanners vulnand--scanners vuln,secret,misconfigfor comprehensive mode.Steps to reproduce
RunTrivyinpkg/infrastructure/scanner/trivy.go.ScannersFlag/ deprecatedsecurity-checks).