<?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: Auto-Updating custom URL block list in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122394#M800</link>
    <description>&lt;P&gt;Officially supported (by TAC) scripts are in SecureKnowledge.&lt;BR /&gt;Don't think we have a comprehensive list.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 08:00:30 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2021-12-08T08:00:30Z</dc:date>
    <item>
      <title>Auto-Updating custom URL block list</title>
      <link>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122361#M798</link>
      <description>&lt;P&gt;I created this script a bit ago, but I thought it would be worth sharing.&amp;nbsp; At a high level the script:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="list-style-type: none;"&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;Runs on Check Point's GAIA (using the built in python modules)&lt;/LI&gt;
&lt;LI&gt;Downloads a list of URLs from GitHub&lt;/LI&gt;
&lt;LI&gt;Parses the URLs from the list and adds them to a custom application/site object&lt;/LI&gt;
&lt;LI&gt;Pushes policy (by default it only publishes policy, but you can uncomment the lines to install as well)&lt;/LI&gt;
&lt;LI&gt;This object can be used for dynamic allow/block lists&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 dir="auto"&gt;&lt;A id="user-content-requirements" class="anchor" href="https://github.com/aaronroseio/autoupdateurls#requirements" aria-hidden="true" target="_blank"&gt;&lt;/A&gt;Requirements&lt;/H2&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;Python 2.7 or greater&lt;/LI&gt;
&lt;LI&gt;Check lines 12 &amp;amp; 13 - be sure to download the CA bundle as instructed&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 dir="auto"&gt;&lt;A id="user-content-setup" class="anchor" href="https://github.com/aaronroseio/autoupdateurls#setup" aria-hidden="true" target="_blank"&gt;&lt;/A&gt;Setup&lt;/H2&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;Clone the Python script to your host&lt;/LI&gt;
&lt;LI&gt;Download the CA bundle (see above)&lt;/LI&gt;
&lt;LI&gt;Modify the variables:
&lt;UL dir="auto"&gt;
&lt;LI&gt;Line 15 - Add the URL of the suspicious domain list on GitHub (or similar repository) that you would like to use&lt;/LI&gt;
&lt;LI&gt;Line 17 - Change the name of the Application/Site URL object that will be created if you wish&lt;/LI&gt;
&lt;LI&gt;Line 20 - Change the domain if you're using this in a Multi-Domain environment&lt;/LI&gt;
&lt;LI&gt;Line 21 - Name of your policy package if not "Standard"&lt;/LI&gt;
&lt;LI&gt;Line 22 - Installation Targets (gateway name)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;For unattended (cron, etc.) use:
&lt;UL dir="auto"&gt;
&lt;LI&gt;Line 19 - Add your API Key&lt;/LI&gt;
&lt;LI&gt;Uncomment line 115 and comment out lines 109 - 112&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://github.com/aaronroseio/autoupdateurls" target="_blank" rel="noopener"&gt;https://github.com/aaronroseio/autoupdateurls&lt;/A&gt;&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="autoupdateurl.png" style="width: 535px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/12359i099F7ECE4E54928D/image-size/large?v=v2&amp;amp;px=999" role="button" title="autoupdateurl.png" alt="autoupdateurl.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 07:59:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122361#M798</guid>
      <dc:creator>Aaron_Rose</dc:creator>
      <dc:date>2021-12-08T07:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating custom URL block list</title>
      <link>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122375#M799</link>
      <description>&lt;P&gt;Hey Aaaron,&lt;/P&gt;
&lt;P&gt;That looks interesting...question for you. Is there an official list or sk article about scripts available for different purposes? I ask because I know TAC has official stance that scripting is not supported.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 14:59:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122375#M799</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2021-06-28T14:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating custom URL block list</title>
      <link>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122394#M800</link>
      <description>&lt;P&gt;Officially supported (by TAC) scripts are in SecureKnowledge.&lt;BR /&gt;Don't think we have a comprehensive list.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:00:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122394#M800</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-12-08T08:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating custom URL block list</title>
      <link>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122395#M801</link>
      <description>&lt;P&gt;Yes, you're correct.&amp;nbsp; TAC can't support all scripts, since many are made outside of R&amp;amp;D - so TAC would be stretched attempting to digest the technical details &amp;amp; flow of each script, and then trying to support something they aren't familiar with.&amp;nbsp; Officially supported scripts can be found in SecureKnowledge, as pointed out by&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 17:39:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/122395#M801</guid>
      <dc:creator>Aaron_Rose</dc:creator>
      <dc:date>2021-06-28T17:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating custom URL block list</title>
      <link>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/238103#M1178</link>
      <description>&lt;P&gt;Hello Aaron!&lt;BR /&gt;I have a question regarding the script that you wrote some time back.&lt;BR /&gt;I was planning on "borrowing" some code from you, if you don't mind, and I have two questions:&lt;BR /&gt;1. What is the certificate bundle used for? Is it "just" for the SSL connection when you download the "suspiciousdomains.txt" file, or does it have any use for the script?&lt;BR /&gt;My thinking is if it necessarily have to be the "cacert.pem" referenced in the script, or could it be one from a Check Point setup as well? As long as it has the CA cert chain for whatever is the server from where you download the&amp;nbsp;"suspiciousdomains.txt" file from, correct?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 16:57:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Auto-Updating-custom-URL-block-list/m-p/238103#M1178</guid>
      <dc:creator>JonasNyquist</dc:creator>
      <dc:date>2025-01-09T16:57:21Z</dc:date>
    </item>
  </channel>
</rss>

