CentralCSP
APIScans

Export a saved scan as PDF

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.

Requires membership of the workspace.

POST
/v1/workspaces/{workspaceId}/scans/{scanId}/pdf

Authorization

AuthorizationBearer <token>

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

In: header

Path Parameters

workspaceId*string
scanId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

lang?string

Language for the text in the report.

Default"en"

Value in

  • "en"
  • "fr"

Response Body

application/pdf

curl -X POST "https://example.com/v1/workspaces/string/scans/string/pdf" \  -H "Content-Type: application/json" \  -d '{}'
"string"