Secret Scanning is automatically performed on which type of repositories?

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 is automatically performed on which type of repositories?

Explanation:
Secret Scanning is the process of automatically checking code for exposed credentials like API keys and tokens. It is performed automatically on public repositories because anything in public code is accessible to anyone, so catching secrets there helps prevent real-world leaks. Private repositories typically require enabling Secret Scanning through a GitHub security plan, so they aren’t scanned automatically by default. Archived repositories aren’t treated the same as active ones, so automatic scanning isn’t assumed for them.

Secret Scanning is the process of automatically checking code for exposed credentials like API keys and tokens. It is performed automatically on public repositories because anything in public code is accessible to anyone, so catching secrets there helps prevent real-world leaks. Private repositories typically require enabling Secret Scanning through a GitHub security plan, so they aren’t scanned automatically by default. Archived repositories aren’t treated the same as active ones, so automatic scanning isn’t assumed for them.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy