GH-500 · Question #20
What role is required to change a repository's code scanning severity threshold that fails a pull request status check?
The correct answer is B. Write. You can override the default behavior in your repository settings, by specifying the level of severities and security severities that will cause a pull request check failure. Customizing your advanced setup for code scanning You can customize how your advanced setup scans the…
Question
What role is required to change a repository’s code scanning severity threshold that fails a pull request status check?
Options
- AMaintain
- BWrite
- CAdmin
- DTriage
How the community answered
(60 responses)- A2% (1)
- B88% (53)
- C3% (2)
- D7% (4)
Explanation
You can override the default behavior in your repository settings, by specifying the level of severities and security severities that will cause a pull request check failure. Customizing your advanced setup for code scanning You can customize how your advanced setup scans the code in your project for vulnerabilities Who can use this feature? Users with write access if advanced setup is already enabled Defining the alert severities that cause a check failure for a pull request You can use rulesets to prevent pull requests from being merged when one of the following conditions is met: A required tool found a code scanning alert of a severity that is defined in a ruleset. A required code scanning tool's analysis is still in progress. A required code scanning tool is not configured for the repository.
Topics
Community Discussion
No community discussion yet for this question.