<?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: Available operator values for  Alerts API Filter? in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/available-operator-values-for-alerts-api-filter/m-p/599106#M1302</link>
    <description>&lt;P&gt;Thanks so much for the help!&amp;nbsp; It's ugly, as I have a large number of&amp;nbsp;&lt;SPAN&gt;cloud.accountIds I need to filter on,&lt;/SPAN&gt;&amp;nbsp; but it works!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 17:32:59 GMT</pubDate>
    <dc:creator>gerald.f.kelly</dc:creator>
    <dc:date>2024-09-30T17:32:59Z</dc:date>
    <item>
      <title>Available operator values for  Alerts API Filter?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/available-operator-values-for-alerts-api-filter/m-p/598908#M1299</link>
      <description>&lt;P&gt;I'd like to submit an Alerts API request as documented here&lt;BR /&gt;&lt;A href="https://pan.dev/prisma-cloud/api/cspm/submit-an-alert-csv-download-job/" target="_blank"&gt;https://pan.dev/prisma-cloud/api/cspm/submit-an-alert-csv-download-job/&lt;/A&gt;&lt;BR /&gt;but I'd like to filter it by just certain&amp;nbsp;&lt;SPAN&gt;cloud.accountId values.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;The filters documentation at&amp;nbsp;&lt;A href="https://pan.dev/prisma-cloud/api/cspm/get-alert-filter-and-options/" target="_blank"&gt;https://pan.dev/prisma-cloud/api/cspm/get-alert-filter-and-options/&lt;/A&gt;&amp;nbsp;list the fields available to filter on but&amp;nbsp; there is no list of supported operators other that "=" and there doesn't seem to be any general API documentation of supported operators either.&lt;BR /&gt;I've tried "operator": "IN" and "operator": "in" and "operator": "contains"&amp;nbsp; followed by "value": "('accountA', accountB', 'account')"&amp;nbsp; &amp;nbsp;to no avail.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Is this possible or is "=" the only operator supported in Alerts Filters?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 22:00:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/available-operator-values-for-alerts-api-filter/m-p/598908#M1299</guid>
      <dc:creator>gerald.f.kelly</dc:creator>
      <dc:date>2024-09-26T22:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Available operator values for  Alerts API Filter?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/available-operator-values-for-alerts-api-filter/m-p/598997#M1300</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;The documentation does state that '=' is a valid operator to use.&amp;nbsp; We would have to look into whether or not alternative operators would work with the API call used to&amp;nbsp;Submit Alert CSV Generation Job.&amp;nbsp; Can you please try passing the following in the body of your request?&amp;nbsp; Please insert valid account ids and other aspects of the body as needed.&lt;FONT face="times new roman,times"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;BR /&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"filters"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"cloud.accountId"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&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AN&gt;"="&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"value"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"12345"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Please confirm if this works for you.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 15:53:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/available-operator-values-for-alerts-api-filter/m-p/598997#M1300</guid>
      <dc:creator>ACurran2</dc:creator>
      <dc:date>2024-09-27T15:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Available operator values for  Alerts API Filter?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/available-operator-values-for-alerts-api-filter/m-p/599106#M1302</link>
      <description>&lt;P&gt;Thanks so much for the help!&amp;nbsp; It's ugly, as I have a large number of&amp;nbsp;&lt;SPAN&gt;cloud.accountIds I need to filter on,&lt;/SPAN&gt;&amp;nbsp; but it works!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 17:32:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/available-operator-values-for-alerts-api-filter/m-p/599106#M1302</guid>
      <dc:creator>gerald.f.kelly</dc:creator>
      <dc:date>2024-09-30T17:32:59Z</dc:date>
    </item>
  </channel>
</rss>

