<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Delete containers with a playbook in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541168#M591</link>
    <description>&lt;P&gt;Dear Phantom,&lt;/P&gt;&lt;P&gt;as written before, I understand what you meant. Please navigate to the first URL provided by you (&lt;A href="https://docs.splunk.com/Documentation/Phantom/4.10/PlatformAPI/RESTContainers)" target="_blank"&gt;https://docs.splunk.com/Documentation/Phantom/4.10/PlatformAPI/RESTContainers)&lt;/A&gt;&amp;nbsp;then press CTRL + F (find something in the page) then look for "DELETE": there are no results.&lt;BR /&gt;My question is: where this information (i.e. use an HTTP DELETE to achieve Container deletion) is written? Is it so obvious so that it is it left as an implicit information?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 11:13:40 GMT</pubDate>
    <dc:creator>drew19</dc:creator>
    <dc:date>2021-02-24T11:13:40Z</dc:date>
    <item>
      <title>Delete containers with a playbook</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541149#M579</link>
      <description>&lt;P&gt;Is there a way to automatically delete some containers within a playbook?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 10:20:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541149#M579</guid>
      <dc:creator>drew19</dc:creator>
      <dc:date>2021-02-24T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Delete containers with a playbook</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541155#M582</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231842"&gt;@drew19&lt;/a&gt;&amp;nbsp;yes, but you have to use REST and a HTTP DELETE request to the container endpoint (&lt;A href="https://docs.splunk.com/Documentation/Phantom/4.10/PlatformAPI/RESTContainers" target="_self"&gt;Docs link&lt;/A&gt;). If you can get a list of container ids, you can use the HTTP app with a format block before it to build a list and pass it to the HTTP app to iterate through and delete the containers.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 10:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541155#M582</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2021-02-24T10:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Delete containers with a playbook</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541161#M587</link>
      <description>&lt;P&gt;Dear Tom,&lt;/P&gt;&lt;P&gt;thank you. I understand what you are writing and I would accept it as a solution but I cannot find any reference to DELETE requests in the link provided by you. Where it is written?&lt;/P&gt;&lt;P&gt;Thank you again&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 10:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541161#M587</guid>
      <dc:creator>drew19</dc:creator>
      <dc:date>2021-02-24T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Delete containers with a playbook</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541166#M590</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231842"&gt;@drew19&lt;/a&gt;&amp;nbsp;i meant a HTTP DELETE request to the endpoint (e.g. /rest/container/100).&lt;/P&gt;&lt;P&gt;This action can be done either by using the HTTP app to interact with Phantom REST or the new phantom.build_phantom_rest_url() &amp;amp; phantom.requests() APIs (&lt;A href="https://docs.splunk.com/Documentation/Phantom/4.10/PlaybookAPI/SessionAPI" target="_self"&gt;Docs here&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 11:05:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541166#M590</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2021-02-24T11:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Delete containers with a playbook</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541168#M591</link>
      <description>&lt;P&gt;Dear Phantom,&lt;/P&gt;&lt;P&gt;as written before, I understand what you meant. Please navigate to the first URL provided by you (&lt;A href="https://docs.splunk.com/Documentation/Phantom/4.10/PlatformAPI/RESTContainers)" target="_blank"&gt;https://docs.splunk.com/Documentation/Phantom/4.10/PlatformAPI/RESTContainers)&lt;/A&gt;&amp;nbsp;then press CTRL + F (find something in the page) then look for "DELETE": there are no results.&lt;BR /&gt;My question is: where this information (i.e. use an HTTP DELETE to achieve Container deletion) is written? Is it so obvious so that it is it left as an implicit information?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 11:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541168#M591</guid>
      <dc:creator>drew19</dc:creator>
      <dc:date>2021-02-24T11:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Delete containers with a playbook</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541170#M592</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231842"&gt;@drew19&lt;/a&gt;&amp;nbsp;it's not written anywhere how to use this as it's from my exp of delivering 100's of playbooks over the last couple of years as a SOAR Solutions Architect. There is no specific walkthough on how to use this as HTTP DELETE is a standard capability which is made available to you on Phantom by using either the HTTP app or using the phantom.requests.delete() capability (similar to standard python requests lib).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not everything can be documented to the degree of a walkthrough with Phantom as there are 1000 ways to do the same thing on the platform, it's mostly personal choice/knowledge that drives how you implement something in Phantom.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would highly recommend leaving feedback on the documentation if you feel it is missing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 11:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Delete-containers-with-a-playbook/m-p/541170#M592</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2021-02-24T11:19:48Z</dc:date>
    </item>
  </channel>
</rss>

