Splunk SOAR (f.k.a. Phantom)

How to Delete Multiple container

rsantoso_splunk
Splunk Employee
Splunk Employee

There could be tens to hundreds of containers that would like to be deleted. What is the best way to delete these?

Labels (3)
Tags (1)
0 Karma
1 Solution

rsantoso_splunk
Splunk Employee
Splunk Employee

On deleting multiple container, Please refer to the knowledge base for container deletion script:
https://my.phantom.us/kb/80/

To check if the container exists or it has removed:
Each of the Container has Container ID, so by referencing the container ID you should find whether it is still in database.

1) By URL
https://Phantom_IP_Address/rest/container/Container_ID

2) By Rest API
curl -H "Content-Type: application/json" -k -s -u username:password -X GET https://Phantom_IP_Address/rest/container/Container_ID

View solution in original post

rsantoso_splunk
Splunk Employee
Splunk Employee

On deleting multiple container, Please refer to the knowledge base for container deletion script:
https://my.phantom.us/kb/80/

To check if the container exists or it has removed:
Each of the Container has Container ID, so by referencing the container ID you should find whether it is still in database.

1) By URL
https://Phantom_IP_Address/rest/container/Container_ID

2) By Rest API
curl -H "Content-Type: application/json" -k -s -u username:password -X GET https://Phantom_IP_Address/rest/container/Container_ID

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...