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!

Developer Spotlight with Denis Gladkikh

From Splunk Engineer to Kubernetes App Builder Denis GladkikhWhat happens when a lifelong developer turns a ...

Governing Enterprise AI, Bringing Cisco Telemetry Home, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...