D2: Push Protection & Validity Checks
GH-500 GitHub Advanced Security exam practice questions · 10 flashcards
Question
Push protection?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Push Protection & Validity Checks practice questions and answers
- Push protection?Blocks pushes containing supported, high-confidence secrets before they enter the repo.
- Push protection surfaces?Command line pushes, web UI commits, API, and Copilot/IDE (where supported).
- Bypassing push protection?User selects reason: used in tests, false positive, fix later — creates alert (except false positive closes).
- User-level push protection?Protects your pushes to any public repo.
- Validity checks?Check whether detected tokens are still active with the provider.
- Validity statuses?Active, inactive, unknown.
- Prioritized alerting?Focus on active, high-confidence secrets first.
- Push protection for custom patterns?Can be enabled per custom pattern.
- Why prevention at source?Remediating after push requires rotation and history cleanup.
- Scenario: developer's push blocked by a real AWS key. Correct action?Remove the secret from commits (amend/rebase), rotate if exposed, push again.