Splunk SOAR

Phantom Add Artifact Error - source_data_identifier

linuts
Engager

Hello, whenever I try to add a new artifact I got the following error

phantom.act(): 'add_artifact_1' cannot be run on asset 'phantom helper'. The "add artifact" action requires the following parameters: source_data_identifier. The given parameters look like they were automatically generated by phantom.act() because an empty parameters list was passed to phantom.act(). The parameters list may have been empty because the preceding call to phantom.collect2() returned an empty list. Check your calling code in the action that generated this error

 

I presume is the container identifier, but how could I reference it in the playbook?

 

Labels (2)
0 Karma
1 Solution

phanTom
SplunkTrust
SplunkTrust

@linuts the source_data_identifier has to be set for each artifact and completely unique for each too. This may be done best by writing out the api yourself as according to the docs, a none entry for the identifier field will generate one for you, not sure why the app doesn't do it (https://docs.splunk.com/Documentation/Phantom/4.9/PlaybookAPI/ContainerAPI#add_artifact). If you set the container:id as the identifier you will be allowed to add 1 artifact to that container before you get an error as the identifier is already in use. 

View solution in original post

phanTom
SplunkTrust
SplunkTrust

@linuts the source_data_identifier has to be set for each artifact and completely unique for each too. This may be done best by writing out the api yourself as according to the docs, a none entry for the identifier field will generate one for you, not sure why the app doesn't do it (https://docs.splunk.com/Documentation/Phantom/4.9/PlaybookAPI/ContainerAPI#add_artifact). If you set the container:id as the identifier you will be allowed to add 1 artifact to that container before you get an error as the identifier is already in use. 

Get Updates on the Splunk Community!

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

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

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...