Repository navigation
Replies: 1 comment 6 replies
|
@DmitriyLewen Do you think it is relevant to the Buildkit support? |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
The
ghcr.io/candrews/jumpstartimage does specify a non-root user to run as. That can verified using thedocker image inspect ghcr.io/candrews/jumpstart:Trivy 0.48.3 correctly does not report ds002 for this image:
However, there's a regression in Trivy 0.49.0 falsely reporting ds002:
Desired Behavior
ds002 should not be reported for images that do not use the root user.
Actual Behavior
Trivy 0.49.0 incorrectly reports ds002 for images that run as non-root users.g
Reproduction Steps
1. `docker run -it aquasec/trivy:0.49.0 image --scanners misconfig --image-config-scanners misconfig ghcr.io/candrews/jumpstart`Target
Container Image
Scanner
Misconfiguration
Output Format
None
Mode
Standalone
Debug Output
Operating System
Linux
Version
Checklist
trivy image --resetAll reactions