- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-14-2023 04:55 AM
Hello everyone,
I have a script that need to get incidents from server.
01-04-2024 10:48 AM - edited 01-04-2024 10:49 AM
Hi @ZuleyhaAy
Since xdr-get-incidents do not have a parameter for specify returning incidents by resolved_timestamp, you will need to apply some type of filter after incidents are returned.
Since you are doing all of this in an automation instead of in a playbook, I think your approach would be the best way to do that.
Once all of incidents are returned by creation date, transform resolved_timestamp (UTC) field into ISO 8601 since that is date picker format, or vice versa, and only return incidents that are relevant.
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!