<?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: Infoblox Grid Import in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Infoblox-Grid-Import/m-p/171305#M1081</link>
    <description>&lt;P&gt;Thanks for sharing !&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 19:15:57 GMT</pubDate>
    <dc:creator>Danny</dc:creator>
    <dc:date>2023-02-13T19:15:57Z</dc:date>
    <item>
      <title>Infoblox Grid Import</title>
      <link>https://community.checkpoint.com/t5/Scripts/Infoblox-Grid-Import/m-p/170283#M1075</link>
      <description>&lt;P&gt;This script searches network containers on an Infoblox Grid for networks with a given pattern in the comment, exports network addresses and comment to a csv file and creates the corresponding network objects in the Check Point database.&lt;/P&gt;&lt;P&gt;It can be run on any (Linux) system that is authorized to use REST API calls on both Infoblox and Check Point side.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is at Github:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/dj0nz/cptools/blob/main/grid-import.sh" target="_blank" rel="noopener"&gt;https://github.com/dj0nz/cptools/blob/main/grid-import.sh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Usage:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Read the documentation in the header section of the script to understand its requirements and function.&lt;/LI&gt;&lt;LI&gt;Create text files with Check Point API key and Infoblox credentials (.netrc format). Encrypt them with gpg -c and delete unencrypted versions. Adjust $&lt;SPAN&gt;CP_API_KEY_ENC and $GRID_CREDS in the script accordingly.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Set these parameters within the script according to your needs:&lt;BR /&gt;$PATTERN, $GRID_IP, $GRID_CONTAINERS, $CP_MGMT, $NET_GROUP&lt;BR /&gt;See comments in the script for explanation.&lt;/LI&gt;&lt;LI&gt;Run (the script)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Note: This program has been developed for a very special use case where source networks are always /24 and comment fields start with a country code. However, this can be reprogrammed with little effort.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 16:26:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Infoblox-Grid-Import/m-p/170283#M1075</guid>
      <dc:creator>dj0Nz</dc:creator>
      <dc:date>2023-02-03T16:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Infoblox Grid Import</title>
      <link>https://community.checkpoint.com/t5/Scripts/Infoblox-Grid-Import/m-p/171305#M1081</link>
      <description>&lt;P&gt;Thanks for sharing !&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 19:15:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Infoblox-Grid-Import/m-p/171305#M1081</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2023-02-13T19:15:57Z</dc:date>
    </item>
  </channel>
</rss>

