Inline ignore does not work for AVD-DS-0002 #9455
Closed
thomasleplus
started this conversation in
Bugs
Replies: 1 comment 1 reply
-
|
hi @thomasleplus - thanks for the report. This looks like a bug to me in the case when attributes are missing and a finding needs to be ignored. I'll open an issue for it. |
Beta Was this translation helpful? Give feedback.
1 reply
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
Hi,
I use two inline ignores in the following Dockerfile:
When I run trivy 0.66.0 on Mac, I still get a finding for AVD-DS-0002. Note that this does not happen if I put an explicit
USER rootstatement at the end of my Dockerfile and move the# trivy:ignore:AVD-DS-0002comment there but I'd rather not do that workaround.Thanks!
Desired Behavior
Ignore both AVD-DS-0001 and AVD-DS-0002.
Actual Behavior
AVD-DS-0001 is successfully ignored but not AVD-DS-0002.
Reproduction Steps
Operating System
macOS Sequoia 15.6.1
Version
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions