Analyze a policy value
Reviews a Content-Security-Policy header value on its own and reports what each directive does and where the policy is weak, for example an unsafe keyword or an overly broad source. Nothing is fetched and nothing is saved, so use it for a policy you are drafting. To grade the policy a site actually serves, run a scan instead.
Requires membership of the workspace.
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.
The Content-Security-Policy header value to review.
1 <= length <= 65536Language the findings are written in. en is English and fr is French.
"en"Value in
- "en"
- "fr"
Response Body
application/json
curl -X POST "https://example.com/v1/workspaces/string/csp/analyze" \ -H "Content-Type: application/json" \ -d '{ "csp": "default-src \'self\'; script-src \'self\' \'report-sample\' https://js.stripe.com" }'{}Export a saved scan as PDF POST
Renders one of your saved scans as a PDF report you can share. The report covers the same view of the scan as the tool it was run with.
List technologies GET
Lists the libraries detected on the website, one row per library version, with its lifecycle status, how many known vulnerabilities affect it and the highest...