Incidents and recovery¶
Contain credential exposure before investigating logs or reproducing the failure. A revoked credential limits the time available for further misuse.
Exposed credential¶
- Revoke the token or suspend the GitHub App installation credential.
- Stop active jobs that could still hold the value.
- Restrict access to affected logs, artifacts, issues, and shell history.
- Identify the owners and repositories visible to the credential.
- Review GitHub audit evidence for unexpected access or mutation.
- Issue a replacement only after the exposure path is closed.
Partial apply¶
apply does not provide a transaction spanning GitHub endpoints. Independent
groups may succeed even when another group fails. There is no generic rollback
command, and omission only stops management; it does not restore an earlier
value.
Recovery procedure¶
- Preserve the failed run's sanitized output as private operational evidence.
- Stop overlapping apply jobs for the same owner and repositories.
- Run a fresh read-only plan against current GitHub state.
- Separate completed, still-required, and newly blocked operations.
- Express any deliberate reversal as explicit desired state.
- Review and apply the new plan through the normal protected path.
- Verify with another read-only plan.
Report a vulnerability¶
Do not open a public issue for a suspected vulnerability, privilege escalation, token exposure, or private repository disclosure. Use the project's private vulnerability reporting channel. Revoke an exposed credential before preparing the report.