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

Ignore unfixed issues for exit code #133

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

greenjava
Copy link

  • Add new option ignoreUnfixed to ignore vulnerabilities without a fix to generate a non-zero exit code

  • This can be very useful in CI pipelines: when the option is enabled, it returns an error only when a fix is available to remove a vulnerability

  • This type of functionality exists on other tools (Trivy for example)

  • I've added tests to have good code coverage and updated the README doc

  • To test, I have a patch available on npm-cli here

@greenjava greenjava requested a review from a team as a code owner July 22, 2024 13:53
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