Alerts API
GET /reports/<string:link>/alerts
List the alerts of a report.
Parameters:
page
(optional, default: 1): the page to start
Example request:
GET /api/reports/E8FBU53LDW8O/alerts HTTP/1.1
Host: example.com
Accept: application/json
Example response:
HTTP/1.1 200 OK
[{
"id": "a7098731-ddca-4a40-9b0e-e7f513ce76ad",
"created_at": "2021-04-01T19:40:29Z",
"cve": "CVE-2020-27223",
"details": {
"products": [],
"vendors": [
"apache"
],
"filters": [
"references"
]
}
}]
GET /reports/<string:link>/alerts/<string:id>
Get the details of an alert.
Example request:
GET /api/reports/E8FBU53LDW8O/alerts/a7098731-ddca-4a40-9b0e-e7f513ce76ad HTTP/1.1
Host: example.com
Accept: application/json
Example response:
HTTP/1.1 200 OK
[{
"cve": "CVE-2020-27223",
"type": "references",
"details": {
"changed": [],
"added": [{
"url": "https://security.netapp.com/advisory/ntap-20210401-0005/",
"name": "https://security.netapp.com/advisory/ntap-20210401-0005/",
"refsource": "CONFIRM",
"tags": []
}],
"removed": []
}
}]