GH-500 · Question #18
Assuming security and analysis features are not configured at the repository, organization, or enterprise level, secret scanning is enabled on:
The correct answer is C. public repositories. GitHub automatically enables secret scanning on all public repositories by default, at no cost, even without any explicit configuration. This is part of GitHub's baseline protection for open-source code. Private repositories - whether user-owned or within an organization…
Question
Assuming security and analysis features are not configured at the repository, organization, or enterprise level, secret scanning is enabled on:
Options
- Aprivate repositories.
- Ball new repositories within your organization.
- Cpublic repositories.
- Duser-owned private repositories.
How the community answered
(30 responses)- A7% (2)
- B3% (1)
- C90% (27)
Explanation
GitHub automatically enables secret scanning on all public repositories by default, at no cost, even without any explicit configuration. This is part of GitHub's baseline protection for open-source code. Private repositories - whether user-owned or within an organization - require GitHub Advanced Security (GHAS) or explicit opt-in at the repository, organization, or enterprise level to benefit from secret scanning.
Topics
Community Discussion
No community discussion yet for this question.