TheHive-Project / Cortex

Cortex: a Powerful Observable Analysis and Active Response Engine
https://thehive-project.org
GNU Affero General Public License v3.0
1.28k stars 218 forks source link

Add API to check status of several jobs #417

Closed To-om closed 2 years ago

To-om commented 2 years ago

Request Type

Enhancement

Description

The aim of this new API endpoint is to limit the number of requests sent to Cortex when several jobs has been submitted. POST /api/job/status

{
  "jobIds": ["id1", "id2", "id3", "id4"]
}

returns:

{
  "id1": "InProgress",
  "id2": "Success",
  "id3": "NotFound",
  "id4": "Error(unexpected error)"
}