The rules will be saved internally in Kibana as saved objects, it is no something that you can simple make a query to an index, there is no documentation on how and where they are stored as it is expected that the detection rules API to be used in this case.
If you want you can query the .internal.alerts-security* indices, this is where the alerts that triggered will be stored, you have some information about the rules that triggered the alert.
I tried to run the API get for alerts in devtools but to no avail
GET /api/alerting/_health
{
"error": "no handler found for uri [/api/alerting/_health?pretty=true] and method [GET]"
}
GET /alerting/_health
{
"error": "Incorrect HTTP method for uri [/alerting/_health?pretty=true] and method [GET], allowed: [POST]",
"status": 405
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.