-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d09712
commit 02d80b6
Showing
2 changed files
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ List observables of an *Alerts*. | |
## Query | ||
|
||
```plain | ||
POST /api/v1/query?name | ||
POST /api/v0/query?name | ||
``` | ||
|
||
## Request Body Example | ||
|
@@ -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": {} | ||
} | ||
... | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
@@ -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": [] | ||
} | ||
... | ||
] | ||
``` |