- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-26-2024 03:00 PM
I'd like to submit an Alerts API request as documented here
https://pan.dev/prisma-cloud/api/cspm/submit-an-alert-csv-download-job/
but I'd like to filter it by just certain cloud.accountId values.
The filters documentation at https://pan.dev/prisma-cloud/api/cspm/get-alert-filter-and-options/ list the fields available to filter on but there is no list of supported operators other that "=" and there doesn't seem to be any general API documentation of supported operators either.
I've tried "operator": "IN" and "operator": "in" and "operator": "contains" followed by "value": "('accountA', accountB', 'account')" to no avail.
Is this possible or is "=" the only operator supported in Alerts Filters?
09-27-2024 08:53 AM
Please confirm if this works for you.
09-27-2024 08:53 AM
Please confirm if this works for you.
09-30-2024 10:32 AM
Thanks so much for the help! It's ugly, as I have a large number of cloud.accountIds I need to filter on, but it works!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!