Reporting-endpoint (Section)#
Path: /environments/environment/services/service-role{id}/content-security-policy/reporting-endpoint
Enables reporting of HTTP Content Security Policy violations: adds the Content-Security-Policy report-to and report-uri directives, as well as the Reporting-Endpoints HTTP header.
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | optional | csp-reporting-endpoint | Name of the reporting endpoint |
| url | uri | required | URL to report Content Security Policy violations to. |