<?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: SmartTask - Restrict use of specific objects in Access Control Policy in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/111909#M81195</link>
    <description>&lt;P&gt;This worked for on a standalone setup. But it did not worked on multi domain. How can I upload the script into smart task with multi domain.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 15:18:42 GMT</pubDate>
    <dc:creator>Zahier_Madhar</dc:creator>
    <dc:date>2021-02-26T15:18:42Z</dc:date>
    <item>
      <title>SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/77835#M81188</link>
      <description>&lt;P&gt;This SmartTask allows to block usage of specific objects in source and destination fields of Access Control Policy. it intercepts the session on publish attempt ("Pre Publish" trigger) and runs a script that looks for objects defined in Custom Data field of SmartTask (see below).&lt;/P&gt;
&lt;P&gt;It can be very useful if you want to avoid rules with "Any" in source and/or destination (in this case you'll need to exclude Stealth and Cleanup rules) and restricting access to/from sensitive resources.&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="image.png" style="width: 598px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/4770i0C62D4EC0D4629BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 07:39:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/77835#M81188</guid>
      <dc:creator>Dima_M</dc:creator>
      <dc:date>2020-03-10T07:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/80607#M81189</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1249"&gt;@Dima_M&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thank you a lot for your example. It is really nice. I would like to ask you for some advice regarding my use case. Let's say that we have some highly sensitive rules. Nobody should be able to add rule above them to break their drop meaning. I was thinking tu use smart task and before publish trigger for checking of this concept.&lt;/P&gt;&lt;P&gt;Concept of checking of modified/deleted/added objects in rule base is really nice.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p collapsible"&gt;operations&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="object"&gt;&lt;SPAN class="toggle"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p collapsible"&gt;modified-objects&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="array collapsed"&gt;&lt;SPAN class="toggle"&gt;[&lt;/SPAN&gt;&lt;SPAN class="toggle-end"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;deleted-objects&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="array collapsed"&gt;&lt;SPAN class="toggle"&gt;[&lt;/SPAN&gt;&lt;SPAN class="toggle-end"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;added-objects&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="array"&gt;&lt;SPAN class="toggle"&gt;[&lt;/SPAN&gt;&lt;SPAN class="toggle-end"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN class="object"&gt;&lt;SPAN class="toggle-end"&gt;}&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p collapsible"&gt;session&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="object collapsed"&gt;&lt;SPAN class="toggle"&gt;{&lt;/SPAN&gt;&lt;SPAN class="toggle-end"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="toggle-end"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would totally be able to check if rules were edited. But during the testing I tried to move "permit any" rule above those "highly sensitive rules". I was checking parameters of publish event, and when I changed rule order and published information, the only info in JSONs was about session itself, no info about rule number change. So I have no evidence about changing of order of rules while publishing new rule base and running some smart task on it. Is this information somewhere hidden? How can I get to this information during "before publish" event?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you a lot for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="toggle"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p collapsible"&gt;session&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="object"&gt;&lt;SPAN class="toggle"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;session-uid&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="string"&gt;"104cd16c-dcbc-4749-9758-89f04d8d7c30"&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;session-name&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="string"&gt;"admin@02.04.2020"&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;user-name&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="string"&gt;"admin"&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;application&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="string"&gt;"SmartConsole"&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p collapsible"&gt;domain-info&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="object"&gt;&lt;SPAN class="toggle"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;uid&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="string"&gt;"41e821a0-3720-11e3-aa6e-0800200c9fde"&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;name&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="string"&gt;"SMC User"&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="property"&gt;"&lt;SPAN class="p"&gt;domain-type&lt;/SPAN&gt;"&lt;/SPAN&gt;:&lt;SPAN class="string"&gt;"Domain"&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN class="object"&gt;&lt;SPAN class="toggle-end"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN class="object"&gt;&lt;SPAN class="toggle-end"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="toggle-end"&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 12:57:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/80607#M81189</guid>
      <dc:creator>martinkiska</dc:creator>
      <dc:date>2020-04-02T12:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/81165#M81190</link>
      <description>&lt;P&gt;Hi Martin &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/28216"&gt;@martin&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Thanks for bring this up, looks like show-changes output displays only partial info when rules are swapped. We'll investigate it further on and update.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 16:44:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/81165#M81190</guid>
      <dc:creator>Dima_M</dc:creator>
      <dc:date>2020-04-07T16:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/95252#M81191</link>
      <description>&lt;P&gt;Tried to import this script and the maximum filesize that the GUI can import is 8Kb.&amp;nbsp; The filesize for this is 13Kb.&amp;nbsp; Why is there a limit?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 11:14:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/95252#M81191</guid>
      <dc:creator>grandpafirewall</dc:creator>
      <dc:date>2020-08-26T11:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/100777#M81192</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1860"&gt;@grandpafirewall&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How did you tried to import the smart tasks? it should be done using API, there is no way of importing smart task using GUI.&lt;/P&gt;
&lt;P&gt;I imported it with API and it worked with no problem:&lt;/P&gt;
&lt;P&gt;mgmt_cli import-smart-task file-path /home/admin/validate_rulebase_changes_on_publish.txt -r true&lt;/P&gt;
&lt;P&gt;see API documentation here:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/import-smart-task~v1.6%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/#cli/import-smart-task~v1.6%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 09:22:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/100777#M81192</guid>
      <dc:creator>Efrat</dc:creator>
      <dc:date>2020-11-01T09:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/100902#M81193</link>
      <description>&lt;P&gt;That would be the issue.&amp;nbsp; Thanks.&amp;nbsp; I eventually want to try an do this from SmartCloud.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:08:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/100902#M81193</guid>
      <dc:creator>grandpafirewall</dc:creator>
      <dc:date>2020-11-02T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/101452#M81194</link>
      <description>&lt;P&gt;You can still access the API with SmartCloud.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 03:41:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/101452#M81194</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-11-09T03:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/111909#M81195</link>
      <description>&lt;P&gt;This worked for on a standalone setup. But it did not worked on multi domain. How can I upload the script into smart task with multi domain.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:18:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/111909#M81195</guid>
      <dc:creator>Zahier_Madhar</dc:creator>
      <dc:date>2021-02-26T15:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: SmartTask - Restrict use of specific objects in Access Control Policy</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/115810#M81196</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this analyze every policy or only policies that have been changed?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 06:54:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SmartTask-Restrict-use-of-specific-objects-in-Access-Control/m-p/115810#M81196</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-04-12T06:54:10Z</dc:date>
    </item>
  </channel>
</rss>

