Skip to content

Commit

Permalink
#10 v0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Sep 20, 2021
1 parent 6d09712 commit 02d80b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
12 changes: 3 additions & 9 deletions docs/thehive/api/alert/list-observables.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ List observables of an *Alerts*.
## Query

```plain
POST /api/v1/query?name
POST /api/v0/query?name
```

## Request Body Example
Expand Down Expand Up @@ -64,24 +64,18 @@ POST /api/v1/query?name
...
{
"_id": "~11111462234",
"id": "~11111462234",
"_type": "Observable",
"_createdBy": "[email protected]",
"_createdAt": 1629309258431,
"dataType": "other",
"data": "1.2.3.4",
"startDate": 1629309258431,
"tlp": 0,
"tags": [],
"ioc": false,
"sighted": false,
"reports": {},
"message": "",
"extraData": {
"seen": {
"seen": 3,
"ioc": false
}
},
"stats": {}
}
...
]
Expand Down
12 changes: 6 additions & 6 deletions docs/thehive/api/alert/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ POST /api/v1/query?name=alerts
"_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,
Expand All @@ -81,12 +83,10 @@ POST /api/v1/query?name=alerts
"read": false,
"follow": true,
"customFields": [],
"observableCount": 16,
"extraData": {
"importDate": null,
"caseNumber": null
}
},
"caseTemplate": null,
"artifacts": [],
"similarCases": []
}
...
]
```

0 comments on commit 02d80b6

Please sign in to comment.