Splunk Enterprise

Custom alert action

majemi1
New Member

i write a custom alert with bash script who send values of spl query to the hive, the script create a case on the hive but with empty fields.
alert_actions.conf:
[alert_to_thehive]
is_custom = 1
disabled = 0
label = Alert to TheHive
description = Custom alert action to send alerts to TheHive
icon_path = alert_icon.png
payload_format = json
ttl = 10
# Command to execute
alert.execute.cmd = alert_to_thehive.sh
# Arguments passed to the script
alert.execute.cmd.arg.1 = $result.Image$
alert.execute.cmd.arg.2 = $result.CommandLine$

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...