Skip to content

Incident Response and Publication Authority

Triage a security report, decide who may publish, and keep the evidence needed for a later audit.

Admin guide Β· incident runbook

When to use Before you start Steps Verify Roll back
A vulnerability report or active incident Report channel, container and Vault access Triage, contain, publish, record Evidence recorded and publication authorised Restore the prior state from snapshot

When to use

Use this runbook when a security report arrives, when a control fails in production, or when a bulletin entry must be corrected.

Before you start

  • Roles, not named people, own each decision: intake, triage, approval and publication. An unauthorised post is not an advisory.
  • The authoritative channel is the signed bulletin and its immutable mirrors; a forum category is discussion only (boundary).
  • Production changes require approval. Take a container snapshot before changing anything; keep tokens and unseal keys under /tmp and use hostnames, never internal IP addresses.
  • Never log a token, a password or a query string.

Steps

# 1. Preserve the state before changing it.
sudo incus snapshot create <container> pre-incident-$(date +%Y%m%d%H%M%S)

# 2. Collect the current evidence into /tmp, never into the repository.
sudo incus exec <container> -- grep -E "ERROR|WARN" /opt/gbo/logs/stdout.log | tail -50 > /tmp/incident-log.txt
curl -sI https://docs.generalbots.org/ > /tmp/incident-headers.txt

# 3. Confirm which advisory source and publication state apply.
grep -n "<GBSA-ID>" scripts/published_advisories.txt

# 4. Contain through the documented runbook (isolate a bot, rotate a secret,
#    or redeploy), then draft and validate the advisory:
python3 scripts/validate_advisory.py security/advisories/<GBSA-ID>.md

# 5. Escalate to the external coordinator only with the approval recorded in
#    the incident record; a sponsor must provide a CVE ID for a CVE record.

Verify

Check Surface Pass condition
Snapshot sudo incus snapshot list <container> pre-incident snapshot exists
Evidence /tmp/incident-log.txt no credential values present
Scope deployment inventory affected tenant and component named
Publication signed bulletin and mirrors approved by the publication authority
Recovery relevant runbook verification table every row passes

Roll back

πŸ”΄ Restore the pre-incident snapshot or the previous configuration from Vault, then re-run the verification table for the runbook that was used. Keep the incident record and the evidence; a rollback is not the end of the incident.