Skip to content

exclude license type for a specific package #5839

Answered by AnaisUrlichs
c0p4ca7 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there, so the first thing that I see is that the trivyignore file is for vulnerability and misconfiguration IDs specifically. Meaning, if you want to specify the license that you want to e.g. ignore, you have to do that through the trivy.yaml file which defines the overall way trivy is supposed to run => instead of specifying different flags the trivy.yaml manifest allows you to specify the configuration in a specific file. This makes it easier to reuse the scan configuration and pass in different configurations for different scans.

I assume you would like something similar to this?

Here is the docs: https://aquasecurity.github.io/trivy/v0.48/docs/references/configuration/config-file/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tstraley
Comment options

@tstraley
Comment options

Answer selected by AnaisUrlichs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triage/support Indicates an issue that is a support question.
3 participants