Skip to content

Download the threat register as CSV

GET
/api/models/{id}/export/threats
curl --request GET \
--url https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/export/threats \
--header 'Authorization: Bearer <token>'

One row per threat of the revision a report would use (the published one, else the current one): id, title, status, STRIDE, weakness, what it is on, likelihood, impact, rating, score, decision, controls, CWE and description. RFC 4180, UTF-8 with a byte order mark; a value a spreadsheet would take for a formula starts with a single quote.

id
required
string format: uuid

The register, a CSV file, as an attachment.

Media typetext/csv
string

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}