<?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: How to add multiple network objects easily for a beginner in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/119214#M5870</link>
    <description>&lt;P&gt;The add-host API call only supports adding one host at a time.&lt;BR /&gt;The add-objects-batch API call in R80.40+ supports adding more than one at a time.&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 03:43:00 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2021-05-24T03:43:00Z</dc:date>
    <item>
      <title>How to add multiple network objects easily for a beginner</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27285#M1579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add multiple network objects (more than 400). Is there a easy way of doing this.&lt;/P&gt;&lt;P&gt;I have read on checkmates about using csv file but not really sure about exact steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried postman but it only lets me add 1 host at a time.&lt;/P&gt;&lt;P&gt;We are running multi domain environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry am new to scripting/automation so please bear with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 13:41:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27285#M1579</guid>
      <dc:creator>Ravi_Dubey</dc:creator>
      <dc:date>2019-01-24T13:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple network objects easily for a beginner</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27286#M1580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using R80 you could use the management cli, create a CSV file and then from powershell remotely create the objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see:&amp;nbsp;&lt;A href="https://community.checkpoint.com/thread/1342" target="_blank"&gt;https://community.checkpoint.com/thread/1342&lt;/A&gt;&amp;nbsp; seems to have the steps you'll need to complete the task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know how you get on. &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 09:14:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27286#M1580</guid>
      <dc:creator>Mark_Mitchell</dc:creator>
      <dc:date>2019-06-21T09:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple network objects easily for a beginner</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27287#M1581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply mate, forgot to mention we are using R80.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of using mgmt._cli.....&lt;/P&gt;&lt;P&gt;To use mgmt._cli do I just have to go in expert mode on the MDM, change to relevant MDS and run the command similar to below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'courier new',courier; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;mgmt_cli add host --batch data.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 13:56:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27287#M1581</guid>
      <dc:creator>Ravi_Dubey</dc:creator>
      <dc:date>2019-01-24T13:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple network objects easily for a beginner</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27288#M1582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem at all. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah that should be it. Once the command finishes it will also publish the changes to to the database as well.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 14:33:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/27288#M1582</guid>
      <dc:creator>Mark_Mitchell</dc:creator>
      <dc:date>2019-01-24T14:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple network objects easily for a beginner</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/119146#M5863</link>
      <description>&lt;P&gt;Hey Mark,&lt;/P&gt;
&lt;P&gt;What is the way to add multiple hosts using Web API like Postman. It only gives option to add one host a time. There should be some way to add multiple hosts using Postman?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;KK&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 17:06:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/119146#M5863</guid>
      <dc:creator>KK</dc:creator>
      <dc:date>2021-05-22T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple network objects easily for a beginner</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/119175#M5865</link>
      <description>&lt;P&gt;Another cool option is to use the [relatively] new batch API option:&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/add-objects-batch~v1.7%20" target="_self"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/add-objects-batch~v1.7%20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this, you can use the mgmt_cli or Postman and pass a single JSON with many objects.&lt;/P&gt;
&lt;P&gt;Another benefit is that the server is much more efficient when handling a single batch API call with many objects, instead of a loop of multiple calls.&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 10:48:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/119175#M5865</guid>
      <dc:creator>Tomer_Noy</dc:creator>
      <dc:date>2021-05-23T10:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple network objects easily for a beginner</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/119214#M5870</link>
      <description>&lt;P&gt;The add-host API call only supports adding one host at a time.&lt;BR /&gt;The add-objects-batch API call in R80.40+ supports adding more than one at a time.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 03:43:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-add-multiple-network-objects-easily-for-a-beginner/m-p/119214#M5870</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-05-24T03:43:00Z</dc:date>
    </item>
  </channel>
</rss>

