Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.14.0 is ignoring skip-files #287

Open
nnellanspdl opened this issue Nov 28, 2023 · 0 comments
Open

0.14.0 is ignoring skip-files #287

nnellanspdl opened this issue Nov 28, 2023 · 0 comments

Comments

@nnellanspdl
Copy link

- uses: aquasecurity/trivy-action@0.14.0
  with:
    image-ref: ${{ steps.build.outputs.image_url }}
    exit-code: '1'
    ignore-unfixed: true
    format: 'sarif'
    output: 'trivy-results.sarif'
    limit-severities-for-sarif: true
    skip-files: |
      /file1,
      /file2,
      /file3

I even added limit-severities-for-sarif: true but that did not help.

My workflow will always fail with an error about the files I'm trying to skip.

When I change to exit-code: '0' then it works.

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

No branches or pull requests

1 participant