This method can be used for the following functionality: Get details for all vulnerabilities in the library. This method can be used with optional filter.
Parameters
The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.
Headers
GET /api/ss/library HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close
Query
name (string) (optional)
Name of the vulnerability.
Example:
GET /api/ss/library?name=SQL%20Injection HTTP/1.1
belongs_to_library(string) (optional)
Library which the vulnerability writeup belongs to. Must be one of the following: Main Vulnerabilities, Imported Vulnerabilities, Project Vulnerabilities, or the key for a custom library.
Example:
GET /api/ss/library?belongs_to_library=Imported%20Vulnerabilities HTTP/1.1
reference_id (string) (optional)
Reference Id of the vulnerability in the library (15-digit number).
Example:
GET /api/ss/library?reference_id=754483619065784 HTTP/1.1
created_from (string) (optional)
Start date to query vulnerabilities from, based on creation date. Must be UTC string e.g. 2021-06-03T23:15:33.008Z.
Example:
GET /api/ss/library?created_from=2021-06-03T00:00:00.000Z HTTP/1.1
created_to (string) (optional)
End date to query vulnerabilities to, based on creation date. Must be UTC string e.g. 2021-06-03T23:15:33.008Z.
Example:
GET /api/ss/library?created_to=2021-06-03T00:00:00.000Z HTTP/1.1
q (string) (optional)
Provides options to query a custom selection of vulnerabilities.