Docker image mis-configuration scanning not working #5728
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Discussed in #5723
Originally posted by raesene December 5, 2023
Description
In the latest version of Trivy the mis-configuration scanning of Docker images does not appear to be working. Running the image mis-configuration scanner just produces an empty list.
Running with trivy 0.43 worked as expected
But running the same command with 0.47 doesn't find the Docker config
Desired Behavior
Ideally the docker mis-configuration scans should run and find things like image running as
root
Actual Behavior
mis-configuration scanners did not run.
Reproduction Steps
1. download trivy 0.47 2. run `trivy image --image-config-scanners config alpine:3.17` 3. observe no findings :) ...
Target
Container Image
Scanner
Misconfiguration
Output Format
Table
Mode
Standalone
Debug Output
The text was updated successfully, but these errors were encountered: