<?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: get_incidents filter by status question in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/get-incidents-filter-by-status-question/m-p/1226092#M8204</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Ashutosh,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd be happy to open a technical CS case. I will reference this discussion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Lee&lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2025 14:13:54 GMT</pubDate>
    <dc:creator>L.Nix028859</dc:creator>
    <dc:date>2025-04-09T14:13:54Z</dc:date>
    <item>
      <title>get_incidents filter by status question</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/get-incidents-filter-by-status-question/m-p/1225609#M8180</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see the docs (&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR-REST-API/Get-all-Incidents" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR-REST-API/Get-all-Incidents&lt;/A&gt;) for get_incidents lists only eq/neq operators for the field 'status' and when implementing a new filter model for this endpoint I noticed we are successfully using the 'in' operator:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;{'field': 'status', 'operator': 'in', 'value': ['new', 'under_investigation']}
# returns incidents with either 'new' or 'under_investigation' status&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Is this officially supported?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't reproduce this affect using two filters like:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;'filters': [{'field': 'status', 'operator': 'eq', 'value': 'new'},
{'field': 'status', 'operator': 'eq', 'value': 'under_investigation'}]
# returns empty results - I suspect due to AND concatenation of the filters&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;We would like to keep strict implementations per the documentation and thus currently only accept 'eq'/'neq' operators for field: 'status'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would be the officially supported method to achieve the same results as 'status' 'in' &amp;lt;list&amp;gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I need to use 'status' 'neq' for every status except 'new' and 'under_investigation'?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 16:48:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/get-incidents-filter-by-status-question/m-p/1225609#M8180</guid>
      <dc:creator>L.Nix028859</dc:creator>
      <dc:date>2025-04-03T16:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: get_incidents filter by status question</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/get-incidents-filter-by-status-question/m-p/1226089#M8203</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1479387519"&gt;@L.Nix028859&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We need to check this with product Team. Can you please open CS case for the same? Or please reach out to Accounts Team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ashutosh&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 13:26:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/get-incidents-filter-by-status-question/m-p/1226089#M8203</guid>
      <dc:creator>aspatil</dc:creator>
      <dc:date>2025-04-09T13:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: get_incidents filter by status question</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/get-incidents-filter-by-status-question/m-p/1226092#M8204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Ashutosh,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd be happy to open a technical CS case. I will reference this discussion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Lee&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 14:13:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/get-incidents-filter-by-status-question/m-p/1226092#M8204</guid>
      <dc:creator>L.Nix028859</dc:creator>
      <dc:date>2025-04-09T14:13:54Z</dc:date>
    </item>
  </channel>
</rss>

