Email Revision Executive Vulnerability Report
https://app.fossa.com/api/revisions/{locator}/report/executive-vulnerability/emailQueues 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
locatorstringrequiredRequest 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.
emaildownloademailsstring <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 store400BadRequestuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
403Forbidden. Returned when the organization does not have Security enabled.uuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
404NotFound. Returned when the `execVulnReport` feature flag is off, or the user cannot access the revision.uuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
500Server ErroruuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
Try this endpoint
Build a request and run it against app.fossa.com.
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/emailcurl --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.
Path params
locatorstringrequired