Hi,
Is it possible to prepopulate an adaptive response action's form from the notable event?
Let's say my notable event has fields:
fielda = 1234
fieldb = 5436
fieldc = 8512
And my alert_props.conf has
param.field1 = $result.fielda$
param.field2 = $result.fieldb$
param.field3 = $result.fieldc$
When someone (via Splunk Enterprise Security) does Actions->Run Adaptive Response Actions, I would expect Splunk to prepopulate the form with the values from the notable event it was selected through. Is this possible?
try it like this:
param.field1 = fielda
As far as I know this is not possible today. There are a few enhancements as have been slated for the UI portion of Adaptive Response and this is one of them. The other is for support for "dynamic input controls" which was added to Mod Alerts in 6.5
The workaround I found for this is to simply hardcode my default value's into the XML.
<input=...... value="$result.field1$"/>