CentralCSP
APICompliance

Get the compliance summary

Returns PCI DSS 6.4.3 readiness for every website you can access, plus workspace totals. A website is ready once it is collecting reports and has at least one enabled payment page. Only enabled payment pages and rules are counted.

Requires membership of the workspace and the compliance plan feature.

GET
/v1/workspaces/{workspaceId}/compliance

Authorization

headerAuthorizationBearer <JWT>

An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.

Path Parameters

workspaceId*string

The workspace's id.

Response Body

PCI DSS 6.4.3 readiness across the workspace.

application/json
  1. response
totals*

Totals across every website you can access.

websites*array<>

The same figures per website.

Example Request
curl -X GET 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/compliance'
Example Response
{  "totals": {    "websites": 0,    "readyWebsites": 0,    "paymentPages": 0,    "definedPaymentPages": 0,    "rules": 0,    "scripts": 0,    "justifiedScripts": 0,    "reviewedScripts": 0,    "scriptsToReview": 0,    "reviewScope": {      "state": "measured",      "percent": 75    }  },  "websites": [    {      "id": "string",      "name": "string",      "url": "",      "endpointEnabled": true,      "paymentPages": 0,      "definedPaymentPages": 0,      "rules": 0,      "scripts": 0,      "justifiedScripts": 0,      "reviewedScripts": 0,      "scriptsToReview": 0,      "reviewScope": {        "state": "measured",        "percent": 75      }    }  ]}