<?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: Can &amp;quot;Firewall Policy Query&amp;quot; via R81.10 API? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152916#M6988</link>
    <description>&lt;P&gt;As was mentioned, you can achieve this only using some script.&lt;/P&gt;
&lt;P&gt;But there is something which might be helpful for you. There is command "&lt;A href="https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_CLI_ReferenceGuide/Topics-CLIG/FWG/fw-up_execute.htm?TocPath=Security%20Gateway%20Commands%7Cfw%7C_____24" target="_blank" rel="noopener"&gt;fw up_execute&lt;/A&gt;" available which can check if desired communication is matched (accept or drop).&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 17:17:06 GMT</pubDate>
    <dc:creator>JozkoMrkvicka</dc:creator>
    <dc:date>2022-07-13T17:17:06Z</dc:date>
    <item>
      <title>Can "Firewall Policy Query" via R81.10 API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152869#M6981</link>
      <description>Is there any way run a query the on the Firewall Policy Rule Base to show only selected rules in the Rule Base, according to your criteria via R81.10 API? Can it come true on R81.10 API? The client want to achieve taget very like "Firewall Policy Query" on Smartdashboard, but he want to used via API. Criteria Values Examples: source:192.168.10.1 action:(drop) You can enter one text string, such as an object's name or IP address without delimiters. In this case, SmartDashboard shows records that contain the given criteria in all relevant fields, e.g. an IP address will be searched in Source, Destination and Install On fields of rules. One string examples: CP_default_Office_Mode_addresses_pool 192.168.10.1 http IP Addresses You can enter IPv4 address using dotted decimal or CIDR notation. Examples: 192.0.2.32 192.0.2.0/24 Off course, it do not need the same feature. Simple firewall policy query is OK. Such as we can search source and destination IP and show us match policy via API is OK. THX!</description>
      <pubDate>Wed, 13 Jul 2022 09:55:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152869#M6981</guid>
      <dc:creator>Herschel_Liang</dc:creator>
      <dc:date>2022-07-13T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can "Firewall Policy Query" via R81.10 API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152874#M6983</link>
      <description>&lt;P&gt;Not with a single API call, but pretty achievable.&lt;/P&gt;
&lt;P&gt;Look into "show access-rulebase" and "show access-rule" calls. You can get the policy package and then filter JSON output by additional criteria, such as source, destination, action, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 10:32:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152874#M6983</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-07-13T10:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can "Firewall Policy Query" via R81.10 API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152881#M6986</link>
      <description>&lt;P&gt;Are there any examples for the requirement? I am not a programmer .......&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 11:48:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152881#M6986</guid>
      <dc:creator>Herschel_Liang</dc:creator>
      <dc:date>2022-07-13T11:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can "Firewall Policy Query" via R81.10 API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152896#M6987</link>
      <description>&lt;P&gt;For the mentioned API calls, look here:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-access-rulebase~v1.8%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-access-rulebase~v1.8%20&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then you will have to acquire an understanding of JSON and some scripting skills, I am afraid.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 13:09:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152896#M6987</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-07-13T13:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can "Firewall Policy Query" via R81.10 API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152916#M6988</link>
      <description>&lt;P&gt;As was mentioned, you can achieve this only using some script.&lt;/P&gt;
&lt;P&gt;But there is something which might be helpful for you. There is command "&lt;A href="https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_CLI_ReferenceGuide/Topics-CLIG/FWG/fw-up_execute.htm?TocPath=Security%20Gateway%20Commands%7Cfw%7C_____24" target="_blank" rel="noopener"&gt;fw up_execute&lt;/A&gt;" available which can check if desired communication is matched (accept or drop).&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:17:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Can-quot-Firewall-Policy-Query-quot-via-R81-10-API/m-p/152916#M6988</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2022-07-13T17:17:06Z</dc:date>
    </item>
  </channel>
</rss>

