GetVulnerabilityLibraryIssues
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.
Last updated
GET /api/ss/library?belongs_to_library=Imported%20Vulnerabilities HTTP/1.1GET /api/ss/library?reference_id=754483619065784 HTTP/1.1GET /api/ss/library?created_from=2021-06-03T00:00:00.000Z HTTP/1.1GET /api/ss/library?created_to=2021-06-03T00:00:00.000Z HTTP/1.1GET /api/ss/library?skip=10 HTTP/1.1GET /api/ss/library?limit=100 HTTP/1.1curl -G -X GET 'https://localhost:3000/api/ss/library' --data-urlencode 'q={title: { $eq: "SQL Injection" }}' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'curl -G -X GET 'https://localhost:3000/api/ss/library' --data-urlencode 'q={tags: { $in: "pluginID:53360" }}' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'curl -G -X GET 'https://localhost:3000/api/ss/library' --data-urlencode 'q={custom_fields.name: { $eq: "NessusID" }, custom_fields.value: { $eq: "53360" }}' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'GET /api/ss/library?cf_key_allowlist=key1&cf_key_allowlist=key2 HTTP/1.1GET /api/ss/library?cf_key_blocklist=key1&cf_key_blocklist=key2 HTTP/1.1curl -X GET 'https://demo.attackforge.com/api/ss/library?created_from=2021-06-03T00:00:00.000Z&created_to=2021-06-04T00:00:00.000Z&name=SQL%20Injection' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'{
"count": 999,
"vulnerabilities":[
{
"created": "...",
"last_modified": "...",
"reference_id": "...",
"category": "...",
"title": "...",
"description": "...",
"severity": "10",
"likelihood_of_exploitation": "10",
"priority": "Critical",
"attack_scenario": "...",
"remediation_recommendation": "...",
"impact_on_confidentiality": "High",
"impact_on_integrity": "Medium",
"impact_on_availability": "Low",
"tags": [
"..."
],
"id": "...",
"created_by": "...",
"belongs_to_library": "Imported Vulnerabilities",
"import_source": "...",
"import_source_id": "...",
"custom_fields": [
{
"key": "...",
"value": "...",
"type": "Tag/Field"
}
],
"files": [
{
"file_name": "...",
"file_name_custom": "...",
"storage_name": "...",
"file_type": "...",
"file_size": 999,
"file_size_kb": 99999
}
]
}
]
}