Splunk SOAR

Container UPDATE - field open_time

CMPC
Engager

Hello Everyone,

I'm trying to create a playbook that based on the message provided by the prompt action, will update the container:open_time field.

I already tried the following:

1. Use the container_update custom function where i've set in the input_json box {"custom_fields": {"open_time": prompt_1:action_result.summary.responses.0}}

2. Created a new variable called

prompt_value = container.get("prompt_1:action_result.summary.responses.1", None)

input_json = {}

input_json = {"container:open_time": prompt_value}

parameters.append({

"inpu_json": json.dumps(input_json)})

But i'm receiving the following message 

"Valid container entered but no valid container changes provided."

 

Perhaps someone has a different method to help me resolve this.

Labels (1)
0 Karma

SOARt_of_Lost
Path Finder

Is there a reason you're trying to manually change open_time? If you change from new to in progress, SOAR will set that field on its own. This also applies if you bump it back to new then change to in progress again.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...