-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support ignoring findings using .skjoldignore
files.
#47
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
Closed
twu
changed the title
Initial support for (temporarily) ignoring findings using
Support (temporarily) ignoring findings using Jun 19, 2021
.skjoldignore
..skjoldignore
files.
twu
changed the title
Support (temporarily) ignoring findings using
Support ignoring findings using Jun 19, 2021
.skjoldignore
files..skjoldignore
files.
twu
added a commit
that referenced
this pull request
Jun 20, 2021
* Initial support for OSV API/PyPA Advisory database. (#46) * Update mypy and switch to 'pyproject.toml'-based setup. * Add references to 'cli' output if present. * Add support for OSV using either 'osv' (API) or 'pypa' (repository) as a source. * Update README.md. * Update pypi classifiers. * Update tests. * Support ignoring findings using `.skjoldignore` files. (#47) * Support for '.skjoldignore' files during audit. * Add dummy entry to '.skjoldignore'. * Add 'ignore' command. * Add warning about enabling 'report_only' in combination with using pre-commit. * Always use 'verbose: true' with pre-commit hook by default. * Add 'verbose: true' to README.md. * Ensure findings/vulnerable packages are always printed to 'stderr'. * Allow setting ignore file via env/cli. * Update README.md. * Add usage examples. * Update README.md.
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #42
Proposed Changes:
.skjoldignore
file heavily inspired by the.snyk
[0] ignore syntax. This should add support for permanently or temporarily ignoring findings based on their source identifier.cli
output to show ignored entries.json
output to show ignored entries.skjold ignore add CVE-2018-20060 ...
.pyproject.toml
.cli
and/orENV
.tests
.Example
.skjold_ignore
:Links