-
Notifications
You must be signed in to change notification settings - Fork 361
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 a package only from license scanning #1124
Comments
You should be able to do this using [[PackageOverrides]]
# The package name, version, and ecosystem to match against
name = "lib"
# If version is not set or empty, it will match every version
version = "1.0.0"
ecosystem = "Go"
# Ignore the license of this package
license.override = ["IGNORED"] and then call While a little messier than being to do say @another-rex @cuixq what do you think? |
Currently I do something similar - I override the package license to an allowed one like |
Today
[[PackageOverrides]]
can be configured to ignore a package entirely from both vulnerability and license scanning usingignore
field:However, there are cases where we only want to ignore a package from license scanning, for example when the package is only used in tests we may still want to detect vulnerabilities but ignore license since this package is not compiled in our application.
The text was updated successfully, but these errors were encountered: