<?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 Create sites automatically using CloudGuard Connect REST API in SASE and Remote Access</title>
    <link>https://community.checkpoint.com/t5/SASE-and-Remote-Access/Create-sites-automatically-using-CloudGuard-Connect-REST-API/m-p/79283#M22</link>
    <description>&lt;P&gt;If you have more than 10 branch offices, you should consider automation when adding all these as Site objects to Check Point's CloudGuard Connect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check out the attached create-sites.7z below which creates random sites using API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check Point's CloudGuard Connect REST API is available at:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/api_reference/index.html" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/api_reference/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(navigate to&amp;nbsp;&lt;STRONG&gt;CloudGuard Connect API&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgc-api.png" style="width: 413px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5007iECC76D5949EABF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="cgc-api.png" alt="cgc-api.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgc-api-page.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5008iF90FF5A2853D61B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgc-api-page.png" alt="cgc-api-page.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorTomer_Sole_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Prior to making API calls, generate an API Key in order to authenticate.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Browse to Infinity Portal and navigate to &lt;STRONG&gt;GLOBAL SETTINGS &amp;gt; API Keys&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Create a new API Key.&lt;/LI&gt;
&lt;LI&gt;Product should be set to&amp;nbsp;&lt;STRONG&gt;CloudGuard Connect&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click&amp;nbsp;&lt;STRONG&gt;CREATE&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Copy the 2 GUID's that were generated.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running This script requires Python 3.7 and above.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Replace the parameters at the Login function call with the API Key that you created at your Infinity Portal account.&lt;/LI&gt;
&lt;LI&gt;Set a pre-shared key next to the "preSharedKey" part of the request dictionary.&lt;/LI&gt;
&lt;LI&gt;Run the script&lt;/LI&gt;
&lt;LI&gt;Observe the results&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Update version 1.1 of the script:&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;now supporting static or dynamic IP addresses for the sites.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sites-created.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5012i04D840CC248B6E7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="sites-created.png" alt="sites-created.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2020 18:44:25 GMT</pubDate>
    <dc:creator>Tomer_Sole</dc:creator>
    <dc:date>2020-04-02T18:44:25Z</dc:date>
    <item>
      <title>Create sites automatically using CloudGuard Connect REST API</title>
      <link>https://community.checkpoint.com/t5/SASE-and-Remote-Access/Create-sites-automatically-using-CloudGuard-Connect-REST-API/m-p/79283#M22</link>
      <description>&lt;P&gt;If you have more than 10 branch offices, you should consider automation when adding all these as Site objects to Check Point's CloudGuard Connect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check out the attached create-sites.7z below which creates random sites using API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check Point's CloudGuard Connect REST API is available at:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/api_reference/index.html" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/api_reference/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(navigate to&amp;nbsp;&lt;STRONG&gt;CloudGuard Connect API&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgc-api.png" style="width: 413px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5007iECC76D5949EABF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="cgc-api.png" alt="cgc-api.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgc-api-page.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5008iF90FF5A2853D61B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgc-api-page.png" alt="cgc-api-page.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorTomer_Sole_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Prior to making API calls, generate an API Key in order to authenticate.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Browse to Infinity Portal and navigate to &lt;STRONG&gt;GLOBAL SETTINGS &amp;gt; API Keys&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Create a new API Key.&lt;/LI&gt;
&lt;LI&gt;Product should be set to&amp;nbsp;&lt;STRONG&gt;CloudGuard Connect&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click&amp;nbsp;&lt;STRONG&gt;CREATE&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Copy the 2 GUID's that were generated.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running This script requires Python 3.7 and above.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Replace the parameters at the Login function call with the API Key that you created at your Infinity Portal account.&lt;/LI&gt;
&lt;LI&gt;Set a pre-shared key next to the "preSharedKey" part of the request dictionary.&lt;/LI&gt;
&lt;LI&gt;Run the script&lt;/LI&gt;
&lt;LI&gt;Observe the results&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Update version 1.1 of the script:&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;now supporting static or dynamic IP addresses for the sites.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sites-created.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5012i04D840CC248B6E7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="sites-created.png" alt="sites-created.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 18:44:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SASE-and-Remote-Access/Create-sites-automatically-using-CloudGuard-Connect-REST-API/m-p/79283#M22</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2020-04-02T18:44:25Z</dc:date>
    </item>
  </channel>
</rss>

