Export reported policies
Streams every matching policy as CSV, with no pagination.
Requires the viewer role on the website and the report type's plan feature.
AuthorizationBearer <JWT>An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.
workspaceId*stringThe workspace's id.
websiteId*stringThe website's id.
type*stringWhich kind of report to read. A website only collects the types its plan includes and its settings allow.
"csp-violation""csp-hash""integrity-violation""permissions-policy-violation""potential-permissions-policy-violation""document-policy-violation""connection-allowlist""intervention""deprecation""crash""coop""coep""network-error"search?stringMatch part of the policy text.
length <= 4096A UTF-8 CSV file of the reported policies.
response?stringtext/csvcurl -X GET 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/reports/csp-violation/policies/export'"string"Get a drill-down view GET
Opens up one row of a breakdown. Pass the row's key to get the detail behind it. Rows here carry their own key, so you can drill further.
List reported policies GET
Lists the distinct policies browsers reported as in force when a violation occurred, with how often each was seen and whether it was enforced or report-only.