I'm looking to build a watcher to run via a scheduled alert type to look for any cases where the playbook status is failed. Surprisingly, the search API doesn't return the playbook status, and the GetCaseCardsByRequest doesn't seem to allow you to filter on playbook status. Any thoughts or pointers would be appreciated!
Solved
Playbook failure watcher
Best answer by Simon_King_79
Thanks both. I haven't been able to get the cloud logging up and running yet, but ideally I want to do this inside SOAR so I can raise a message in a chat when there's a failure. More than 3 failures isn't granular enough - I need alerts after a single one so I think I'm going to have to try the /GetCaseCardsByRequest and look for the workFlowStatus in the response. Cheers!
Just to talk to myself (so future people can find this) I've done what I outlined above - call the /GetCaseCardsByRequest endpoint, filter on anything that's got a workflowStatus of 3 and chat it to our team. This runs on an hourly schedule.
Login to the community
Login with SSO
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

