-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed safety approach to distinguish between install and development
Details: * Split the safety runs between requirements file for installation and minimum-constraints file for development. The safety run for installation must succeed, while the safety run for development shows its issues, but is allowed to fail. Signed-off-by: Anil Kumar Dakarapu <anil.kumar.dakarapu@ibm.com>
- Loading branch information
1 parent
e27ccce
commit 8bf058d
Showing
4 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Safety policy file for packages needed for installation | ||
# For documentation, see https://docs.pyup.io/docs/safety-20-policy-file | ||
|
||
# Configuration for the 'safety check' command | ||
security: | ||
|
||
# Ignore certain severities. | ||
# A number between 0 and 10, with the following significant values: | ||
# - 9: ignore all vulnerabilities except CRITICAL severity | ||
# - 7: ignore all vulnerabilities except CRITICAL & HIGH severity | ||
# - 4: ignore all vulnerabilities except CRITICAL, HIGH & MEDIUM severity | ||
ignore-cvss-severity-below: 0 | ||
|
||
# Ignore unknown severities. | ||
# Should be set to False. | ||
ignore-cvss-unknown-severity: False | ||
|
||
# List of specific vulnerabilities to ignore. | ||
# {id}: # vulnerability ID | ||
# reason: {text} # optional: Reason for ignoring it. Will be reported in the Safety reports | ||
# expires: {date} # optional: Date when this ignore will expire | ||
ignore-vulnerabilities: | ||
39611: | ||
reason: PyYAML full_load method or FullLoader is not used | ||
43975: | ||
reason: Fixed Urllib3 versions are excluded by requests | ||
|
||
# Continue with exit code 0 when vulnerabilities are found. | ||
continue-on-vulnerability-error: False |
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
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