Skip to content

Run responder#

Run a responder on a Log (requires manageAction permission).

Query#

POST /api/connector/cortex/action

Request Body Example#

{
  "responderId": "25dcbbb69d50dd5a5ae4bd55f4ca5903",
  "cortexId": "local-cortex",
  "objectType": "case_task_log",
  "objectId": "~11123"
}

The required fields are responderId, objectType and objectId.

Response#

Status codes#

  • 201: if responder is started successfully
  • 401: Authentication error
  • 403: Authorization error
  • 404: Log is not found

Response Body Example#

  {
    "responderId": "25dcbbb69d50dd5a5ae4bd55f4ca5903",
    "responderName": "reponderName_1_0",
    "responderDefinition": "reponderName_1_0",
    "cortexId": "local-cortex",
    "cortexJobId": "408-unsB3SwW9-eEPXXW",
    "objectType": "Log",
    "objectId": "~25313328",
    "status": "Waiting",
    "startDate": 1630917246993,
    "operations": "[]",
    "report": "{}"
  }
{
  "type": "AuthenticationError",
  "message": "Authentication failure"
}
{
  "type": "AuthorizationError",
  "message": "Your are not authorized to create action, you haven't the permission manageTask"
}
{
  "type": "AuthenticationError",
  "message": "Log not found"
}

Last update: September 6, 2021 11:52:26