<?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: Verification of rules in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2896#M239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Phillip,&lt;/P&gt;&lt;P&gt;Creation and verification process of a security policy is more complex then just a trial and error approach.&lt;/P&gt;&lt;P&gt;You do not publish and verify per a single rule, you should be aware of a whole rulebase you are creating.&lt;/P&gt;&lt;P&gt;You can automate the creation process of the rulebase, publish and verify. If the&amp;nbsp;verification fails, you will need to switch to manual work in GUI and examine what went wrong.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2018 20:29:08 GMT</pubDate>
    <dc:creator>Robert_Decker</dc:creator>
    <dc:date>2018-06-08T20:29:08Z</dc:date>
    <item>
      <title>Verification of rules</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2891#M234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to verify rules that I have created. I understand that I can create rules through /add-access-rule. I also understand that Checkpoint can verify if the published rule can be installed by verifying policy (this can be done in GUI). I think it is not possible to do this function through API after reading through the API document. Would like to check on the possibility?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, would like to check&amp;nbsp; if there's no such function, is there a good practice other than dragging out the entire rule-base for a policy through /show-access-rulebase and checking against the output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My thought process now is to create a rule, verify policy and delete the rule if the verification flags error (easiest way to check).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:35:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2891#M234</guid>
      <dc:creator>Jun_Liang_Seow</dc:creator>
      <dc:date>2017-01-03T17:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Verification of rules</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2892#M235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Liang Seow,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API to verify the policy package is added to the R-80.10.&lt;/P&gt;&lt;P&gt;If it's possible it's better to wait until R-80.10 is released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Igal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 06:45:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2892#M235</guid>
      <dc:creator>Igal_Rivin</dc:creator>
      <dc:date>2017-01-04T06:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Verification of rules</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2893#M236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can policy verification be done before publishing?&amp;nbsp; For example, I have a script that adds a rule using the REST API.&amp;nbsp; I would then want to verify the policy before publishing and installing.&amp;nbsp; If verification fails, then I'd want to discard changes instead of publishing them.&amp;nbsp; Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 18:55:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2893#M236</guid>
      <dc:creator>phlrnnr</dc:creator>
      <dc:date>2018-06-07T18:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Verification of rules</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2894#M237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip,&lt;/P&gt;&lt;P&gt;No, it is not possible. Policy verification via API works the same as in the GUI - first publish, then verify.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:44:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2894#M237</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-06-07T19:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Verification of rules</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2895#M238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, then, from an automation perspective, is the recommended approach to create a new rule via API, publish it, verify the ruleset, and if verification fails remove the rule that was created and&amp;nbsp; finally re-publish?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 17:39:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2895#M238</guid>
      <dc:creator>phlrnnr</dc:creator>
      <dc:date>2018-06-08T17:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Verification of rules</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2896#M239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Phillip,&lt;/P&gt;&lt;P&gt;Creation and verification process of a security policy is more complex then just a trial and error approach.&lt;/P&gt;&lt;P&gt;You do not publish and verify per a single rule, you should be aware of a whole rulebase you are creating.&lt;/P&gt;&lt;P&gt;You can automate the creation process of the rulebase, publish and verify. If the&amp;nbsp;verification fails, you will need to switch to manual work in GUI and examine what went wrong.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 20:29:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2896#M239</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-06-08T20:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Verification of rules</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2897#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is good feedback&amp;nbsp;Phillip.&amp;nbsp;In the current releases, verifying things like "rule-hide-rule" and more are occurring post-publish. We have plans to assist on verification pre-publish in the next releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are afraid that your automation often breaks policy verification, perhaps put it in stealth mode and consider not publishing the auto-created rules, and having someone log into that session, look at the change, publish or correct them. Once you see that your tools make better changes, you could add the publish step to the automation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 05:27:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Verification-of-rules/m-p/2897#M240</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-06-10T05:27:00Z</dc:date>
    </item>
  </channel>
</rss>

