Library Threats

⚠️ Breaking Changes for the Library Threats API endpoint (/api/v2/library/threats/) in 2025.1:

  • The 'thread_id' field will be renamed to 'id'
  • The 'description' field will be renamed to 'text'
  • The 'created_at' field will be renamed to 'created_date'
  • The 'updated_at' field will be renamed to 'last_updated_date'

Get All Library Threats

This endpoint retrieves a list of Library Threats.

GET /api/v2/library/threats/

GET /api/v2/library/threats/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json
{
  "results": [
    {
      "threat_id": "TH1",
      "title": "SQL Injection Threat",
      "severity": 10,
      "description": "This is the SQL Injection threat",
      "created_at": "2022-06-06T12:44:10.800931-04:00",
      "updated_at": "2022-06-06T15:02:58.440973-04:00",
      "problems": [
        "P664"
      ],
      "capecs": [
        66
      ]
    }
  ]
}

results matching ""

    No results matching ""