<?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: show access-rulebase limit argument issues - Me? Bug? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7685#M636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hi Andrew, thanks for raising this issue and investigating it on your own including sharing the analysis with the forum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We’re already aware of this issue, and even have a fix for it which was not released in the jumbo accumulator yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;If you would like to get this HF, please open SR or wait for the next JHF.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Oct 2017 12:33:29 GMT</pubDate>
    <dc:creator>Amiad_Stern</dc:creator>
    <dc:date>2017-10-22T12:33:29Z</dc:date>
    <item>
      <title>show access-rulebase limit argument issues - Me? Bug?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7680#M631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having some issues with setting the limit of the show access-rulebase API command.&lt;/P&gt;&lt;P&gt;I try to pull the whole rulebase (limit 500) I receive the errors below. However I did a little testing and seem to have found a "sweet spot" with the limit setting. If I request a limit of 186 or below it works fine, however if I try 187 or above it errors out. Is this a bug or is it just me? Any input would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server Details:&lt;/P&gt;&lt;P&gt;Running on Vmware&lt;/P&gt;&lt;P&gt;Version:&amp;nbsp;R80.10 take 421&lt;/P&gt;&lt;P&gt;Hotfix: Jumbo Take 42&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the errors:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;Gaia CLI&lt;/STRONG&gt;&lt;BR /&gt;FWMGMT&amp;gt; show access-rulebase name "Policy Security" limit 187&lt;BR /&gt;CLINFR0329 Invalid command:'show access-rulebase name "Niagara Security" limit 187'.&lt;/PRE&gt;&lt;PRE&gt;&lt;STRONG&gt;mgmt_cli tool&lt;/STRONG&gt; &lt;BR /&gt;.\mgmt_cli.exe show access-rulebase name "Policy Security" limit 187 -s .\id.txt&lt;BR /&gt;code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [action]. The invalid value: [73eb837e-41f1-47fb-9a27-a520f00a2a65]"&lt;/PRE&gt;&lt;PRE&gt;&lt;STRONG&gt;SmartConsole CLI&lt;/STRONG&gt;&lt;BR /&gt;show access-rulebase name "Policy Security" limit 187&lt;BR /&gt;code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [action]. The invalid value: [73eb837e-41f1-47fb-9a27-a520f00a2a65]"&lt;/PRE&gt;&lt;PRE&gt;&lt;STRONG&gt;Web Services&lt;/STRONG&gt;&lt;BR /&gt;HTTP: https://FWMGMT/web_api/show-access-rulebase&lt;BR /&gt;Request: {"name":"Policy Security","limit":"186"}&lt;BR /&gt;error: (400) Bad Request&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 17:58:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7680#M631</guid>
      <dc:creator>Andrew_Gillmore</dc:creator>
      <dc:date>2017-10-18T17:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: show access-rulebase limit argument issues - Me? Bug?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7681#M632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By chance, how much RAM does your VM have allocated to it?&lt;/P&gt;&lt;P&gt;At a minimum, I recommend 16gb.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 03:57:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7681#M632</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2017-10-19T03:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: show access-rulebase limit argument issues - Me? Bug?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7682#M633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3&gt;Update and solution:&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I continued to do some testing after my original post and have identified the root of the problem. The problem is not in the limit argument, but rather the type of rule or more specifically the action applied to the rule. I tried the "show-access-rulebase" command with a limit of 1 and an offset of 186 and this failed with the same error as before. I was not able to pull the information for rules 187 to 190, but I was fine for the remainder of the rulebase. On closer inspection I found that all 4 of these rules are the same type rule and the only rules like it in the rulebase.&amp;nbsp;&lt;SPAN&gt;These rules are all legacy "Traditional Mode" VPN rules. It seems that the API&amp;nbsp;command "breaks" when it tries to read them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of one of these&amp;nbsp;"Traditional Mode" VPN rules:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Traditional Mode VPN Rule" class="image-1 jive-image" src="/legacyfs/online/checkpoint/60172_trad rule.png" style="width: 743px; height: 45px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of these "Simplified Mode" VPN rules work fine with the API command:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Example Simplified Mode VPN rules" class="image-2 jive-image" src="/legacyfs/online/checkpoint/60175_simp rules.png" style="width: 743px; height: 86px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*Note: These examples are not "proper" rules, they are just&amp;nbsp;merely examples.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API breaks on the &lt;STRONG&gt;"Client Encrypt"&lt;/STRONG&gt; action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure that these rules "should" have been converted ages ago, so that is where I will start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps anyone else that comes across similar issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:37:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7682#M633</guid>
      <dc:creator>Andrew_Gillmore</dc:creator>
      <dc:date>2017-10-19T16:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: show access-rulebase limit argument issues - Me? Bug?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7683#M634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It only has 8GB of RAM and rarely surpasses 75%.&lt;/P&gt;&lt;P&gt;That being said, I should note that all logging is being done on a separate dedicated logging server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It turns out that my problems were around the rules themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:41:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7683#M634</guid>
      <dc:creator>Andrew_Gillmore</dc:creator>
      <dc:date>2017-10-19T16:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: show access-rulebase limit argument issues - Me? Bug?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7684#M635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's good to know, thanks for sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:42:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7684#M635</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2017-10-19T16:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: show access-rulebase limit argument issues - Me? Bug?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7685#M636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hi Andrew, thanks for raising this issue and investigating it on your own including sharing the analysis with the forum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We’re already aware of this issue, and even have a fix for it which was not released in the jumbo accumulator yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;If you would like to get this HF, please open SR or wait for the next JHF.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 12:33:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/show-access-rulebase-limit-argument-issues-Me-Bug/m-p/7685#M636</guid>
      <dc:creator>Amiad_Stern</dc:creator>
      <dc:date>2017-10-22T12:33:29Z</dc:date>
    </item>
  </channel>
</rss>

