Skip to content
Maua.Culturewire

TheHive

SOC incident response: cases, alerts, tasks and observables

SecurityCatalog3 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • TheHive URLRequiredHTTPS URL
    • API keySecretRequired
    • OrganizationOptional

    Where to find them

    1. For TheHive 5.
    2. An organization administrator creates a “Service” type user (“Organization” → “Users” → “+”) with the minimum profile needed (e.g. read-only or analyst).
    3. On the page of the user click “Create” in the “API key” section and copy the key. With your own user: user menu → “Settings” → “API key”. The server must use https with a valid certificate.

Tools (3)

  • TheHive API requestTHEHIVE_SEND_REQUEST

    Authenticated call to the TheHive API ({url}/api/v1). Any endpoint of the API is allowed. Queries with POST /query {"query": [{"_name": "listCase"}, {"_name": "filter", "_eq": {"_field": "stage", "_value": "New"}}, {"_name": "sort", "_fields": [{"_createdAt": "desc"}]}, {"_name": "page", "from": 0, "to": 20}]} (also listAlert, listObservable; filters _and, _or, _not, _like, _in, _gte, _between…); observables of a case: [{"_name": "getCase", "idOrName": "…"}, {"_name": "observables"}] (or "tasks"). Others: GET /case/{id}, GET /alert/{id}, POST /case (creates a case), PATCH /case/{id}, POST /case/{id}/observable, POST /alert, POST /alert/{id}/case (turns it into a case).

    Required scopes

    No scopes required

    Input

    TheHive API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Recent casesTHEHIVE_LIST_CASES

    Cases from newest to oldest (number, title, severity, status, stage, TLP, tags, assignee and date), filterable by stage, minimum severity and title text.

    Required scopes

    No scopes required

    Input

    Recent cases input
    NameTypeDescription
    stagestringOne of: New, InProgress, Closed
    min_severityintegerMinimum severity: 1 low, 2 medium, 3 high, 4 critical
    textstringText contained in the title
    maxintegerDefault: 25
    offsetintegerDefault: 0
  • Recent alertsTHEHIVE_LIST_ALERTS

    Alerts from newest to oldest (title, type, source and reference, severity, status, stage, number of observables, associated case, tags and date), filterable by stage, minimum severity and title text.

    Required scopes

    No scopes required

    Input

    Recent alerts input
    NameTypeDescription
    stagestringOne of: New, InProgress, Imported, Closed
    min_severityintegerMinimum severity: 1 low, 2 medium, 3 high, 4 critical
    textstringText contained in the title
    maxintegerDefault: 25
    offsetintegerDefault: 0