<?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 GDC4CDNs - Autoupdatable GenericDataCenter, Network Feed, and Dynamic Objects object for CDNs in Automation and APIs</title>
    <link>https://community.checkpoint.com/t5/Automation-and-APIs/GDC4CDNs-Autoupdatable-GenericDataCenter-Network-Feed-and/m-p/147977#M8</link>
    <description>&lt;P&gt;Combination of Python code and Github Actions (CICD pipeline/workflow) creating and updating only when needed&amp;nbsp;&lt;EM&gt;cdns.json&lt;/EM&gt; file for GenericDataCenter (R81), as well as Network Object (R81.20).&lt;/P&gt;
&lt;P&gt;Additionally, creation of Dynamic Object file, which can be executed on the GWs in question, that are using Dynamic Object of the same name (Cloudflare &amp;amp; Akamai) and have the object in use in a policy. Could be automated with your automation tool of choice like Ansible on schedule. Dynamic Objects would be useful for Check Point R77.x or R80 code.&lt;/P&gt;
&lt;P&gt;The interesting part of the project is the Github Actions CICD pipeline use with a scheduler. That way we are offloading compute and networking to Github.&lt;/P&gt;
&lt;P&gt;Both files,&amp;nbsp;&lt;EM&gt;cdns.json&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;dynamic_objects.txt&lt;/EM&gt; will be updated only when upstream input data has changed.&lt;/P&gt;
&lt;P&gt;UUID will be autogenerated when&amp;nbsp;&lt;EM&gt;cdns.json&lt;/EM&gt; files does not exist, so on the first run.&lt;/P&gt;
&lt;P&gt;Data input separation from processing code simplifies reading and understanding code. I call the input data language: CDNQL (Content Delivery Network Query Language).&lt;/P&gt;
&lt;P&gt;Additional integration with &lt;STRONG&gt;Check Point Sourceguard&lt;/STRONG&gt; for code security scan on each code change, as well as latest Check Point's acquisition of &lt;STRONG&gt;SpectralOps&lt;/STRONG&gt; to scan for any potential Secrets leak like passwords or API keys. All running as Github Actions workflow.&lt;/P&gt;
&lt;P&gt;Anybody can fork the project and run on either their own systems or the same way on Github or any other DevOps Platform like Gitlab, Azure DevOps, etc.&lt;/P&gt;
&lt;P&gt;All information on integration as GDC, Network Feed, or Dynamic Objects, including object creation over CHKP MGMT API, is all on the Github repository.&lt;/P&gt;
&lt;P&gt;The code is under MIT License:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Senas23/cp_gdc_cdns" target="_blank"&gt;https://github.com/Senas23/cp_gdc_cdns&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="logo.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16396i16E17BB1392C0433/image-size/large?v=v2&amp;amp;px=999" role="button" title="logo.png" alt="logo.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 20:31:51 GMT</pubDate>
    <dc:creator>Art_Zalenekas</dc:creator>
    <dc:date>2022-05-05T20:31:51Z</dc:date>
    <item>
      <title>GDC4CDNs - Autoupdatable GenericDataCenter, Network Feed, and Dynamic Objects object for CDNs</title>
      <link>https://community.checkpoint.com/t5/Automation-and-APIs/GDC4CDNs-Autoupdatable-GenericDataCenter-Network-Feed-and/m-p/147977#M8</link>
      <description>&lt;P&gt;Combination of Python code and Github Actions (CICD pipeline/workflow) creating and updating only when needed&amp;nbsp;&lt;EM&gt;cdns.json&lt;/EM&gt; file for GenericDataCenter (R81), as well as Network Object (R81.20).&lt;/P&gt;
&lt;P&gt;Additionally, creation of Dynamic Object file, which can be executed on the GWs in question, that are using Dynamic Object of the same name (Cloudflare &amp;amp; Akamai) and have the object in use in a policy. Could be automated with your automation tool of choice like Ansible on schedule. Dynamic Objects would be useful for Check Point R77.x or R80 code.&lt;/P&gt;
&lt;P&gt;The interesting part of the project is the Github Actions CICD pipeline use with a scheduler. That way we are offloading compute and networking to Github.&lt;/P&gt;
&lt;P&gt;Both files,&amp;nbsp;&lt;EM&gt;cdns.json&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;dynamic_objects.txt&lt;/EM&gt; will be updated only when upstream input data has changed.&lt;/P&gt;
&lt;P&gt;UUID will be autogenerated when&amp;nbsp;&lt;EM&gt;cdns.json&lt;/EM&gt; files does not exist, so on the first run.&lt;/P&gt;
&lt;P&gt;Data input separation from processing code simplifies reading and understanding code. I call the input data language: CDNQL (Content Delivery Network Query Language).&lt;/P&gt;
&lt;P&gt;Additional integration with &lt;STRONG&gt;Check Point Sourceguard&lt;/STRONG&gt; for code security scan on each code change, as well as latest Check Point's acquisition of &lt;STRONG&gt;SpectralOps&lt;/STRONG&gt; to scan for any potential Secrets leak like passwords or API keys. All running as Github Actions workflow.&lt;/P&gt;
&lt;P&gt;Anybody can fork the project and run on either their own systems or the same way on Github or any other DevOps Platform like Gitlab, Azure DevOps, etc.&lt;/P&gt;
&lt;P&gt;All information on integration as GDC, Network Feed, or Dynamic Objects, including object creation over CHKP MGMT API, is all on the Github repository.&lt;/P&gt;
&lt;P&gt;The code is under MIT License:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Senas23/cp_gdc_cdns" target="_blank"&gt;https://github.com/Senas23/cp_gdc_cdns&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="logo.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16396i16E17BB1392C0433/image-size/large?v=v2&amp;amp;px=999" role="button" title="logo.png" alt="logo.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 20:31:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Automation-and-APIs/GDC4CDNs-Autoupdatable-GenericDataCenter-Network-Feed-and/m-p/147977#M8</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2022-05-05T20:31:51Z</dc:date>
    </item>
  </channel>
</rss>

