Skip to content

fix: scans not ignoring definitions from trivyignores input#477

Open
this-oliver wants to merge 1 commit intoaquasecurity:masterfrom
this-oliver:patch-1
Open

fix: scans not ignoring definitions from trivyignores input#477
this-oliver wants to merge 1 commit intoaquasecurity:masterfrom
this-oliver:patch-1

Conversation

@this-oliver
Copy link
Copy Markdown

Files passed into the trivyignores input with .yaml work as expected but all other extensions do not work.

aquasecurity/trivy-action places the contents of all ignore files passed in the trivyignores input into a file called trivyignores which is then passed to the actually trivy binary as an env variable.

Since this unexpected behavior is occurring in the trivy binary, this pr is simply adding a work around.

@this-oliver
Copy link
Copy Markdown
Author

For a more in-depth explanation, read this issue: aquasecurity/trivy#9331

@this-oliver
Copy link
Copy Markdown
Author

Pr addresses the following issue: #436

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant