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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...