Skip to content

Reference

This section provides the complete technical reference for CSP Analyser. Use it when you need exact flag names, directive definitions, or solutions to specific errors.

For guided walkthroughs and best practices, see the Guides section instead. For command-level documentation, see the CLI Reference.

CLI options

Every flag accepted by the CLI, with types, defaults, and which commands support it.

CSP directives

A reference for the Content Security Policy directives that CSP Analyser understands, generates, and optimises — including default-src fallback behaviour and source expression types like 'self', 'unsafe-inline', nonces, and hashes.

Troubleshooting

Solutions for common issues: Playwright browser failures, missing violations, authentication problems, and platform-specific quirks.


Released under the MIT License.