Skip to content

Commit

Permalink
Docs: GitHub - Add link to configure Sarif severity alert level (#5206)
Browse files Browse the repository at this point in the history
* Docs: GitHub - Add link to configure Sarif severity alert level

* Remove unnecessary trailing space

Co-authored-by: schalkms <30376729+schalkms@users.noreply.github.com>
  • Loading branch information
hfhbd and schalkms committed Aug 9, 2022
1 parent 9d00062 commit bf92597
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/introduction/reporting.md
Expand Up @@ -138,6 +138,8 @@ subprojects {
If your repository is hosted on Github, you can enable SARIF output in your repository.
You can follow to the [official documentation](https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github).

To change the severity level to fail your GitHub Action build configure it in [GitHub Settings](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#defining-the-severities-causing-pull-request-check-failure).

You can follow the example below as a quick start:
```yaml
jobs:
Expand Down

0 comments on commit bf92597

Please sign in to comment.