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#

NameTypeRequiredDefaultDescription
idstringoptionalcsp-reporting-endpointName of the reporting endpoint
urlurirequiredURL to report Content Security Policy violations to.

Was this helpful?