Export the security headers
Downloads the security headers as a CSV file, with the same filters as the list and no pagination. For the evidence an assessor asks for, download an evidence pack instead.
Requires the viewer role on the website and the compliance 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.
addressId?stringOnly the headers of this watched address, by its id from the watched addresses list.
length <= 36change?stringOnly the headers whose latest change is of this kind, the one each header's change shows. Combines with the other filters.
"appeared""changed""removed""reappeared"name?stringOnly the headers of this exact name, as the list spells it. Combines with the other filters.
1 <= length <= 160status?stringOnly the headers in this review state; without it, every current value of the website's watched addresses whatever its state. needs_review lists the same headers as requiresAction=true. approved lists the values currently approved, one per header and address, each with who approved it, when and why. A header approved as not sent is among them, with a null value and approvedAbsent set.
"approved""needs_review""rejected"requiresAction?booleantrue returns only headers still waiting for a decision.
stillSent?booleantrue returns only the rejected values the page still sent when it was last read, the ones whose stillSent is true. false returns every other header: with status=rejected, the rejected values no longer sent.
decidedBy?stringOnly the values whose current decision this person made, by their identifier: who approved an approved value, who rejected a rejected one. deleted_account lists the decisions of people whose account is deleted. A header waiting for a decision never matches. The identifier is the approvedBy or rejectedBy of a header.
^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|deleted_account)$length <= 36A UTF-8 CSV file of the filtered headers.
response?stringtext/csvcurl -X GET 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/compliance/headers/export'"string"List the security header history GET
Returns everything recorded on the website's watched addresses, newest first: header changes, what each first scan read, decisions with who made them, and when...
Get a security header GET
Returns one security header with its current value and review. A header whose address is no longer watched answers 404 headernotfound.