elastic
high
kql
High Confidence Prompt Injection in a GenAI User Message
Detects a GenAI user message that a security_ai classifier scores as
high-confidence prompt injection. The rule requires a high prediction from
one of four models: instruction override, encoding, word obfuscation, or
hash string. ES|QL COMPLETION then reviews the message and drops likely
false positives before an alert is created.