Incident Response Plan
Status: DRAFT Owner: Engineering Last Review: 2026-05-03 Applicable Standards: SOC 2 (CC7.3, CC7.4, CC7.5) / GDPR (Art. 33, Art. 34) / SEC (data breach disclosure)
1. Purpose
This document defines the incident response procedures for the Equa platform. It covers how incidents are detected, who is notified, how they are contained and remediated, and how post-incident reviews are conducted.2. Scope
For incidents involving the AI agent (Equanaut), also refer to the gateway-specific incident response procedures documented in the equabot-gateway repository. Agent-specific controls include rate limiting (
AGENT_MAX_TOOL_CALLS_PER_MINUTE, AGENT_MAX_WRITE_OPS_PER_MINUTE, AGENT_MAX_DESTRUCTIVE_PER_HOUR) and the permission proxy that enforces user-level permissions on all agent tool calls.Source: equa-server/modules/agent/src/security/guardrails.ts3. Incident Severity Levels
4. Phase 1: Detection
4.1 Automated Detection
4.2 Manual Detection
4.3 Detection Gaps
5. Phase 2: Notification
5.1 Internal Notification
When an incident is detected, the following notification chain is activated:5.2 External Notification
6. Phase 3: Containment
6.1 Immediate Containment Actions
6.2 Managed Platform Containment
The current interim stack is hosted on managed platforms, so containment depends on the platform serving the affected host:- Railway service restart / redeploy — the current app/API edge can be restarted or redeployed quickly when
app.equa.ccis unhealthy - Health-check gate — failed
/healthchecks and bad edge responses help confirm whether the fault is inside the app container or at the host edge - Service disable — the affected managed service can be stopped if necessary
- Legacy Cloud Run revision routing — if the legacy Cloud Run path is reactivated for a backend incident, revision-based traffic shifting is still available there
6.3 Database Containment
- Read-only or restricted-write mode — use the managed PostgreSQL provider controls that are available for the live database service
- Point-in-time recovery — use managed PostgreSQL backup/restore controls if they are enabled for the live provider
- Connection kill — Active database connections can be terminated to stop ongoing unauthorized queries
7. Phase 4: Remediation
7.1 Root Cause Analysis
- Collect evidence — Preserve logs, database snapshots, and affected container images before any remediation
- Timeline reconstruction — Build a chronological timeline of the incident from first indicator to detection
- Attack vector identification — Determine how the incident occurred (vulnerability, misconfiguration, credential compromise, etc.)
- Impact assessment — Identify all affected data, users, and systems
7.2 Remediation Actions
7.3 Verification
Before declaring the incident resolved:- Deploy the fix to a staging environment and verify
- Deploy to production
- Monitor for recurrence (minimum 24 hours for P1/P2)
- Confirm all containment measures have been reversed (or intentionally kept)
- Verify affected systems are operating normally
8. Phase 5: Post-Incident Review
8.1 Timeline
8.2 Post-Incident Report Template
8.3 Blameless Culture
Post-incident reviews focus on systemic improvements, not individual fault. The goal is to understand what happened, why existing controls failed to prevent or detect it, and what changes will reduce the likelihood and impact of similar incidents.9. Roles and Responsibilities
10. Annual Review
This incident response plan is reviewed and updated:- Annually as part of the security program review
- After every P1/P2 incident to incorporate lessons learned
- When infrastructure changes that affect detection or containment capabilities