refactor(checks): Deprecate AVD-DS-0024 #8017
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Discussed in #8008
Originally posted by nE0sIghT November 28, 2024
Description
Hi! I just hit
AVD-DS-0024
rule in the apt-mirror2 repository with the explanation:The description looks wrong because of [1] states:
... and [2] states:
So the
upgrade
command may not remove packages in the upgrade process whiledist-upgrade
may.[1] https://wiki.debian.org/AptCLI
[2] https://manpages.debian.org/unstable/apt/apt-get.8.en.html
Desired Behavior
I beleave
AVD-DS-0024
should be removed completely.Actual Behavior
AVD-DS-0024
claimsdist-upgrade
is wrong and should not be used while there is no other way to do complete upgrade.Reproduction Steps
1. Create Docker file with the `apt-get dist-upgrade` 2. Run trivy
Target
Filesystem
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
docker.io/aquasec/trivy
Version
Checklist
trivy clean --all
The text was updated successfully, but these errors were encountered: