Skip to content

List responder actions#

List actions run on a Case.

Query#

GET /api/connector/cortex/action/case/{id}

With:

  • id: Case identifier

Response#

Status codes#

  • 200: if query is run successfully
  • 401: Authentication error

Response Body Example#

  [
    {
      "responderId": "25dcbbb69d50dd5a5ae4bd55f4ca5903",
      "responderName": "reponderName_1_0",
      "responderDefinition": "reponderName_1_0",
      "cortexId": "local-cortex",
      "cortexJobId": "408-unsB3SwW9-eEPXXW",
      "objectType": "Case",
      "objectId": "~25313328",
      "status": "Success",
      "startDate": 1630917246993,
      "endDate": 1630917254406,
      "operations": "[]",
      "report": "{\"summary\":{\"taxonomies\":[]},\"full\":null,\"success\":true,\"artifacts\":[],\"operations\":[],\\\"message\\\":\\\"Ok\\\",\\\"parameters\\\":{\\\"organisation\\\":\\\"StrangeBee\\\",\\\"user\\\":\\\"[email protected]\\\"},\\\"config\\\":{\\\"proxy_https\\\":null,\\\"cacerts\\\":null,\\\"check_tlp\\\":false,\\\"max_tlp\\\":2,\\\"check_pap\\\":false,\\\"max_pap\\\":2,\\\"jobTimeout\\\":30,\\\"proxy_http\\\":null}}\"}"
    }
  ]
{
  "type": "AuthenticationError",
  "message": "Authentication failure"
}

List available Responders#

Request#

To get the list of Responders available for a Case, based on its TLP and PAP, you can call the following API:

GET /api/connector/cortex/responder/case/{id}

With:

  • id: Case identifier

Response#

[
    {
        "id": "e33d63082066c739c07d2bbc199bfe7e",
        "name": "MALSPAM_Reply_to_user_1_0",
        "version": "1.0",
        "description": "Reply to user with an email. Applies on tasks",
        "dataTypeList": [
            "thehive:case",
            "thehive:case_task",
            "thehive:case_task_log"
        ],
        "cortexIds": [
            "Demo"
        ]
    }
]
{
  "type": "AuthenticationError",
  "message": "Authentication failure"
}

Last update: September 21, 2021 05:46:32