Action API
Removed: REST API for Actions v1.81
This feature has been removed and replaced by a GraphQL API
Test Action
http
POST /api/v1/repositories/$REPOSITORY_NAME/alertnotifiers/$ID/test
Parameters:
alertName
—string
events
—array
— array of Falcon LogScale log events
Example:
shell
$ curl http://$YOUR_LOGSCALE_URL/api/v1/repositories/sandbox/alertnotifiers/GXso4uF2EawsVyvtr2Q6DbtlWNPKwtOj/test \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"alertName":"testAlertName", events: [{"@timestamp": 0, "@timezone": "Z", "#host": "TestHost"}]}'