fix(misconf): improve argument handling in AVD-DS-0001 #8274
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Discussed in #8265
Originally posted by rittneje January 21, 2025
Description
We have Dockerfiles that reference build args to construct the registry prefix of the image.
Scanning such Dockerfiles never triggers avd-ds-0001.
Desired Behavior
The check ought to work even if we are using a build arg.
Actual Behavior
Trivy reports nothing.
Reproduction Steps
Target
Filesystem
Scanner
Misconfiguration
Output Format
None
Mode
Standalone
Debug Output
Operating System
docker container
Version
Checklist
trivy clean --all
The text was updated successfully, but these errors were encountered: