Endpoint

Documentation on the report-uri endpoint for each Csper project

Overview

An "endpoint" is the URL each Csper project receives to use for collecting content security policy reports. More information on the Content Security Policy report-uri can be found here: An Introduction to report-uri.

Each Csper project receives a unique report-uri endpoint URL upon project creation.

Here's an example endpoint:

https://5e5989a74ada06c99ce685f8.endpoint.csper.io

This endpoint accepts CSP violation reports from both report-uri and report-to (Reporting-Endpoints). For full browser coverage, configure both headers using your project's endpoint URL:

Reporting-Endpoints: csp-endpoint="https://5e5989a74ada06c99ce685f8.endpoint.csper.io/?v=1"
Content-Security-Policy-Report-Only: script-src 'nonce-random123' 'strict-dynamic' 'report-sample'; object-src 'none'; base-uri 'none'; report-uri https://5e5989a74ada06c99ce685f8.endpoint.csper.io/?v=1; report-to csp-endpoint

Technical Details

Endpoints for each project can be found on the "Overview" page of the project.

report uri endpoint

Project Specific Endpoint

Incoming reports are processed in realtime and are usually available under the "Report" or "Realtime" panel within a second.

The endpoints parse reports per the CSP3 spec.

All valid JSON reports are saved (even if they have malformed keys) and the entirety can be downloaded under "Project Settings".

Endpoints work with both report-uri and report-to reports (they send the same structure reports).

Custom Csper Endpoints

Custom endpoints domain names can be setup for BUSINESS and ENTERPRISE plans.

https://mycompany.endpoint.csper.io;

These endpoints can be setup under the "Vanity URL" tab.