trivy icon indicating copy to clipboard operation
trivy copied to clipboard

Ho do I ignore a specific vulnerability by ID only in a particular file.

Open codemedic opened this issue 2 years ago • 0 comments

If I have multiple Dockerfiles, say one just for build and the other for docker images that are meant for deployment, trivy sometimes report issues with the former which I would like to ignore. Since they are build time only, they are safe enough to ignore.

How do I ignore them by ID per file?

codemedic avatar Feb 07 '23 15:02 codemedic