Skip to content

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 successfully
  • 401: Authentication error

ResponseBody Example#

```json [ ... { "_id": "~789196976", "_type": "Alert", "_createdBy": "[email protected]", "_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: September 20, 2021 16:43:00