BREAKING CHANGE: Removal of --reset
, --clear-cache
and --reset-checks-bundle
flags
#7010
knqyf263
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Trivy v0.53.0 introduces changes to cache management by removing several flags and introducing a new
trivy clean
command.Removed Flags
The following flags will be removed in v0.53.0:
--reset
--clear-cache
--reset-checks-bundle
New Command:
trivy clean
All cache management operations will now be performed using the new
trivy clean
command.Before/After
Clearing All Caches
trivy image --reset
trivy clean --all
Clearing Scan Cache
trivy image --clear-cache
trivy clean --scan-cache
Clearing Checks Bundle
trivy config --reset-checks-bundle
trivy clean --checks-bundle
New Specific Cache Clearing Options
trivy clean --vuln-db
trivy clean --java-db
Affected Versions
Required Actions
--reset
,--clear-cache
,--reset-checks-bundle
).trivy clean
command and appropriate flags.Impact
Beta Was this translation helpful? Give feedback.
All reactions