List / Search#
List Alerts.
Query#
POST /api/v1/query?name=alerts
Request Body Example#
List last 15 alerts:
{
"query": [
{
"_name": "listAlert"
},
{
"_name": "filter",
"_field": "imported",
"_value": false
},
{
"_name": "sort",
"_fields": [
{
"date": "desc"
}
]
},
{
"_name": "page",
"from": 0,
"to": 15,
"extraData": [
"importDate",
"caseNumber"
]
}
]
}
Response#
Status codes#
200
: if query is run successfully401
: Authentication error
ResponseBody Example#
```json [ ... { "_id": "~789196976", "_type": "Alert", "_createdBy": "florian@strangebee.com", "_createdAt": 1620393156944, "status": "New", "type": "external", "source": "MISP server", "sourceRef": "event_1576", "externalLink": null, "title": "Phishing list update 7.5.2021", "description": "A curated list of phishing IOCs", "severity": 2, "date": 1620393156000, "tags": [ "source:MISP", "origin:CIRCL_LU" ], "tlp": 3, "pap": 2, "read": false, "follow": true, "customFields": [], "caseTemplate": null, "artifacts": [], "similarCases": []
} ... ] ```
Last update:
October 13, 2023 07:01:35