<?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: Generic Data Center / IP addresses JSON in Cloud Firewall</title>
    <link>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167795#M582</link>
    <description>&lt;P&gt;To assist in creating a properly formatted JSON file, you can use the following command to get all the IP ranges (in CIDR format) from the website:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;curl&amp;nbsp;&lt;/SPAN&gt;&lt;A class="fui-Link ___m14voj0 f3rmtva f1ern45e f1deefiw f1n71otn f1q5o8ev f1h8hb77 f1vxd6vx f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f9n3di6 f1ids18y fygtlnl f1deo86v f12x56k7 f1iescvh ftqa4ok f50u1b5 fs3pq8b f1hghxdh f1tymzes f1x7u7e9 f1cmlufx f10aw75t fsle3fq" tabindex="-1" title="https://ip-ranges.atlassian.com" href="https://ip-ranges.atlassian.com/" target="_blank" rel="noopener noreferrer" aria-label="Link https://ip-ranges.atlassian.com"&gt;https://ip-ranges.atlassian.com&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;| jq '.items[].cidr'&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This can be part of a script that periodically generates a properly structured&amp;nbsp;JSON file that will be acceptable by the Generic Datacenter feature.&amp;nbsp;&lt;BR /&gt;Or you can likely use '.items[].cidr' as the filter when configuring the website as part of the Network Feeds feature in R81.20.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 17:23:34 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2023-01-13T17:23:34Z</dc:date>
    <item>
      <title>Generic Data Center / IP addresses JSON</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167305#M578</link>
      <description>&lt;P&gt;Working on Checkpoint Appliances&amp;nbsp;R81.10&lt;BR /&gt;OS Gaia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a security rule that will permit&amp;nbsp; from a source (frequently changing CIDR block) to an internal host on 443&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;source(&lt;A href="https://ip-ranges.atlassian.com/" target="_blank"&gt;https://ip-ranges.atlassian.com&lt;/A&gt;] destinaion (static nat ip &amp;gt; internal host] on port 443&lt;/P&gt;&lt;P&gt;The challenge I am trying to overcome is the src ip's will change frequently. Looking at the documentation there looks to be a feature that supports this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk167210" target="_blank"&gt;Generic Data Center feature (checkpoint.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However when I create the object I get an error when importing it to the rule. All it says failed to import and check the logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way to achieve this without having to manually check when the source json changes?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:25:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167305#M578</guid>
      <dc:creator>Finner1976</dc:creator>
      <dc:date>2023-01-10T15:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Data Center / IP addresses JSON</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167328#M579</link>
      <description>&lt;P&gt;Generic Datacenter Objects use the CloudGuard Controller infrastructure.&lt;BR /&gt;This implies:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The management server can reach the server hosting the JSON file (assuming you didn't specify a local file)&lt;/LI&gt;
&lt;LI&gt;You should see errors in $FWDIR/log/cloud_proxy.elg&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The specified JSON file (be it by URL or local file) must be in the format specified in &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk167210" target="_self"&gt;sk167210&lt;/A&gt;.&lt;BR /&gt;If you're using the contents of&amp;nbsp;&lt;A href="https://ip-ranges.atlassian.com" target="_blank"&gt;https://ip-ranges.atlassian.com&lt;/A&gt;&amp;nbsp;"as-is" it won't work.&lt;/P&gt;
&lt;P&gt;Which leaves you with a couple of options:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Convert this JSON file into a supported format (either an appropriately constructed JSON file or maybe a CSV to use with ioc_feeds, see &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk132193&amp;amp;partition=Basic&amp;amp;product=Anti-Virus," target="_self"&gt;sk132193&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;Upgrade to R81.20 and use the &lt;A href="https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_SecurityManagement_AdminGuide/Content/Topics-SECMG/Network_Feed.htm?Highlight=network%20feed" target="_self"&gt;Network Feed&lt;/A&gt; option, which will require creating a jq query to pull out the data we care about from the JSON file.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Having said that, given this vendor provides information in a structured format, it seems like a nice candidate for an Updatable Object.&lt;BR /&gt;Tagging&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/22913"&gt;@Micky_Michaeli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;If we end up making this an Updatable Object, you'll be able to import it into your Access Policy.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 18:09:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167328#M579</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-01-10T18:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Data Center / IP addresses JSON</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167333#M580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/84692"&gt;@Finner1976&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is exactly the reason we created Network Feed in R81.20, to provide customers the ability to use JSON feeds (or lists) in their policy easily.&lt;/P&gt;
&lt;P&gt;My recommendation is to u&lt;SPAN&gt;pgrade to R81.20 and use the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_SecurityManagement_AdminGuide/Content/Topics-SECMG/Network_Feed.htm?Highlight=network%20feed" target="_self" rel="noopener noreferrer"&gt;Network Feed&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;option.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 18:49:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167333#M580</guid>
      <dc:creator>Micky_Michaeli</dc:creator>
      <dc:date>2023-01-10T18:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Data Center / IP addresses JSON</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167339#M581</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Finner1976,&lt;BR /&gt;&lt;BR /&gt;We have created GDC objects based on JSON files, and as long as the JSON is valid and it respects the format required, you should be good.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One thing I had noticed, is that if we were to combine IPV4 with IPV6, it would fail loading and give an error, so can you look into that.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;As I looked to the file from Atlassian, its an JSON but the format is not good for importing into Checkpoint GDC.&amp;nbsp;So, can you share the process/script you're using to convert the data to JSON, or you didn't convert it .&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 19:15:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167339#M581</guid>
      <dc:creator>Sorin_Gogean</dc:creator>
      <dc:date>2023-01-10T19:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Data Center / IP addresses JSON</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167795#M582</link>
      <description>&lt;P&gt;To assist in creating a properly formatted JSON file, you can use the following command to get all the IP ranges (in CIDR format) from the website:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;curl&amp;nbsp;&lt;/SPAN&gt;&lt;A class="fui-Link ___m14voj0 f3rmtva f1ern45e f1deefiw f1n71otn f1q5o8ev f1h8hb77 f1vxd6vx f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f9n3di6 f1ids18y fygtlnl f1deo86v f12x56k7 f1iescvh ftqa4ok f50u1b5 fs3pq8b f1hghxdh f1tymzes f1x7u7e9 f1cmlufx f10aw75t fsle3fq" tabindex="-1" title="https://ip-ranges.atlassian.com" href="https://ip-ranges.atlassian.com/" target="_blank" rel="noopener noreferrer" aria-label="Link https://ip-ranges.atlassian.com"&gt;https://ip-ranges.atlassian.com&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;| jq '.items[].cidr'&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This can be part of a script that periodically generates a properly structured&amp;nbsp;JSON file that will be acceptable by the Generic Datacenter feature.&amp;nbsp;&lt;BR /&gt;Or you can likely use '.items[].cidr' as the filter when configuring the website as part of the Network Feeds feature in R81.20.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 17:23:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/Generic-Data-Center-IP-addresses-JSON/m-p/167795#M582</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-01-13T17:23:34Z</dc:date>
    </item>
  </channel>
</rss>

