<?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: [REST API] How to import containers via rest api? in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-import-containers-via-rest-api/m-p/640328#M1162</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255948"&gt;@dennyw&lt;/a&gt;&amp;nbsp;I think you would be better backing up and restoring to the other system *(must be the same version). The REST call you did pulls down individual files containing the container JSON.&lt;/P&gt;&lt;P&gt;I am not aware of a way to import the .gz files via REST with the only way being the manual press of the Import button.&lt;BR /&gt;&lt;BR /&gt;You may even be better off using a script to hit REST to GET from the old and POST to the new system. You would likely need to remove container id's and source_data_identifiers before POSTing.&lt;/P&gt;&lt;P&gt;As you can see there are a few ways to do things in SOAR!&lt;/P&gt;&lt;P&gt;-- If this helped, please mark as a solution! Happy SOARing --&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 08:21:48 GMT</pubDate>
    <dc:creator>phanTom</dc:creator>
    <dc:date>2023-04-18T08:21:48Z</dc:date>
    <item>
      <title>How to import containers via rest api?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-import-containers-via-rest-api/m-p/640327#M1161</link>
      <description>&lt;P&gt;We have a need to migrate our phantom data to another instance including the containers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Though it's not listed in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SOARonprem/6.0.0/PlatformAPI/RESTContainers" target="_blank" rel="noopener"&gt;REST Containers - Splunk Documentation&lt;/A&gt;, i was able to export the containers via /rest/container/{id}/export&lt;/P&gt;
&lt;P&gt;however, i didn't find the rest endpoint for importing the containers.&lt;/P&gt;
&lt;P&gt;any advice will be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 08:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-to-import-containers-via-rest-api/m-p/640327#M1161</guid>
      <dc:creator>dennyw</dc:creator>
      <dc:date>2023-04-18T08:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: [REST API] How to import containers via rest api?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-import-containers-via-rest-api/m-p/640328#M1162</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255948"&gt;@dennyw&lt;/a&gt;&amp;nbsp;I think you would be better backing up and restoring to the other system *(must be the same version). The REST call you did pulls down individual files containing the container JSON.&lt;/P&gt;&lt;P&gt;I am not aware of a way to import the .gz files via REST with the only way being the manual press of the Import button.&lt;BR /&gt;&lt;BR /&gt;You may even be better off using a script to hit REST to GET from the old and POST to the new system. You would likely need to remove container id's and source_data_identifiers before POSTing.&lt;/P&gt;&lt;P&gt;As you can see there are a few ways to do things in SOAR!&lt;/P&gt;&lt;P&gt;-- If this helped, please mark as a solution! Happy SOARing --&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 08:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-to-import-containers-via-rest-api/m-p/640328#M1162</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2023-04-18T08:21:48Z</dc:date>
    </item>
  </channel>
</rss>

