<?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 mgmt show access-rulebase name &amp;quot;xyz Security&amp;quot; in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-show-access-rulebase-name-quot-xyz-Security-quot/m-p/95366#M5137</link>
    <description>&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I Need some help with the API:&lt;/P&gt;&lt;P&gt;Requirement is to set all rules with more than 1M hits from log to accounting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately "mgmt show access-rulebase name "xyz Security"" is not listing any Information About the hit counter.&lt;/P&gt;&lt;P&gt;Is there any way to get the hit counter of a rule?&amp;nbsp;Either it is not possible or I missed something in the API reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uid: "335b54af-69a2-457c-8228-991c6e446dd5"&lt;BR /&gt;type: "access-rule"&lt;BR /&gt;domain:&lt;BR /&gt;uid: "79b7b0fb-cc2f-be47-ae78-62e5e045cbb3"&lt;BR /&gt;name: "XYZ"&lt;BR /&gt;domain-type: "domain"&lt;BR /&gt;rule-number: 30&lt;BR /&gt;track:&lt;BR /&gt;type: "598ead32-aa42-4615-90ed-f51a5928d41d"&lt;BR /&gt;per-session: false&lt;BR /&gt;per-connection: true&lt;BR /&gt;accounting: false&lt;BR /&gt;enable-firewall-session: false&lt;BR /&gt;alert: "none"&lt;BR /&gt;source:&lt;BR /&gt;- "a413e153-b77b-11d7-6f29-449bbe696e21"&lt;BR /&gt;source-negate: false&lt;BR /&gt;destination:&lt;BR /&gt;- "047f117f-daea-407e-8c87-cca06f1eb4a0"&lt;BR /&gt;destination-negate: false&lt;BR /&gt;service:&lt;BR /&gt;- "97aeb3e0-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "97aeb3b2-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "97aeb3bd-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "97aeb3d0-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "7c6a350e-d770-4f72-ad8f-b47a5082a9db"&lt;BR /&gt;- "97aeb443-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "089b3d4d-ba06-4a91-8146-73542e8a258e"&lt;BR /&gt;- "569a7113-b47a-7443-9cbf-4128abc8968c"&lt;BR /&gt;- "f21e8897-0e71-db4a-8330-dcd8995ca5ff"&lt;BR /&gt;service-negate: false&lt;BR /&gt;vpn:&lt;BR /&gt;- "97aeb369-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;action: "6c488338-8eec-4103-ad21-cd461ac2c472"&lt;BR /&gt;action-settings:&lt;BR /&gt;enable-identity-captive-portal: false&lt;BR /&gt;content:&lt;BR /&gt;- "97aeb369-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;content-negate: false&lt;BR /&gt;content-direction: "any"&lt;BR /&gt;time:&lt;BR /&gt;- "97aeb369-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;custom-fields:&lt;BR /&gt;field-1: ""&lt;BR /&gt;field-2: ""&lt;BR /&gt;field-3: ""&lt;BR /&gt;meta-info:&lt;BR /&gt;lock: "unlocked"&lt;BR /&gt;validation-state: "ok"&lt;BR /&gt;last-modify-time:&lt;BR /&gt;posix: 1573648121952&lt;BR /&gt;iso-8601: "2019-11-13T13:28+0100"&lt;BR /&gt;last-modifier: "admin"&lt;BR /&gt;creation-time:&lt;BR /&gt;posix: 1573648121730&lt;BR /&gt;iso-8601: "2019-11-13T13:28+0100"&lt;BR /&gt;creator: "admin"&lt;BR /&gt;comments: ""&lt;BR /&gt;enabled: true&lt;BR /&gt;install-on:&lt;BR /&gt;- "6c488338-8eec-4103-ad21-cd461ac2c476"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Morris&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 09:58:49 GMT</pubDate>
    <dc:creator>morris</dc:creator>
    <dc:date>2020-08-27T09:58:49Z</dc:date>
    <item>
      <title>mgmt show access-rulebase name "xyz Security"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-show-access-rulebase-name-quot-xyz-Security-quot/m-p/95366#M5137</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I Need some help with the API:&lt;/P&gt;&lt;P&gt;Requirement is to set all rules with more than 1M hits from log to accounting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately "mgmt show access-rulebase name "xyz Security"" is not listing any Information About the hit counter.&lt;/P&gt;&lt;P&gt;Is there any way to get the hit counter of a rule?&amp;nbsp;Either it is not possible or I missed something in the API reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uid: "335b54af-69a2-457c-8228-991c6e446dd5"&lt;BR /&gt;type: "access-rule"&lt;BR /&gt;domain:&lt;BR /&gt;uid: "79b7b0fb-cc2f-be47-ae78-62e5e045cbb3"&lt;BR /&gt;name: "XYZ"&lt;BR /&gt;domain-type: "domain"&lt;BR /&gt;rule-number: 30&lt;BR /&gt;track:&lt;BR /&gt;type: "598ead32-aa42-4615-90ed-f51a5928d41d"&lt;BR /&gt;per-session: false&lt;BR /&gt;per-connection: true&lt;BR /&gt;accounting: false&lt;BR /&gt;enable-firewall-session: false&lt;BR /&gt;alert: "none"&lt;BR /&gt;source:&lt;BR /&gt;- "a413e153-b77b-11d7-6f29-449bbe696e21"&lt;BR /&gt;source-negate: false&lt;BR /&gt;destination:&lt;BR /&gt;- "047f117f-daea-407e-8c87-cca06f1eb4a0"&lt;BR /&gt;destination-negate: false&lt;BR /&gt;service:&lt;BR /&gt;- "97aeb3e0-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "97aeb3b2-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "97aeb3bd-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "97aeb3d0-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "7c6a350e-d770-4f72-ad8f-b47a5082a9db"&lt;BR /&gt;- "97aeb443-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;- "089b3d4d-ba06-4a91-8146-73542e8a258e"&lt;BR /&gt;- "569a7113-b47a-7443-9cbf-4128abc8968c"&lt;BR /&gt;- "f21e8897-0e71-db4a-8330-dcd8995ca5ff"&lt;BR /&gt;service-negate: false&lt;BR /&gt;vpn:&lt;BR /&gt;- "97aeb369-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;action: "6c488338-8eec-4103-ad21-cd461ac2c472"&lt;BR /&gt;action-settings:&lt;BR /&gt;enable-identity-captive-portal: false&lt;BR /&gt;content:&lt;BR /&gt;- "97aeb369-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;content-negate: false&lt;BR /&gt;content-direction: "any"&lt;BR /&gt;time:&lt;BR /&gt;- "97aeb369-9aea-11d5-bd16-0090272ccb30"&lt;BR /&gt;custom-fields:&lt;BR /&gt;field-1: ""&lt;BR /&gt;field-2: ""&lt;BR /&gt;field-3: ""&lt;BR /&gt;meta-info:&lt;BR /&gt;lock: "unlocked"&lt;BR /&gt;validation-state: "ok"&lt;BR /&gt;last-modify-time:&lt;BR /&gt;posix: 1573648121952&lt;BR /&gt;iso-8601: "2019-11-13T13:28+0100"&lt;BR /&gt;last-modifier: "admin"&lt;BR /&gt;creation-time:&lt;BR /&gt;posix: 1573648121730&lt;BR /&gt;iso-8601: "2019-11-13T13:28+0100"&lt;BR /&gt;creator: "admin"&lt;BR /&gt;comments: ""&lt;BR /&gt;enabled: true&lt;BR /&gt;install-on:&lt;BR /&gt;- "6c488338-8eec-4103-ad21-cd461ac2c476"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Morris&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 09:58:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-show-access-rulebase-name-quot-xyz-Security-quot/m-p/95366#M5137</guid>
      <dc:creator>morris</dc:creator>
      <dc:date>2020-08-27T09:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt show access-rulebase name "xyz Security"</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-show-access-rulebase-name-quot-xyz-Security-quot/m-p/95368#M5138</link>
      <description>&lt;P&gt;Hey Morris,&lt;/P&gt;&lt;P&gt;The "show access-rulebase" command actually has a specific parameter that displays the hitcount per rule.&lt;/P&gt;&lt;P&gt;Just add "&lt;SPAN class="blue"&gt;show-hits&lt;/SPAN&gt; true" to your command and you should be able to see the expected results.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Maik&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 10:19:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-show-access-rulebase-name-quot-xyz-Security-quot/m-p/95368#M5138</guid>
      <dc:creator>Maik</dc:creator>
      <dc:date>2020-08-27T10:19:41Z</dc:date>
    </item>
  </channel>
</rss>

