<?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 Filter out disabled and expired rules via API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filter-out-disabled-and-expired-rules-via-API/m-p/182849#M7761</link>
    <description>&lt;P&gt;I am querying the CMA rulesbase via API using some filters.&lt;/P&gt;&lt;P&gt;However, i am not able to filter out disabled or expired rules.&lt;/P&gt;&lt;P&gt;I can do it in code but i want to minimise number of API calls as my rulebase is pretty big.&lt;/P&gt;&lt;P&gt;please guide me how can i do using filter in API call.&lt;/P&gt;&lt;P&gt;API version : 1.7.1 and OS : R80.40&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 05:14:05 GMT</pubDate>
    <dc:creator>mahendra</dc:creator>
    <dc:date>2023-06-01T05:14:05Z</dc:date>
    <item>
      <title>Filter out disabled and expired rules via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filter-out-disabled-and-expired-rules-via-API/m-p/182849#M7761</link>
      <description>&lt;P&gt;I am querying the CMA rulesbase via API using some filters.&lt;/P&gt;&lt;P&gt;However, i am not able to filter out disabled or expired rules.&lt;/P&gt;&lt;P&gt;I can do it in code but i want to minimise number of API calls as my rulebase is pretty big.&lt;/P&gt;&lt;P&gt;please guide me how can i do using filter in API call.&lt;/P&gt;&lt;P&gt;API version : 1.7.1 and OS : R80.40&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 05:14:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filter-out-disabled-and-expired-rules-via-API/m-p/182849#M7761</guid>
      <dc:creator>mahendra</dc:creator>
      <dc:date>2023-06-01T05:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out disabled and expired rules via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filter-out-disabled-and-expired-rules-via-API/m-p/182852#M7763</link>
      <description>&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/API-command-to-get-the-disable-rule/m-p/87371/highlight/true#M4938" target="_self"&gt;Not possible&lt;/A&gt;&amp;nbsp;with pure API.&lt;BR /&gt;Alternatives:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;use additional script code&lt;/LI&gt;
&lt;LI&gt;export the rule base as CSV and filter the output&lt;/LI&gt;
&lt;LI&gt;export the rule base into &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/HowTo-Export-a-Security-Policy-to-Excel/td-p/132296" target="_self"&gt;Excel&lt;/A&gt; and filter the output&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 01 Jun 2023 06:15:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filter-out-disabled-and-expired-rules-via-API/m-p/182852#M7763</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2023-06-01T06:15:46Z</dc:date>
    </item>
  </channel>
</rss>

