06-22-2022 03:22 PM
- Api call add alert rule:
I want to create alert rules via API for the CSPM. Are there any examples for this? It's not clear to me how to populate:
alertRuleNotificationConfig
https://prisma.pan.dev/api/cloud/cspm/alert-rules#operation/add-alert-rule
POST https://{{api-endpoint}}/v2/alert/rule >> 405
Can we post events on this API endpoint?
- API call retrieving alert rule by ID:
GET https://{{api-endpoint}}/v1/alert/{{ruleid}} >> 404
The {id} which I retrieve with this API call:
https://prisma.pan.dev/api/cloud/cspm/alert-rules#operation/get-alert-rules-v2
Can any one verify that their api call are valid?
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!