Go to Stores / Configuration / Security / CSP
:
Enable/disable module's functionality.
Enable/disable cron task to process violations reports. This task starts every hour, analyzes reports and creates policy rules. Processed reports will be deleted.
- Developers Only:
true
- CSP violation reports will be collected from given IP addresses (see below);false
- CSP violation reports will be collected from any IP address. - Developers IPs: comma-separated list of IP addresses to collect CSP violation reports from.
- Activate New Rules:
true
- cron task creates new rules and enables it;false
- creates only (enable manually using SQL). - Report Only: use
Content-Security-Policy-Report-Only
orContent-Security-Policy
HTTP header for policy.