Updated November 23, 2026. This page now also covers Logging & Monitoring, which used to be a separate policy.
Incident Response
Purpose
Define how Perfect Wiki detects, responds to, contains, recovers from, and learns from security and availability incidents.
Scope
Any actual or suspected event that could compromise the confidentiality, integrity, or availability of Perfect Wiki systems or customer data โ including data breaches, account compromise, denial of service, vendor incidents, and material service degradations.
Severity levels
- SEV1 โ Critical: Confirmed data breach, full outage, or active attack. Immediate response, all hands.
- SEV2 โ High: Partial outage, suspected breach, exploitable vulnerability discovered. Response within 1 hour.
- SEV3 โ Medium: Degraded performance, low-severity vulnerability, vendor advisory affecting us. Response within 1 business day.
- SEV4 โ Low: Single-user issue, informational alert. Response within 5 business days.
Process
- Detection. Alerts arrive from Sentry, cron-job check-ins, the status-page monitor, customer reports to [email protected], or vendor advisories.
- Triage. The CEO/CTO (incident commander by default) assigns a severity and creates an incident record (date, timeline, scope, impact, actions).
- Containment. Affected credentials are revoked, affected accounts disabled, affected components isolated, and exploit vectors blocked at the edge (Cloudflare) as appropriate.
- Eradication. Root cause is identified and fixed; patches are deployed; backdoors and unauthorized accounts are removed.
- Recovery. Affected systems are restored, integrity is verified, and monitoring is increased for a defined observation period.
- Notification. Affected customers are notified per the "Customer notification" section below. Regulators are notified within statutory deadlines (e.g., GDPR: 72 hours to the supervisory authority for personal data breaches).
- Post-incident review. Within 5 business days of resolution for SEV1/SEV2, a written post-mortem is produced (timeline, root cause, customer impact, corrective actions).
Customer notification
- Confirmed personal-data breaches affecting a customer are communicated by email to the customer's admin contact without undue delay and in any case within 72 hours of confirmation, subject to law-enforcement constraints.
- Material service incidents are posted on perfectwiki.com/status in near real time.
Testing
This plan is exercised at least annually via a tabletop scenario and updated based on lessons learned.
Logging & Monitoring
Purpose
Define what Perfect Wiki logs, how those logs are protected and retained, and how they are monitored to detect and respond to security and availability events.
Scope
Application logs, request logs, audit events of user actions, infrastructure logs from DigitalOcean, and error / performance telemetry from Sentry.
What is logged
- HTTP request logs: Source IP, method, URL, status code, response time, user agent โ emitted by every API request.
- Application audit events: Page create/update/delete, page view, comment, search query, bot query, publish/unpublish โ each tagged with organization, channel, page, author, timestamp.
- Authentication events: Sign-in attempts, session creation, session deletion.
- Error events: Unhandled exceptions, security-relevant errors (auth failures, validation failures, rate-limit hits) captured in Sentry with PII minimization.
- Scheduled job check-ins: Daily reports, weekly backups, page-updates notifications, stale-org cleanup โ each emits a Sentry check-in that alerts on failure.
- Infrastructure logs: DigitalOcean account activity log for access and configuration changes.
Time synchronization
All systems use NTP-synchronized clocks; timestamps in logs are UTC.
Protection of logs
- Sentry and DigitalOcean logs are access-restricted to Authorized Personnel via SSO + MFA on the identity provider.
- Logs are append-only at the storage layer; the application does not have credentials to delete log records.
- Personally identifiable information in logs is minimized; passwords are never logged; tokens are masked.
Retention
- Application errors / performance traces: retained per the Sentry plan (typically up to 90 days).
- DigitalOcean activity logs: retained per DigitalOcean's default schedule.
- Application audit events (user actions): retained in the production database for the lifetime of the organization.
Monitoring & alerting
- Sentry sends real-time alerts on new error issues and on missed cron-job check-ins.
- The status page monitors public endpoint availability and pages on outage.
- Critical alerts are routed to the CEO/CTO; response follows the Incident Response section above.
Roles & responsibilities
- Incident Commander (CEO/CTO): Leads response and decides on customer/regulator notifications; owns logging configuration and alert routing.
- All personnel: Report suspected incidents immediately to [email protected].
Review cadence
Reviewed and re-approved at least annually, and after any significant incident or organizational or technical change, including every SEV1 or SEV2 incident and any incident that exposes a logging gap.