CSP go-live playbook
Pair with inventory: Third-party scripts. Flat file: docs/csp-go-live-playbook.md.
- Staging Report-Only — deploy header with widest practical
script-src/connect-src; collect violations 7 calendar days minimum. - Triage — tag each violating URL to owner team (marketing, platform, billing deep links).
- Narrow allowlists — collapse wildcards host-by-host; document rationale in changelog with
securitytag. - Canary enforce — enable enforcing CSP on staging only; rerun Playwright critical paths plus manual chat/widget smoke.
- Production — ship Report-Only 48h ahead of enforced header; rollback via CDN/server toggle without git revert.
- Post-go-live — archive violation dashboards; schedule quarterly recap against new embeds.