<?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: filter &amp;quot;show threat-protections&amp;quot; on protection criteria in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/filter-quot-show-threat-protections-quot-on-protection-criteria/m-p/92922#M5066</link>
    <description>&lt;P&gt;Believe this is the only way.&lt;BR /&gt;What I would do is: do a bunch of calls with limit/offset to get all the threat protections into a single JSON file.&lt;BR /&gt;Then you can use jq on the offline output to filter/find the relevant protections you wish to operate on.&lt;BR /&gt;This might be faster than continually querying the API directly.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 19:05:24 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-07-30T19:05:24Z</dc:date>
    <item>
      <title>filter "show threat-protections" on protection criteria</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/filter-quot-show-threat-protections-quot-on-protection-criteria/m-p/92921#M5065</link>
      <description>&lt;P&gt;I think I know the answer to this, but wanted to throw it out there in case anyone has a solution.&lt;/P&gt;&lt;P&gt;I'd like to generate a list of threat protections based on certain criteria, such as release/update date, the follow-up flag, severity, etc. The goal is to write automation that will automatically remove staging on protections that meet specific criteria.&lt;/P&gt;&lt;P&gt;I know that this can be accomplished using "show threat-protections details-level full" with limits &amp;amp; offsets, but I'm hoping against hope that there's a more straightforward way.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 18:42:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/filter-quot-show-threat-protections-quot-on-protection-criteria/m-p/92921#M5065</guid>
      <dc:creator>khillock_px</dc:creator>
      <dc:date>2020-07-30T18:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: filter "show threat-protections" on protection criteria</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/filter-quot-show-threat-protections-quot-on-protection-criteria/m-p/92922#M5066</link>
      <description>&lt;P&gt;Believe this is the only way.&lt;BR /&gt;What I would do is: do a bunch of calls with limit/offset to get all the threat protections into a single JSON file.&lt;BR /&gt;Then you can use jq on the offline output to filter/find the relevant protections you wish to operate on.&lt;BR /&gt;This might be faster than continually querying the API directly.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 19:05:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/filter-quot-show-threat-protections-quot-on-protection-criteria/m-p/92922#M5066</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-07-30T19:05:24Z</dc:date>
    </item>
  </channel>
</rss>

