Incident response (ADR 0009): rotation switches, runbook, tests #10
Loading…
Reference in a new issue
No description provided.
Delete branch "incident-design"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
M8 of the infractl plan: ADR 0009, incident response. A compromised host is isolated, what it could reach is rotated, the host is re-created and restored from before the compromise began, then checked.
Rotation switches
idp_rotate: the OpenBao client secret, the database password, the OIDC signing key, the LDAP outpost tokenmonitoring_rotate: Grafana's admin password, its OIDC client secretanchor_snapshot_secret=rotate: a new snapshot secret ID; all other secret IDs are destroyedopenbao_ssh_rotate_ca: a new SSH user CAinfractl backup new-repositorycan switch a source to a fresh oneShared tasks
tasks/bao_generate.yml: rotates named secrets, with check-and-settasks/approle_prune.yml: destroys all secret IDs but oneDocs
docs/runbooks/incident.md: the order of work behindinfractl incident HOSTScenarios
openbao-tasks(new, no VMs): generate, rotate and prune against OpenBaoidentityandmonitoringrotate through the real playbooks. They check the hosts take the new values and refuse the old ones: the database password, the client secret in Authentik, Grafana's admin password.Pins
pg_hba.conf, client secrets take effect), monitoring 0.3.0, openbao 0.8.0The identity and openbao-tasks scenarios passed locally.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG