Flashcardsfor IT Certifications

D2: Secret Protection Access, Bypass Policies & Custom Patterns

GH-500 GitHub Advanced Security exam practice questions · 10 flashcards

Question
Role-based bypass policy?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Secret Protection Access, Bypass Policies & Custom Patterns practice questions and answers
  1. Role-based bypass policy?
    Only certain roles/teams can bypass push protection.
  2. How does delegated bypass work for push protection?
    Contributors request bypass; designated reviewers approve/deny.
  3. Configuring alert recipients?
    Repo admins, org owners, security managers, commit authors; custom notifications.
  4. Exclusions?
    secret_scanning.yml with paths-ignore to exclude directories (e.g. test fixtures).
  5. Custom patterns?
    Regex-based patterns at repo, org or enterprise level.
  6. Custom pattern components?
    Secret format regex, optional before/after secret, additional match requirements; test with sample.
  7. Dry run for custom patterns?
    Test against repos to evaluate false positives before publishing.
  8. Copilot-generated patterns?
    Copilot can generate regex for custom patterns from description.
  9. Enterprise custom patterns?
    Apply across all orgs.
  10. Scenario: detect internal tokens like ACME_[A-Z0-9]{32}. Feature?
    Custom secret scanning pattern (with push protection).