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!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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 ...