CentralCSP
APICompliance

Get the compliance summary

Reports PCI DSS 6.4.3 readiness for every website you can access, plus workspace totals. A website counts as ready once it is collecting reports and has at least one payment page defined. Use scriptsToReview to see how much review work is outstanding. Only enabled payment pages and rules are counted.

Requires membership of the workspace and the compliance plan feature.

GET
/v1/workspaces/{workspaceId}/compliance

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string

Response Body

application/json

curl -X GET "https://api-next.centralcsp.com/v1/workspaces/string/compliance"
{  "totals": {    "websites": 0,    "readyWebsites": 0,    "paymentPages": 0,    "rules": 0,    "scripts": 0,    "justifiedScripts": 0,    "reviewedScripts": 0,    "scriptsToReview": 0  },  "websites": [    {      "id": "string",      "name": "string",      "url": "http://example.com",      "endpointEnabled": true,      "paymentPages": 0,      "rules": 0,      "scripts": 0,      "justifiedScripts": 0,      "reviewedScripts": 0,      "scriptsToReview": 0    }  ]}