Splunk SOAR (f.k.a. Phantom)

Listing all events added to a case but not as evidence

dmw
New Member

Hey everyone

If an event is added to a case as evidence, it's simple to retrieve it while looking at the case:

Sources -> Cases -> Click on Case -> Evidence and look at Associated Events

But this is only useful if the events were added as evidence.

If they were not added as evidence, then is there a way of listing them through a case?

Thanks.

Labels (1)
0 Karma

phanTom
SplunkTrust
SplunkTrust

@dmw There is an undocumented** endpoint that shows all the mappings of cases to those attached to a case. 

/rest/case_container_map

You can query this and then look for any result with your case as the `case_container` key and each `source_container` is one that is merged, whether in evidence or not. 

**as the Endpoint is undocumented it could change at any point 

0 Karma

dmw
New Member

Thanks @phanTom , appreciate the reply. I'm relatively new to Phantom so I wonder if there is an app/plugin that could take advantage of that, although it may be problematic if the API is undocumented.

0 Karma

phanTom
SplunkTrust
SplunkTrust

@dmw you just need to be able to hit the REST API of Phantom and there are 2 ways (within Phantom) to do this:

1. Use the HTTP app 
2. Use the phantom.requests() capability and write the code out yourself in a playbook. 

Some docs to help query REST REST: https://docs.splunk.com/Documentation/SOARonprem/5.1.0/PlatformAPI/RESTQueryData 

phantom.requests() documentation: https://docs.splunk.com/Documentation/SOARonprem/5.1.0/PlaybookAPI/SessionAPI 

0 Karma
Get Updates on the Splunk Community!

Synthetic Monitoring: Not your Grandma’s Polyester! Tech Talk: DevOps Edition

Register today and join TekStream on Tuesday, February 28 at 11am PT/2pm ET for a demonstration of Splunk ...

Instrumenting Java Websocket Messaging

Instrumenting Java Websocket MessagingThis article is a code-based discussion of passing OpenTelemetry trace ...

Announcing General Availability of Splunk Incident Intelligence!

Digital transformation is real! Across industries, companies big and small are going through rapid digital ...