Secret Scanning for Users provides alerts to users when which condition is met?

Prepare for the GitHub Advanced Security Certification Test. Practice with multiple choice questions, detailed explanations, and hints. Achieve success on your first attempt!

Multiple Choice

Secret Scanning for Users provides alerts to users when which condition is met?

Explanation:
Secret scanning alerts are shown to users when the feature is actively enabled on a repository that is public. When secret scanning is turned on for a public repository, GitHub scans the code for exposed secrets and can generate alerts that users with access can see. This aligns with the idea that alerts depend on having the scan enabled for a public repo, rather than being automatically on for all repos or being limited to private repos or to pull requests. Scanning applies to the repository’s contents in general, not just to PRs.

Secret scanning alerts are shown to users when the feature is actively enabled on a repository that is public. When secret scanning is turned on for a public repository, GitHub scans the code for exposed secrets and can generate alerts that users with access can see. This aligns with the idea that alerts depend on having the scan enabled for a public repo, rather than being automatically on for all repos or being limited to private repos or to pull requests. Scanning applies to the repository’s contents in general, not just to PRs.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy