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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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