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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...