Humio

Integration with Humio.

Analytics & SIEM · Humio

Details

IDHumio
ProviderCrowdStrike
CategoryAnalytics & SIEM
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10116658
Supported ModulesAgentix XSIAM

README

Integration with Humio

Configure Humio in Cortex

Parameter Description Required
url Humio URL True
API-key User API token True
insecure Trust any certificate (not secure) False
proxy Use system proxy settings False
queryParameter Query to use to fetch incidents False
queryRepository Fetch incidents from repository False
queryStartTime Fetch incidents from False
queryTimeZoneOffsetMinutes TimeZoneOffset in Minutes False
isFetch Fetch incidents False
incidentType Incident type False

Obtaining an API key

Go to https://your-humio/settings and copy the API token. Example https://cloud.humio.com/settings

Fetch incidents

The parameters used for fetch-incidents are only used if you want to use the fetch incidents feature. It is recommended to use alerts and notifiers in Humio to send this data to XSOAR via a webhook notifier instead. You can read more about the supported time-formats for backfilling here.

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

humio-query


Query the data from Humio

Base Command

humio-query

Input

Argument Name Description Required
repository Repository to search Required
queryString Query string to use Required
start Relative or absolute (epoch) Optional
end Relative or absolute (epoch) Optional
isLive Answer with true, 1, t, y or yes Optional
timeZoneOffsetMinutes TimeZoneOffset in Minutes (default 0) Optional
arguments Additional arguments Optional

Context Output

Path Type Description
Humio.Query Unknown Query output

Command Example

!humio-query repository=sandbox queryString="foo=bar" start=24h end=now isLive=false

Context Example

{
    "Humio": {
        "Query": [
            [
                {
                    "#repo": "sandbox_Szpj6CNb6h7eWK1ZI09D9HFk",
                    "#type": "kv",
                    "@id": "hgXrSjcMWB08aJW40hfNUONL_3_2_1588676868",
                    "@rawstring": "foo=bar bar=foo",
                    "@session": "c12af55f-069d-43eb-840f-ff08fd11f685",
                    "@timestamp": 1588676868908,
                    "@timezone": "Z",
                    "bar": "foo",
                    "foo": "bar"
                },
                {
                    "#repo": "sandbox_Szpj6CNb6h7eWK1ZI09D9HFk",
                    "#type": "kv",
                    "@id": "hgXrSjcMWB08aJW40hfNUONL_3_1_1588676850",
                    "@rawstring": "foo=bar",
                    "@session": "c12af55f-069d-43eb-840f-ff08fd11f685",
                    "@timestamp": 1588676850226,
                    "@timezone": "Z",
                    "foo": "bar"
                }
            ]
        ]
    }
}

Human Readable Output

Humio Query Results

#repo #type @id @rawstring @session @timestamp @timezone bar foo
sandbox_Szpj6CNb6h7eWK1ZI09D9HFk kv hgXrSjcMWB08aJW40hfNUONL_3_2_1588676868 foo=bar bar=foo c12af55f-069d-43eb-840f-ff08fd11f685 1588676868908 Z foo bar
sandbox_Szpj6CNb6h7eWK1ZI09D9HFk kv hgXrSjcMWB08aJW40hfNUONL_3_1_1588676850 foo=bar c12af55f-069d-43eb-840f-ff08fd11f685 1588676850226 Z   bar

humio-query-job


Issue a query job to Humio

Base Command

humio-query-job

Input

Argument Name Description Required
queryString Query string to use Required
start Relative or absolute (epoch) Optional
end Relative or absolute (epoch) Optional
repository Repository to use Required
isLive Is it live? Optional
timeZoneOffsetMinutes Timezone offset in Minutes Optional
arguments Additional Arguments Optional

Context Output

Path Type Description
Humio.Job Unknown Query Job outputs

Command Example

!humio-query-job queryString="foo=bar" repository=sandbox

Context Example

{
    "Humio": {
        "Job": {
            "id": "1-1feyl7ulm_fmWhWmLhkPkWxZ",
            "queryOnView": "<M:foo=bar>"
        }
    }
}

Human Readable Output

Humio Query Job

id queryOnView
1-1feyl7ulm_fmWhWmLhkPkWxZ <M:foo=bar>

humio-poll


Issue poll command to Humio

Base Command

humio-poll

Input

Argument Name Description Required
repository Repository to use Required
id Id to poll for Required

Context Output

Path Type Description
Humio.Result Unknown Poll results
Humio.Result.cancelled Unknown If it was cancelled
Humio.Result.events Unknown Events in the poll
Humio.Result.done Unknown If its done
Humio.Result.metaData Unknown MetaData from the poll
Humio.Result.job_id String Humio Job id the results came from

Command Example

!humio-poll repository=sandbox id=1-mJg87kWn247FiYFpsnwZcx9G

Context Example

{
    "Humio": {
        "Result": {
            "cancelled": false,
            "done": true,
            "events": [
                {
                    "#repo": "sandbox_Szpj6CNb6h7eWK1ZI09D9HFk",
                    "#type": "kv",
                    "@id": "hgXrSjcMWB08aJW40hfNUONL_3_2_1588676868",
                    "@rawstring": "foo=bar bar=foo",
                    "@session": "c12af55f-069d-43eb-840f-ff08fd11f685",
                    "@timestamp": 1588676868908,
                    "@timezone": "Z",
                    "bar": "foo",
                    "foo": "bar"
                },
                {
                    "#repo": "sandbox_Szpj6CNb6h7eWK1ZI09D9HFk",
                    "#type": "kv",
                    "@id": "hgXrSjcMWB08aJW40hfNUONL_3_1_1588676850",
                    "@rawstring": "foo=bar",
                    "@session": "c12af55f-069d-43eb-840f-ff08fd11f685",
                    "@timestamp": 1588676850226,
                    "@timezone": "Z",
                    "foo": "bar"
                }
            ],
            "job_id": "1-mJg87kWn247FiYFpsnwZcx9G",
            "metaData": {
                "eventCount": 2,
                "extraData": {
                    "hasMoreEvents": "false"
                },
                "filterQuery": {
                    "end": 1588680722272,
                    "includeDeletedEvents": false,
                    "isInteractive": false,
                    "isLive": false,
                    "noResultUntilDone": false,
                    "queryString": "foo=bar",
                    "showQueryEventDistribution": false,
                    "start": 1588594322272
                },
                "isAggregate": false,
                "pollAfter": 1000,
                "processedBytes": 704,
                "processedEvents": 6,
                "queryEnd": 1588680722272,
                "queryStart": 1588594322272,
                "resultBufferSize": 2,
                "timeMillis": 280833,
                "totalWork": 1,
                "warnings": [],
                "workDone": 1
            }
        }
    }
}

Human Readable Output

Humio Poll Result

#repo #type @id @rawstring @session @timestamp @timezone bar foo
sandbox_Szpj6CNb6h7eWK1ZI09D9HFk kv hgXrSjcMWB08aJW40hfNUONL_3_2_1588676868 foo=bar bar=foo c12af55f-069d-43eb-840f-ff08fd11f685 1588676868908 Z foo bar
sandbox_Szpj6CNb6h7eWK1ZI09D9HFk kv hgXrSjcMWB08aJW40hfNUONL_3_1_1588676850 foo=bar c12af55f-069d-43eb-840f-ff08fd11f685 1588676850226 Z   bar

humio-delete-job


Issue a job delete command to Humio

Base Command

humio-delete-job

Input

Argument Name Description Required
id ID of the job to delete Required
repository Repository to use Required

Context Output

There is no context output for this command.

Command Example

!humio-delete-job repository=sandbox id=1-mJg87kWn247FiYFpsnwZcx9G

Context Example

{}

Human Readable Output

Command executed. Status code <Response [204]>

humio-list-alerts


List alerts from Humio

Base Command

humio-list-alerts

Input

Argument Name Description Required
repository Repository to use Required

Context Output

Path Type Description
Humio.Alert.description String Description of the alert
Humio.Alert.id String The alert id
Humio.Alert.name String The alert name
Humio.Alert.notifiers String The notifiers the alert will use
Humio.Alert.query.end String the end time of the query
Humio.Alert.query.isLive Number whether or not the query is live
Humio.Alert.query.queryString String The query string being used
Humio.Alert.query.start String The start time of the query
Humio.Alert.silenced Number Whether or not the alert is enabled
Humio.Alert.throttleTimeMillis Number The throttle time for alerts

Command Example

!humio-list-alerts repository=sandbox

Context Example

{
    "Humio": {
        "Alert": [
            {
                "description": "",
                "error": "All notifications failed.",
                "id": "ArHY37FM9Z8kWxYMRknwmdR5yJwNEUgc",
                "labels": [],
                "lastAlarm": 1588680716684,
                "name": "new_alert_namme2",
                "notifiers": [
                    "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "alert=true",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 300000
            },
            {
                "description": "",
                "error": "All notifications failed.",
                "id": "zXN-qja2pm5YFKVYDnllAmK4ctQ3wiOs",
                "labels": [],
                "lastAlarm": 1588680716684,
                "name": "new_alert_name3",
                "notifiers": [
                    "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "alert=true",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 300000
            },
            {
                "description": "",
                "error": "All notifications failed.",
                "id": "dIn3uuIvY4Gz90Bt2Dn2mVtDuB11ZUl2",
                "labels": [],
                "lastAlarm": 1588680716685,
                "name": "SampleAlert",
                "notifiers": [
                    "BTkuj8QArhIFMh_L39FoN0tnyTUEXplc"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "foo=bar",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 300000
            },
            {
                "description": "new_alert",
                "error": "All notifications failed.",
                "id": "kgguoWz0KgxEwge8IQt70L33C1J83U0C",
                "labels": [
                    "label"
                ],
                "lastAlarm": 1588680716684,
                "name": "new_alert_name",
                "notifiers": [
                    "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "alert=true",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 500000
            },
            {
                "description": "description 2",
                "id": "zNVae7vz-DH7GpeQUPfx1KXMGXGg7bf7",
                "labels": [
                    "label"
                ],
                "lastAlarm": 1588677696684,
                "name": "new name",
                "notifiers": [
                    "BTkuj8QArhIFMh_L39FoN0tnyTUEXplc"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "test=true",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 500000
            },
            {
                "description": "",
                "error": "All notifications failed.",
                "id": "sFeYsP2mOJ_-CAqKt9frixFIYzXluiTB",
                "labels": [],
                "lastAlarm": 1588680716684,
                "name": "new_alert_name2",
                "notifiers": [
                    "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "alert=true",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 300000
            },
            {
                "description": "",
                "error": "All notifications failed.",
                "id": "sn82IuvTc9Vfnl45XqLWoZASIcBezvu1",
                "labels": [],
                "lastAlarm": 1588680716684,
                "name": "new_alert_name4",
                "notifiers": [
                    "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "alert=true",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 300000
            },
            {
                "description": "",
                "error": "All notifications failed.",
                "id": "ljeBta_tEvrGRRbae7MzLRiZG4NbckBm",
                "labels": [],
                "lastAlarm": 1588680716684,
                "name": "new_alert_name5",
                "notifiers": [
                    "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez"
                ],
                "query": {
                    "end": "now",
                    "isLive": true,
                    "queryString": "alert=true",
                    "start": "24h"
                },
                "silenced": false,
                "throttleTimeMillis": 300000
            }
        ]
    }
}

Human Readable Output

Humio Alerts

description error id labels lastAlarm name notifiers query silenced throttleTimeMillis
  All notifications failed. ArHY37FM9Z8kWxYMRknwmdR5yJwNEUgc   1588680716684 new_alert_namme2 AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez end: now
isLive: true
queryString: alert=true
start: 24h
false 300000
  All notifications failed. zXN-qja2pm5YFKVYDnllAmK4ctQ3wiOs   1588680716684 new_alert_name3 AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez end: now
isLive: true
queryString: alert=true
start: 24h
false 300000
  All notifications failed. dIn3uuIvY4Gz90Bt2Dn2mVtDuB11ZUl2   1588680716685 SampleAlert BTkuj8QArhIFMh_L39FoN0tnyTUEXplc end: now
isLive: true
queryString: foo=bar
start: 24h
false 300000
new_alert All notifications failed. kgguoWz0KgxEwge8IQt70L33C1J83U0C label 1588680716684 new_alert_name AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez end: now
isLive: true
queryString: alert=true
start: 24h
false 500000
description 2   zNVae7vz-DH7GpeQUPfx1KXMGXGg7bf7 label 1588677696684 new name BTkuj8QArhIFMh_L39FoN0tnyTUEXplc end: now
isLive: true
queryString: test=true
start: 24h
false 500000
  All notifications failed. sFeYsP2mOJ_-CAqKt9frixFIYzXluiTB   1588680716684 new_alert_name2 AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez end: now
isLive: true
queryString: alert=true
start: 24h
false 300000
  All notifications failed. sn82IuvTc9Vfnl45XqLWoZASIcBezvu1   1588680716684 new_alert_name4 AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez end: now
isLive: true
queryString: alert=true
start: 24h
false 300000
  All notifications failed. ljeBta_tEvrGRRbae7MzLRiZG4NbckBm   1588680716684 new_alert_name5 AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez end: now
isLive: true
queryString: alert=true
start: 24h
false 300000

humio-get-alert-by-id


list alerts by id from Humio

Base Command

humio-get-alert-by-id

Input

Argument Name Description Required
repository Repository to use Required
id Alert ID Required

Context Output

Path Type Description
Humio.Alert.description String Description of the alert
Humio.Alert.id String The alert id
Humio.Alert.name String The alert name
Humio.Alert.notifiers String The notifiers the alert will use
Humio.Alert.query.end String the end time of the query
Humio.Alert.query.isLive Number whether or not the query is live
Humio.Alert.query.queryString String The query string being used
Humio.Alert.query.start String The start time of the query
Humio.Alert.silenced Number Whether or not the alert is enabled
Humio.Alert.throttleTimeMillis Number The throttle time for alerts

Command Example

!humio-get-alert-by-id repository=sandbox id=ArHY37FM9Z8kWxYMRknwmdR5yJwNEUgc

Context Example

{
    "Humio": {
        "Alert": {
            "description": "",
            "error": "All notifications failed.",
            "id": "ArHY37FM9Z8kWxYMRknwmdR5yJwNEUgc",
            "labels": [],
            "lastAlarm": 1588680716684,
            "name": "new_alert_namme2",
            "notifiers": [
                "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez"
            ],
            "query": {
                "end": "now",
                "isLive": true,
                "queryString": "alert=true",
                "start": "24h"
            },
            "silenced": false,
            "throttleTimeMillis": 300000
        }
    }
}

Human Readable Output

Humio Alerts

error id lastAlarm name notifiers query silenced throttleTimeMillis
All notifications failed. ArHY37FM9Z8kWxYMRknwmdR5yJwNEUgc 1588680716684 new_alert_namme2 AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez end: now
isLive: true
queryString: alert=true
start: 24h
false 300000

humio-create-alert


Create an alert in Humio

Base Command

humio-create-alert

Input

Argument Name Description Required
repository Repository to use Required
name Name of the alert Required
queryString Query to use Required
start Start time, relative or epoch in ms. Optional
description Description of the alert Optional
throttleTimeMillis Time millis interval Optional
silenced Is it silenced Optional
notifiers comma-separated values of notifier IDs Required
labels comma-separated values of labels Optional

Context Output

Path Type Description
Humio.Alert.description String Description of the alert
Humio.Alert.id String The alert id
Humio.Alert.name String The alert name
Humio.Alert.notifiers String The notifiers the alert will use
Humio.Alert.query.end String the end time of the query
Humio.Alert.query.isLive Number whether or not the query is live
Humio.Alert.query.queryString String The query string being used
Humio.Alert.query.start String The start time of the query
Humio.Alert.silenced Number Whether or not the alert is enabled
Humio.Alert.throttleTimeMillis Number The throttle time for alerts

Command Example

!humio-create-alert name=SampleTestAlert notifiers=BTkuj8QArhIFMh_L39FoN0tnyTUEXplc queryString="foo=bar" repository=sandbox

Context Example

{
    "Humio": {
        "Alert": {
            "description": "",
            "id": "_LLJeuH_--APkyCVaj3NDdXPlyfAtcsB",
            "labels": [],
            "name": "SampleTestAlert",
            "notifiers": [
                "BTkuj8QArhIFMh_L39FoN0tnyTUEXplc"
            ],
            "query": {
                "end": "now",
                "isLive": true,
                "queryString": "foo=bar",
                "start": "24h"
            },
            "silenced": false,
            "throttleTimeMillis": 300000
        }
    }
}

Human Readable Output

Humio Alerts

id name notifiers query silenced throttleTimeMillis
LLJeuH–APkyCVaj3NDdXPlyfAtcsB SampleTestAlert BTkuj8QArhIFMh_L39FoN0tnyTUEXplc end: now
isLive: true
queryString: foo=bar
start: 24h
false 300000

humio-list-notifiers


List all notifiers in Humio

Base Command

humio-list-notifiers

Input

Argument Name Description Required
repository Repository to use Required

Context Output

Path Type Description
Humio.Notifier Unknown List of notifiers

Command Example

!humio-list-notifiers repository=sandbox

Context Example

{
    "Humio": {
        "Notifier": [
            {
                "entity": "WebHookNotifier",
                "id": "BTkuj8QArhIFMh_L39FoN0tnyTUEXplc",
                "name": "Null Webhook",
                "properties": {
                    "bodyTemplate": "{\n  \"repository\": \"{repo_name}\",\n  \"timestamp\": \"{alert_triggered_timestamp}\",\n  \"alert\": {\n    \"name\": \"{alert_name}\",\n    \"description\": \"{alert_description}\",\n    \"query\": {\n      \"queryString\": \"{query_string} \",\n      \"end\": \"{query_time_end}\",\n      \"start\": \"{query_time_start}\"\n    },\n    \"notifierID\": \"{alert_notifier_id}\",\n    \"id\": \"{alert_id}\",\n    \"linkURL\": \"{url}\"\n  },\n  \"warnings\": \"{warnings}\",\n  \"events\": {events},\n  \"numberOfEvents\": {event_count}\n}",
                    "headers": {
                        "Content-Type": "application/json"
                    },
                    "ignoreSSL": false,
                    "method": "POST",
                    "url": "http://localhost"
                }
            },
            {
                "entity": "WebHookNotifier",
                "id": "AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez",
                "name": "other",
                "properties": {
                    "bodyTemplate": "BODY",
                    "headers": {
                        "Content-Type": "application/json"
                    },
                    "ignoreSSL": false,
                    "method": "POST",
                    "url": "http://localhost"
                }
            }
        ]
    }
}

Human Readable Output

Humio Notifiers

entity id name properties
WebHookNotifier BTkuj8QArhIFMh_L39FoN0tnyTUEXplc Null Webhook bodyTemplate: {
“repository”: “{repo_name}”,
“timestamp”: “{alert_triggered_timestamp}”,
“alert”: {
“name”: “{alert_name}”,
“description”: “{alert_description}”,
“query”: {
“queryString”: “{query_string} “,
“end”: “{query_time_end}”,
“start”: “{query_time_start}”
},
“notifierID”: “{alert_notifier_id}”,
“id”: “{alert_id}”,
“linkURL”: “{url}”
},
“warnings”: “{warnings}”,
“events”: {events},
“numberOfEvents”: {event_count}
}
headers: {“Content-Type”: “application/json”}
ignoreSSL: false
method: POST
url: http://localhost
WebHookNotifier AQs6CuWm-uyXfYaNzwMyDGTX4S4qyAez other bodyTemplate: BODY
headers: {“Content-Type”: “application/json”}
ignoreSSL: false
method: POST
url: http://localhost

humio-delete-alert


Delete alert in Humio

Base Command

humio-delete-alert

Input

Argument Name Description Required
repository Repository to use Required
id ID of the alert to be deleted Required

Context Output

Path Type Description
Humio.Humio-delete-alert Unknown Details of the deletion

Command Example

!humio-delete-alert repository=sandbox id=dIn3uuIvY4Gz90Bt2Dn2mVtDuB11ZUl2

Context Example

{}

Human Readable Output

Command executed. Status code <Response [204]>

humio-get-notifier-by-id


Get notifier from Humio by id

Base Command

humio-get-notifier-by-id

Input

Argument Name Description Required
repository Repository to use Required
id ID to use Required

Context Output

Path Type Description
Humio.Notifier Unknown Details of the notifier

Command Example

!humio-get-notifier-by-id repository=sandbox id=BTkuj8QArhIFMh_L39FoN0tnyTUEXplc

Context Example

{
    "Humio": {
        "Notifier": {
            "entity": "WebHookNotifier",
            "id": "BTkuj8QArhIFMh_L39FoN0tnyTUEXplc",
            "name": "Null Webhook",
            "properties": {
                "bodyTemplate": "BODY",
                "headers": {
                    "Content-Type": "application/json"
                },
                "ignoreSSL": false,
                "method": "POST",
                "url": "http://localhost"
            }
        }
    }
}

Human Readable Output

Humio Notifiers

entity id name properties
WebHookNotifier BTkuj8QArhIFMh_L39FoN0tnyTUEXplc Null Webhook bodyTemplate: {
“repository”: “{repo_name}”,
“timestamp”: “{alert_triggered_timestamp}”,
“alert”: {
“name”: “{alert_name}”,
“description”: “{alert_description}”,
“query”: {
“queryString”: “{query_string} “,
“end”: “{query_time_end}”,
“start”: “{query_time_start}”
},
“notifierID”: “{alert_notifier_id}”,
“id”: “{alert_id}”,
“linkURL”: “{url}”
},
“warnings”: “{warnings}”,
“events”: {events},
“numberOfEvents”: {event_count}
}
headers: {“Content-Type”: “application/json”}
ignoreSSL: false
method: POST
url: http://localhost

Configuration parameters

  • url — Humio URL (required)
  • API-key — User API token (required)
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • queryParameter — Query to use to fetch incidents
  • queryRepository — Fetch incidents from repository
  • queryStartTime — Fetch incidents from
  • queryTimeZoneOffsetMinutes — TimeZoneOffset in Minutes
  • queryChunkSize — Query chunk size
  • isFetch — Fetch incidents
  • incidentType — Incident type
  • incidentFetchInterval — Incidents Fetch Interval

Commands (10)

  • humio-create-alert

    Create an alert in Humio

  • humio-delete-alert

    Delete alert in Humio

  • humio-delete-job

    Issue a job delete command to Humio

  • humio-get-alert-by-id

    list alerts by id from Humio

  • humio-get-notifier-by-id

    Get notifier from Humio by id

  • humio-list-alerts

    List alerts from Humio

  • humio-list-notifiers

    List all notifiers in Humio

  • humio-poll

    Issue poll command to Humio

  • humio-query

    Query the data from Humio

  • humio-query-job

    Issue a query job to Humio

commonfields:
  id: Humio
  version: -1
name: Humio
display: Humio
category: Analytics & SIEM
sectionorder:
- Connect
- Collect
provider: CrowdStrike
description: Integration with Humio.
configuration:
- display: Humio URL
  name: url
  defaultvalue: https://cloud.humio.com
  type: 0
  required: true
  section: Connect
- display: User API token
  name: API-key
  defaultvalue: ""
  type: 4
  required: true
  section: Connect
- display: Trust any certificate (not secure)
  name: insecure
  type: 8
  required: false
  section: Connect
- display: Use system proxy settings
  name: proxy
  type: 8
  required: false
  section: Connect
- display: Query to use to fetch incidents
  name: queryParameter
  defaultvalue: "*"
  type: 0
  additionalinfo: Write the query to use to fetch incidents (only used for fetch-incidents)
  required: false
  section: Collect
- display: Fetch incidents from repository
  name: queryRepository
  defaultvalue: ""
  type: 0
  additionalinfo: (only used for fetch-incidents)
  required: false
  section: Collect
- display: Fetch incidents from
  name: queryStartTime
  defaultvalue: 24h
  type: 0
  additionalinfo: (only used for fetch-incidents)
  required: false
  section: Collect
- display: TimeZoneOffset in Minutes
  name: queryTimeZoneOffsetMinutes
  defaultvalue: "0"
  type: 0
  additionalinfo: (only used for fetch-incidents)
  required: false
  section: Collect
- display: Query chunk size
  name: queryChunkSize
  defaultvalue: "50"
  type: 0
  additionalinfo: (only used for fetch-incidents)
  required: false
  section: Collect
- display: Fetch incidents
  name: isFetch
  type: 8
  required: false
  section: Collect
- display: Incident type
  name: incidentType
  type: 13
  required: false
  section: Collect
- display: Incidents Fetch Interval
  name: incidentFetchInterval
  defaultvalue: '1'
  required: false
  type: 19
  advanced: true
  section: Collect
script:
  script: ''
  type: python
  commands:
  - name: humio-query
    arguments:
    - name: repository
      required: true
      description: Repository to search.
    - name: queryString
      required: true
      description: Query string to use.
    - name: start
      description: Relative or absolute (epoch).
      defaultValue: 24h
    - name: end
      description: Relative or absolute (epoch).
      defaultValue: now
    - name: isLive
      description: Answer with true, 1, t, y or yes.
      defaultValue: "false"
    - name: timeZoneOffsetMinutes
      description: TimeZoneOffset in Minutes (default 0).
      defaultValue: "0"
    - name: arguments
      description: Additional arguments.
    outputs:
    - contextPath: Humio.Query
      description: Query output.
      type: Unknown
    description: Query the data from Humio
  - name: humio-query-job
    arguments:
    - name: queryString
      required: true
      description: Query string to use.
    - name: start
      description: Relative or absolute (epoch).
      defaultValue: 24hours
    - name: end
      description: Relative or absolute (epoch).
      defaultValue: now
    - name: repository
      required: true
      description: Repository to use.
    - name: isLive
      description: Is it live?
      defaultValue: "False"
    - name: timeZoneOffsetMinutes
      description: Timezone offset in Minutes.
      defaultValue: "0"
    - name: arguments
      description: Additional Arguments.
    outputs:
    - contextPath: Humio.Job.queryOnView
      description: Query Job query abstract syntax tree.
      type: String
    - contextPath: Humio.Job.id
      description: Query Job id.
      type: String
    description: Issue a query job to Humio
  - name: humio-poll
    arguments:
    - name: repository
      required: true
      description: Repository to use.
    - name: id
      required: true
      description: 'Id of the queryjob to poll for.'
    outputs:
    - contextPath: Humio.Result.cancelled
      description: If it was cancelled.
      type: Unknown
    - contextPath: Humio.Result.events
      description: Events in the poll.
      type: Unknown
    - contextPath: Humio.Result.done
      description: If its done.
      type: Unknown
    - contextPath: Humio.Result.metaData
      description: MetaData from the poll.
      type: Unknown
    - contextPath: Humio.Result.job_id
      description: Humio Job id the results came from.
      type: String
    description: Issue poll command to Humio
  - name: humio-delete-job
    arguments:
    - name: id
      required: true
      description: ID of the job to delete.
    - name: repository
      required: true
      description: Repository to use.
    description: Issue a job delete command to Humio
  - name: humio-list-alerts
    arguments:
    - name: repository
      required: true
      description: Repository to use.
    outputs:
    - contextPath: Humio.Alert.description
      description: Description of the alert.
      type: String
    - contextPath: Humio.Alert.id
      description: The alert id.
      type: String
    - contextPath: Humio.Alert.name
      description: The alert name.
      type: String
    - contextPath: Humio.Alert.notifiers
      description: The notifiers the alert will use.
      type: String
    - contextPath: Humio.Alert.query.end
      description: the end time of the query.
      type: String
    - contextPath: Humio.Alert.query.isLive
      description: whether or not the query is live.
      type: Number
    - contextPath: Humio.Alert.query.queryString
      description: The query string being used.
      type: String
    - contextPath: Humio.Alert.query.start
      description: The start time of the query.
      type: String
    - contextPath: Humio.Alert.silenced
      description: Whether or not the alert is enabled.
      type: Number
    - contextPath: Humio.Alert.throttleTimeMillis
      description: The throttle time for alerts.
      type: Number
    description: List alerts from Humio
  - name: humio-get-alert-by-id
    arguments:
    - name: repository
      required: true
      description: Repository to use.
    - name: id
      required: true
      description: Alert ID.
    outputs:
    - contextPath: Humio.Alert.description
      description: Description of the alert.
      type: String
    - contextPath: Humio.Alert.id
      description: The alert id.
      type: String
    - contextPath: Humio.Alert.name
      description: The alert name.
      type: String
    - contextPath: Humio.Alert.notifiers
      description: The notifiers the alert will use.
      type: String
    - contextPath: Humio.Alert.query.end
      description: the end time of the query.
      type: String
    - contextPath: Humio.Alert.query.isLive
      description: whether or not the query is live.
      type: Number
    - contextPath: Humio.Alert.query.queryString
      description: The query string being used.
      type: String
    - contextPath: Humio.Alert.query.start
      description: The start time of the query.
      type: String
    - contextPath: Humio.Alert.silenced
      description: Whether or not the alert is enabled.
      type: Number
    - contextPath: Humio.Alert.throttleTimeMillis
      description: The throttle time for alerts.
      type: Number
    description: list alerts by id from Humio
  - name: humio-create-alert
    arguments:
    - name: repository
      required: true
      description: Repository to use.
    - name: name
      required: true
      description: Name of the alert.
    - name: queryString
      required: true
      description: Query to use.
    - name: start
      defaultValue: "24h"
      description: Start time, relative or epoch in ms.
    - name: description
      description: Description of the alert.
    - name: throttleTimeMillis
      defaultValue: "300000"
      description: Time millis interval.
    - name: silenced
      description: Is it silenced.
      defaultValue: "false"
    - name: notifiers
      required: true
      description: comma-separated values of notifier IDs.
      isArray: true
    - name: labels
      description: comma-separated values of labels.
      defaultValue: ""
      isArray: true
    outputs:
    - contextPath: Humio.Alert.description
      description: Description of the alert.
      type: String
    - contextPath: Humio.Alert.id
      description: The alert id.
      type: String
    - contextPath: Humio.Alert.name
      description: The alert name.
      type: String
    - contextPath: Humio.Alert.notifiers
      description: The notifiers the alert will use.
      type: String
    - contextPath: Humio.Alert.query.end
      description: the end time of the query.
      type: String
    - contextPath: Humio.Alert.query.isLive
      description: whether or not the query is live.
      type: Number
    - contextPath: Humio.Alert.query.queryString
      description: The query string being used.
      type: String
    - contextPath: Humio.Alert.query.start
      description: The start time of the query.
      type: String
    - contextPath: Humio.Alert.silenced
      description: Whether or not the alert is enabled.
      type: Number
    - contextPath: Humio.Alert.throttleTimeMillis
      description: The throttle time for alerts.
      type: Number
    description: Create an alert in Humio
  - name: humio-list-notifiers
    arguments:
    - name: repository
      required: true
      description: Repository to use.
    outputs:
    - contextPath: Humio.Notifier.entity
      description: The type of notifier.
      type: String
    - contextPath: Humio.Notifier.id
      description: The notifier ID.
      type: String
    - contextPath: Humio.Notifier.name
      description: The notifier name.
      type: String
    - contextPath: Humio.Notifier.properties.bodyTemplate
      description: The notifier body template.
      type: String
    description: List all notifiers in Humio
  - name: humio-delete-alert
    arguments:
    - name: repository
      required: true
      description: Repository to use.
    - name: id
      required: true
      description: ID of the alert to be deleted.
    outputs:
    - contextPath: Humio.Humio-delete-alert
      description: Details of the deletion.
      type: Unknown
    description: Delete alert in Humio
  - name: humio-get-notifier-by-id
    arguments:
    - name: repository
      required: true
      description: Repository to use.
    - name: id
      required: true
      description: ID to use.
    outputs:
    - contextPath: Humio.Notifier.entity
      description: The type of notifier.
      type: String
    - contextPath: Humio.Notifier.id
      description: The notifier ID.
      type: String
    - contextPath: Humio.Notifier.name
      description: The notifier name.
      type: String
    - contextPath: Humio.Notifier.properties.bodyTemplate
      description: The notifier body template.
      type: String
    description: Get notifier from Humio by id
  dockerimage: demisto/python3:3.12.13.10116658
  isfetch: true
  subtype: python3
fromversion: 5.0.0
tests:
- No tests (auto formatted)