Splunk SOAR (f.k.a. Phantom)

How to upload/attach a file (vault) to a container via rest api?

rudnima7
New Member

I am looking for a rest endpoint to be able to attach the source file to the event. You can do this through the browser, and through the rest api I found an endpoint that only allows you to download the metadata of a given file. Is it possible to upload a source file via rest api?

https://docs.splunk.com/Documentation/SOAR/current/PlatformAPI/RESTVault - only GET methods for metadata, like hash, filename etc.

 

Labels (1)
0 Karma

kblaine
Explorer

I am not sure about using the rest endpoint to do it but there is a direct phantom api that allow you to add to the event called phantom.vault_add

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...