Justify a script
Records why this script is allowed to run on a payment page, which is what PCI DSS 6.4.3 requires. The justification is tied to the script's current hash, so if its contents change later it goes back to needing review. Adds an entry to the script's history.
Requires the analyst role on the website and the compliance plan feature.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Why this script is allowed to run on a payment page. Assessors read this, so say what the script does and who authorized it.
1 <= length <= 4096Response Body
application/json
curl -X POST "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/compliance/scripts/string/justify" \ -H "Content-Type: application/json" \ -d '{ "justification": "Stripe payment form, required for card entry. Approved by security review 2026-01-12." }'{ "id": "string", "websiteId": "string", "subresourceUrl": "https://js.stripe.com/v3/", "status": "unreviewed", "justification": "string", "originId": "string", "origin": "https://js.stripe.com", "tags": [ { "id": "string", "name": "string", "color": "slate" } ], "justifiedHash": "string", "currentHash": "string", "ruleId": "string", "justifiedBy": "string", "justifiedByUser": { "id": "string", "email": "string", "firstName": "string", "lastName": "string", "picture": "string" }, "justifiedAt": "2019-08-24T14:15:22Z", "unauthorizedReason": "string", "unauthorizedBy": "string", "unauthorizedByUser": { "id": "string", "email": "string", "firstName": "string", "lastName": "string", "picture": "string" }, "unauthorizedAt": "2019-08-24T14:15:22Z", "retiredAt": "2019-08-24T14:15:22Z", "firstSeen": "2019-08-24T14:15:22Z", "lastSeen": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}List a script's history GET
Returns the full history of one script, newest first: when it was first seen, every time its contents changed, and every decision made about it, with who made...
Mark a script unauthorized POST
Records that this script should not be running on a payment page, with the reason why.