<?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 Filtering on show-threat-protection endpoint in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/78989#M4607</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to use&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;POST https://&amp;lt;mgmt-server&amp;gt;:&amp;lt;port&amp;gt;/web_api/v1.1/show-threat-protections&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;and wondering if there's a way I can filter on industry-reference. I tried doing something like this with no avail...&lt;/P&gt;&lt;P&gt;Body:&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt;"details-level": "full",&lt;BR /&gt;"filter": "industry-reference:CVE-2007-4676"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I also tried filter as a parameter, but that didn't seem to work either.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is it possible to filter those results?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2020 14:24:55 GMT</pubDate>
    <dc:creator>jmcadams</dc:creator>
    <dc:date>2020-03-20T14:24:55Z</dc:date>
    <item>
      <title>Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/78989#M4607</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to use&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;POST https://&amp;lt;mgmt-server&amp;gt;:&amp;lt;port&amp;gt;/web_api/v1.1/show-threat-protections&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;and wondering if there's a way I can filter on industry-reference. I tried doing something like this with no avail...&lt;/P&gt;&lt;P&gt;Body:&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt;"details-level": "full",&lt;BR /&gt;"filter": "industry-reference:CVE-2007-4676"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I also tried filter as a parameter, but that didn't seem to work either.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is it possible to filter those results?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 14:24:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/78989#M4607</guid>
      <dc:creator>jmcadams</dc:creator>
      <dc:date>2020-03-20T14:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79251#M4613</link>
      <description>&lt;P&gt;You don't need to specify industry-reference, just specify the CVE number.&lt;BR /&gt;And yes, it should work exactly the same with the API, I just use the CLI because it's quicker to test.&amp;nbsp;&lt;/P&gt;
&lt;P class="p1 lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;[Expert@Mgmt:0]# &lt;STRONG&gt;mgmt_cli -r true show threat-protections filter "CVE-2007-4676"&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;protections: &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;- uid: "8fb870f1-f93a-e748-9683-f153943522f9"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;name: "Apple QuickTime PICT Image Parsing Malformed Records"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;type: "threat-protection"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;domain: &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;name: "SMC User"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;domain-type: "domain"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;from: 1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;to: 1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;total: 1&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 02:48:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79251#M4613</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-03-23T02:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79355#M4616</link>
      <description>&lt;P&gt;Does that work with the Web API? If so, do you have an example of the payload or params I need to send?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:31:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79355#M4616</guid>
      <dc:creator>jmcadams</dc:creator>
      <dc:date>2020-03-23T13:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79416#M4620</link>
      <description>If you can do it with mgmt_cli, it can be done with the Web API.&lt;BR /&gt;You just need to change your payload to:&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;"details-level": "full",&lt;BR /&gt;"filter": "CVE-2007-4676"&lt;BR /&gt;}</description>
      <pubDate>Mon, 23 Mar 2020 21:01:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79416#M4620</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-03-23T21:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79580#M4623</link>
      <description>&lt;P&gt;I tried:&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"details-level": "full",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"filter": "CVE-2007-4676"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;But ended up with:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"generic_err_invalid_parameter_name"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Unrecognized&amp;nbsp;parameter&amp;nbsp;[filter]"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;I'm on R80.10. Was filter added in a later release?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Mar 2020 16:52:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79580#M4623</guid>
      <dc:creator>jmcadams</dc:creator>
      <dc:date>2020-03-24T16:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79602#M4624</link>
      <description>&lt;P data-unlink="true"&gt;It looks like this was added only in R80.40.&lt;BR /&gt;Note, when you look at the public documentation here:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html&lt;/A&gt;&lt;BR /&gt;It shows you the latest version of the Management API, which at this writing is R80.40 (API v1.6).&lt;BR /&gt;You can select older versions, such as v1.1, which corresponds to R80.10.&lt;BR /&gt;If you access https://your-management-ip/api_docs, you will always get the version that is specific to your installation.&lt;/P&gt;
&lt;P data-unlink="true"&gt;The only way to get the new version of the API is to upgrade your management.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 19:16:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79602#M4624</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-03-24T19:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79603#M4625</link>
      <description>&lt;P&gt;Got cha'. Thanks again for the help. Much appreciated!!!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 19:18:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/79603#M4625</guid>
      <dc:creator>jmcadams</dc:creator>
      <dc:date>2020-03-24T19:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191959#M8021</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp; I have v1.8, and still got the&amp;nbsp;"message": "Unrecognized parameter [filter]" error message, with show-tasks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please shred some light?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show-tasks-filter.jpg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/22379iB168AA00720C61FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="show-tasks-filter.jpg" alt="show-tasks-filter.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show-tasks-filter-2 (1).jpg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/22381iC9A390E828453803/image-size/medium?v=v2&amp;amp;px=400" role="button" title="show-tasks-filter-2 (1).jpg" alt="show-tasks-filter-2 (1).jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 19:38:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191959#M8021</guid>
      <dc:creator>pdn</dc:creator>
      <dc:date>2023-09-07T19:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191968#M8025</link>
      <description>&lt;P&gt;Because this API call is not structured correctly.&lt;BR /&gt;The JSON should look something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "details-level" : "full",
  "filter" : "MyFilterString"
}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Sep 2023 20:51:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191968#M8025</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-09-07T20:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191971#M8026</link>
      <description>&lt;P&gt;I actually tried many combinations, using the examples from the Checkpoint collections that I got from this forum.&amp;nbsp; No luck.&amp;nbsp; Looking like 'filter' isn't actually supported.&amp;nbsp; So documentation bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show-tasks-filter-3 (1).jpg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/22384iE4B4E17E9572C7A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="show-tasks-filter-3 (1).jpg" alt="show-tasks-filter-3 (1).jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 20:59:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191971#M8026</guid>
      <dc:creator>pdn</dc:creator>
      <dc:date>2023-09-07T20:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191976#M8027</link>
      <description>&lt;P&gt;Paging&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The "filter" option doesn't show in the v1.9 documentation for the same endpoint.&lt;BR /&gt;Further, attempts to perform a similar query on an R81.20 system give similar results.&lt;BR /&gt;Which suggests this is probably not supported and a documentation bug.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 22:26:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191976#M8027</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-09-07T22:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on show-threat-protection endpoint</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191981#M8028</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp; for confirming.&amp;nbsp; It would be nice to have it.&amp;nbsp; For now, I got my code working which gives a similar result.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 23:27:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Filtering-on-show-threat-protection-endpoint/m-p/191981#M8028</guid>
      <dc:creator>pdn</dc:creator>
      <dc:date>2023-09-07T23:27:26Z</dc:date>
    </item>
  </channel>
</rss>

