GH-500 · Question #2
What happens when you enable secret scanning on a private repository?
The correct answer is A. Repository administrators can view Dependabot alerts. When secret scanning is enabled on a private repository, the key outcome is that repository administrators gain the ability to view secret scanning alerts through the repository's Security tab. This is the access-control result of the enablement. Option B describes enabling…
Question
What happens when you enable secret scanning on a private repository?
Options
- ARepository administrators can view Dependabot alerts.
- BDependency review, secret scanning, and code scanning are enabled.
- CYour team is subscribed to security alerts.
- DGitHub performs a read-only analysis on the repository.
How the community answered
(28 responses)- A89% (25)
- B7% (2)
- D4% (1)
Explanation
When secret scanning is enabled on a private repository, the key outcome is that repository administrators gain the ability to view secret scanning alerts through the repository's Security tab. This is the access-control result of the enablement. Option B describes enabling multiple GHAS features simultaneously, which is not what happens from enabling secret scanning alone. Option C (team subscription to security alerts) and D (read-only analysis) do not accurately describe the specific result of enabling secret scanning on a private repository.
Topics
Community Discussion
No community discussion yet for this question.