GH-500 · Question #6
Which of the following benefits do code scanning, secret scanning, and dependency review provide?
The correct answer is C. Search for potential security vulnerabilities, detect secrets, and show the full impact of changes to. Code scanning, secret scanning, and dependency review collectively address vulnerabilities in code logic, exposed secrets, and risky dependency changes within a single integrated security workflow.
Question
Which of the following benefits do code scanning, secret scanning, and dependency review provide?
Options
- AAutomatically raise pull requests, which reduces your exposure to older versions of
- BView alerts about dependencies that are known to contain security vulnerabilities.
- CSearch for potential security vulnerabilities, detect secrets, and show the full impact of changes to
- DConfidentially report security vulnerabilities and privately discuss and fix security vulnerabilities in
How the community answered
(34 responses)- A3% (1)
- B6% (2)
- C88% (30)
- D3% (1)
Why each option
Code scanning, secret scanning, and dependency review collectively address vulnerabilities in code logic, exposed secrets, and risky dependency changes within a single integrated security workflow.
Automatically raising pull requests to update outdated dependencies is the specific function of Dependabot version updates, not the combined benefit of these three features.
Viewing alerts about dependencies with known vulnerabilities is the specific function of Dependabot alerts, not the collective benefit of code scanning, secret scanning, and dependency review.
Code scanning uses CodeQL and other tools to find security vulnerabilities in source code, secret scanning detects exposed credentials and tokens, and dependency review surfaces the security impact of dependency changes directly in pull requests - together covering code, secrets, and supply chain risks.
Confidentially reporting and privately discussing security vulnerabilities describes GitHub's private vulnerability reporting feature, which is separate from code scanning, secret scanning, and dependency review.
Concept tested: Combined benefits of GHAS code, secret, and dependency security features
Source: https://docs.github.com/en/code-security/getting-started/github-security-features
Topics
Community Discussion
No community discussion yet for this question.