-
Notifications
You must be signed in to change notification settings - Fork 0
Operators Incident Response
github-actions[bot] edited this page Feb 28, 2026
·
4 revisions
Provide a repeatable response workflow for R2-Explorer sharing incidents.
- Suspected token abuse or leak.
- Suspected Access service-token compromise.
- Unexpected public/private route exposure.
- Worker share API outage or elevated auth failures.
- On-call operator access to Worker deploy/config controls.
- Ability to toggle readonly mode.
- Ability to rotate Access service tokens and Access app config.
- Access to runtime logs and deployment history.
R2_EXPLORER_BASE_URLR2E_READONLYR2E_SHARES_KVR2E_ACCESS_TEAM_DOMAINR2E_ACCESS_AUD
- Classify severity:
- SEV-1: active data exposure or unauthorized write access.
- SEV-2: degraded admin/share lifecycle without confirmed exposure.
- Immediate containment (choose minimum required controls):
- Enable readonly mode (
R2E_READONLY=true) and redeploy. - Revoke affected share tokens.
- Rotate Access service tokens and revoke compromised tokens.
- Tighten route policy if exposure is route-based.
- Enable readonly mode (
- Validate containment:
curl -I https://files.unsigned.sh/api/v2/list
curl -I https://files.unsigned.sh/share/<token-id>
r2 share worker list files documents/test.txt- Investigate:
- Check recent deploy/config changes.
- Review Access domain/JWKS availability and audience scope contracts.
- Review share token state in
R2E_SHARES_KV.
- Recover:
- Restore expected policy/config state.
- Disable readonly if no longer required.
- Confirm lifecycle commands succeed.
- Containment controls produce expected route and mutation behavior.
- No unauthorized path remains exposed after mitigation.
- Normal share lifecycle works after recovery.
- Persistent
401/403after credential rotation:- inconsistent automation secret rollout.
- Share tokens remain valid after revoke:
- KV write failure or stale deployment binding.
- API routes intermittently public:
- route configuration conflict or propagation lag.
- Revert to last known-good Worker deployment + env snapshot.
- Restore known-good Access team-domain/audience/JWKS configuration.
- Recheck protected/public route behavior.
- Re-run share create/list/revoke smoke tests.
- Record timeline (detection, containment, recovery).
- Record root cause and preventive action items.
- Attach exact commands and response samples used for validation.
Getting Started
Guides
Operator Runbooks
- Overview
- Cloudflare Access Routing Runbook
- Incident Response Runbook
- Access Service Token Rotation Runbook
- Readonly Maintenance Runbook
- Worker/Share Rollback Runbook
- Security Gates Remediation
Option Reference