Respond to a credential alert
Select alert recipients, evaluate validity and plan an issuer-confirmed response to a credential exposure.
Separate detection from credential response
A secret alert identifies a detected pattern and its location. Establish which service issued the credential and who owns the integration. A supported validity check can indicate whether the credential is active. An unknown status leaves the question open. Keep the value out of tickets and chat. Coordinate replacement and revocation with the issuer, review authorized access logs and document the outcome.
Push protection addresses supported secrets early. Historical scanning can still surface an older exposure. Organization configurations can enable features for eligible repositories, while repository alert access, notification preferences and provider integrations determine who receives particular signals. On public GitHub, partner alerts can go directly to the provider. Confirm the organization’s own alert visibility separately.
Enable the desired organization configuration and check its attachment to a private repository. Limit access to people who can investigate. A narrow, documented exclusion may be appropriate for a known fixture after review. Check whether it would also hide genuine credentials. For delegated exceptions, keep the requester, authorized reviewer, justification and outcome available for audit.
Read a validity result
Consider three alerts marked active, inactive and unknown. Contact the issuer promptly for the active credential. For the inactive one, establish when it stopped working and review the earlier exposure window. For unknown, ask the issuer or integration owner for a determination through an authorized channel. Record the alert ID, owner, timestamps and confirmation.
Worked case 1
A credential was taken out of the default branch yesterday. What must its owner establish before resolving the incident?
Check your reasoning
Confirm the issuer invalidated the exposed credential, update dependent services and record the affected interval. A later commit cannot withdraw earlier copies.
Worked case 2
A proposed pattern matches internal sample IDs as well as credentials. How should the security team evaluate it?
Check your reasoning
Dry-run the custom pattern on representative authorized content, inspect false matches and tune the definition. Give designated reviewers evidence for any exception and a review date.
GitHub secret scanning · Manage custom patterns · GH-500 skills outline
Related lesson in GitHub Actions. Scope deployment credentials and ordinary configuration.
Practice with the recording
A partner token is detected and the issuer reports it inactive. What should the response owner record before closing the alert?
Check your reasoning
Confirm which credential was exposed, when it became unusable and whether any access occurred during exposure. Record the issuer evidence and update dependent services if necessary. Configure notification ownership so subsequent findings reach someone able to revoke the token.
Current GH-500 course · 31:52 · freeCodeCamp · GitHub Advanced Security course · 46:56
Apply the current exam objectives
During rollout, separate historical scanning from push protection. Assign owners for alert triage, credential rotation and approval of documented exceptions. Review a synthetic incident record for time to revocation as well as time to alert closure.
Validating detection changes
Pilot a new secret pattern on harmless positive and negative fixtures and estimate false positives before enabling it widely. Record who reviews push exceptions and who revokes exposed credentials. Keep a separate measure for time to revocation.
Respond to a credential alert quiz
Answer 3 questions. Check each answer for an explanation.