-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert .yamllint to match lineage; fix issues flagged by yamllint.
- Loading branch information
1 parent
d21acb8
commit de664dd
Showing
11 changed files
with
70 additions
and
45 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -1,15 +1,32 @@ | ||
--- | ||
# Safety Security and License Configuration file | ||
# We recommend checking this file into your source control in the root of your Python project | ||
# If this file is named .safety-policy.yml and is in the same directory where you run `safety check` it will be used by default. | ||
# Otherwise, you can use the flag `safety check --policy-file <path-to-this-file>` to specify a custom location and name for the file. | ||
# To validate and review your policy file, run the validate command: `safety validate policy_file --path <path-to-this-file>` | ||
# We recommend checking this file into your source control in the root of your Python | ||
# project | ||
# If this file is named .safety-policy.yml and is in the same directory where you run | ||
# `safety check` it will be used by default. | ||
# Otherwise, you can use the flag `safety check --policy-file <path-to-this-file>` to | ||
# specify a custom location and name for the file. | ||
# To validate and review your policy file, run the validate command: `safety validate | ||
# policy_file --path <path-to-this-file>` | ||
# A severity number between 0 and 10. Some helpful reference points: 9=ignore all | ||
# vulnerabilities except CRITICAL severity. 7=ignore all vulnerabilities except | ||
# CRITICAL & HIGH severity. 4=ignore all vulnerabilities except CRITICAL, HIGH & | ||
# MEDIUM severity. | ||
security: # configuration for the `safety check` command | ||
ignore-cvss-severity-below: 0 # A severity number between 0 and 10. Some helpful reference points: 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-unknown-severity: False # True or False. We recommend you set this to False. | ||
ignore-vulnerabilities: # Here you can list multiple specific vulnerabilities you want to ignore (optionally for a time period) | ||
# We recommend making use of the optional `reason` and `expires` keys for each vulnerability that you ignore. | ||
ignore-cvss-severity-below: 0 | ||
# True or False. We recommend you set this to False. | ||
ignore-cvss-unknown-severity: False | ||
# Here you can list multiple specific vulnerabilities you want to ignore | ||
# (optionally for a time period) | ||
ignore-vulnerabilities: | ||
# We recommend making use of the optional `reason` and `expires` keys for each | ||
# vulnerability that you ignore. | ||
54672: # Vulnerability found in scrapy version >= 0.7 | ||
reason: No fix currently available # optional, for internal note purposes to communicate with your team. This reason will be reported in the Safety reports | ||
# optional, for internal note purposes to communicate with your team. | ||
# This reason will be reported in the Safety reports | ||
reason: No fix currently available | ||
expires: '2024-06-01' # We will revisit for a fix in 6 months. | ||
continue-on-vulnerability-error: False # Suppress non-zero exit codes when vulnerabilities are found. Enable this in pipelines and CI/CD processes if you want to pass builds that have vulnerabilities. We recommend you set this to False. | ||
# Suppress non-zero exit codes when vulnerabilities are found. Enable this in | ||
# pipelines and CI/CD processes if you want to pass builds that have vulnerabilities. | ||
# We recommend you set this to False. | ||
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