Email Revision Executive Vulnerability Report

posthttps://app.fossa.com/api/revisions/{locator}/report/executive-vulnerability/email

Queues the Executive Vulnerability Report for a given revision. By default it emails a download link to the requesting user, or to `emails` when given. With `delivery: download` it sends no email; once the task finishes, fetch the report from `https://<host>/attribution/{reportId}?download=true` (not under `/api`), which responds with a redirect to a short-lived signed URL.

Path parameters

locatorstringrequired

Request body · application/json

sectionsenum[]

The sections to include (default is every section). The cover is always included.

fullListSeveritiesenum[]

The severities for the All Vulnerabilities table to list (default is every severity). An empty list leaves the table out.

deliveryenum

`email` sends a download link to `emails`, or to the requesting user when `emails` is not given. `download` sends no email; fetch the report from `/attribution/{reportId}?download=true` instead.

emaildownload
emailsstring <email>[]

The addresses to email the report to. Only used with `email` delivery.

Responses

202The queued background task that will generate the report, and the identifier of the report it will store
object
400BadRequest
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

403Forbidden. Returned when the organization does not have Security enabled.
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

404NotFound. Returned when the `execVulnReport` feature flag is off, or the user cannot access the revision.
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

500Server Error
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

Try this endpoint

Build a request and run it against app.fossa.com.

Bearer

Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.

POST https://app.fossa.com/api/revisions/%7Blocator%7D/report/executive-vulnerability/email
curl --request POST \  --url 'https://app.fossa.com/api/revisions/%7Blocator%7D/report/executive-vulnerability/email' \  --header 'accept: application/json' \  --header 'authorization: Bearer YOUR_API_TOKEN' \  --header 'content-type: application/json' \  --data '{  "sections": [    "executiveSummary"  ],  "fullListSeverities": [    "critical"  ],  "delivery": "email",  "emails": [    "string"  ]}'

Real request. Mutating methods can change data.

Click Try It to run a request and see the response here.
Enter a Bearer token before running this request.

Path params

locatorstringrequired
application/json