<?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: View all rules using web_api in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99083#M5228</link>
    <description>&lt;P&gt;Tried it, I don't get information about the different rules.&lt;BR /&gt;All I am getting is:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"packages": [&lt;BR /&gt;{&lt;BR /&gt;"uid": "&amp;lt;UID&amp;gt;",&lt;BR /&gt;"name": "Standard",&lt;BR /&gt;"type": "package",&lt;BR /&gt;"domain": {&lt;BR /&gt;"uid": "&amp;lt;UID&amp;gt;",&lt;BR /&gt;"name": "SMC User",&lt;BR /&gt;"domain-type": "domain"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"from": 1,&lt;BR /&gt;"to": 1,&lt;BR /&gt;"total": 1&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 11:24:15 GMT</pubDate>
    <dc:creator>Divothy</dc:creator>
    <dc:date>2020-10-14T11:24:15Z</dc:date>
    <item>
      <title>View all rules using web_api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99062#M5225</link>
      <description>&lt;P&gt;I've been looking how to get all policies currently on my firewall through the web API, and found the API:&amp;nbsp;web_api/show-access-rule.&lt;/P&gt;&lt;P&gt;Problem is, seems like it requires an identifier of a specific policy (uid or rule-number or name).&lt;BR /&gt;Is there a way to simply request all policies, when you don't have information about the policies currently installed?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 07:43:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99062#M5225</guid>
      <dc:creator>Divothy</dc:creator>
      <dc:date>2020-10-14T07:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: View all rules using web_api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99068#M5227</link>
      <description>&lt;P&gt;How about: show-packages&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 09:12:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99068#M5227</guid>
      <dc:creator>Andreas_Aust</dc:creator>
      <dc:date>2020-10-14T09:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: View all rules using web_api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99083#M5228</link>
      <description>&lt;P&gt;Tried it, I don't get information about the different rules.&lt;BR /&gt;All I am getting is:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"packages": [&lt;BR /&gt;{&lt;BR /&gt;"uid": "&amp;lt;UID&amp;gt;",&lt;BR /&gt;"name": "Standard",&lt;BR /&gt;"type": "package",&lt;BR /&gt;"domain": {&lt;BR /&gt;"uid": "&amp;lt;UID&amp;gt;",&lt;BR /&gt;"name": "SMC User",&lt;BR /&gt;"domain-type": "domain"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"from": 1,&lt;BR /&gt;"to": 1,&lt;BR /&gt;"total": 1&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 11:24:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99083#M5228</guid>
      <dc:creator>Divothy</dc:creator>
      <dc:date>2020-10-14T11:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: View all rules using web_api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99148#M5236</link>
      <description>&lt;P&gt;#shows acces layers&lt;/P&gt;&lt;P&gt;mgmt_cli -r true show access-layers limit 500 --format json | jq --raw-output '."access-layers"[] | (.name)'&lt;/P&gt;&lt;P&gt;# shows rulebase&lt;/P&gt;&lt;P&gt;mgmt_cli -r true show-access-rulebase name "Standard Network"&lt;/P&gt;&lt;P&gt;adapt these commands to web api&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 05:32:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/View-all-rules-using-web-api/m-p/99148#M5236</guid>
      <dc:creator>Andreas_Aust</dc:creator>
      <dc:date>2020-10-15T05:32:01Z</dc:date>
    </item>
  </channel>
</rss>

