Sending AI usage alerts to your SIEM: CEF, LEEF, JSON and a correlation rule that does not make noise
Every security team has a queue. It may be the SIEM, a chat channel wired to it, or a dashboard someone checks every hour. Whatever is not in that queue does not exist in practice, because nobody opens a fifth console on their own at three in the afternoon on a Friday.
That is where most AI monitoring projects fail. The tool detects, the console shows, and the alert dies in an inbox nobody has the habit of checking. Thirty days later someone discovers that an employee pasted customer data into a chatbot for a whole month and the warning was sitting there the entire time.
The alert goes where the team already looks
The rule is simple: an AI usage alert has to land in the same place as the alerts from the EDR, the firewall and the mail gateway. This is not an aesthetic preference. It is what gets the event triaged, assigned an owner and turned into a case with a deadline, using the process the team already has.
In practice that means three formats and two transports. The formats are CEF, LEEF and JSON, because every SIEM has a favorite and nobody wants to write a new parser. The transports are syslog, which any collector accepts, and a signed webhook, for teams that prefer HTTP and want to verify that the message came from where it claims.
What an alert carries
Before discussing format, it is worth fixing the content. An AI usage alert has to answer four questions: which tool, which machine, what kind of data, and how much. Who it was stays in the console.
| Field | Example |
|---|---|
| Tool | ChatGPT, classified as not approved |
| Machine | NB-FIN-014 |
| Event type | paste |
| Categories | CPF (the Brazilian individual taxpayer ID), bank details |
| Counts | 11 CPFs, 3 accounts |
| Size | 4 KB |
| Severity | high |
What never appears: the pasted text, the prompt, the file name or path, images, keystrokes, history, and no reference to the person, not even the pseudonym. This is not a setting someone can flip by mistake: the alert is built field by field from a closed list, and an automated test rejects any new text field in the protocol. The SIEM receives metadata, and only metadata.
That has a practical consequence for the DPO: the customer's SIEM, or the MSP's, does not start holding sensitive personal data because of the integration. It holds "11 CPFs were pasted", not the CPFs.
Deduplication by session
The second reason alert integrations fail is volume. A person who pastes thirty pieces of a spreadsheet into one conversation over ten minutes did not create thirty incidents. They created one.
So the alert is aggregated by session: same person, same tool, same machine, same window of time. The thirty pastes become one alert with a count. The SIEM gets one line, and the line says "30 pastes, 11 CPFs, 3 bank accounts". That is what the analyst needs in order to decide.
How to write a rule that helps
A bad correlation rule fires on everything. A good one fires on what deserves a human looking at it. Three principles help.
First, use the tool classification. Use of an approved tool needs no rule at all; it is the expected behavior. Use of a tolerated tool with sensitive data deserves a low-priority ticket. Use of a not approved tool with sensitive data is what deserves a real ticket.
Second, respect the difference between confirmed and probable. A confirmed event had two sensors agreeing (the window said ChatGPT and DNS resolved the domain, for example). A probable event had only one. Rules that treat both the same way produce false positives and burn the analyst's trust in the first week. In Detecti.ai that separation happens before the SIEM: use seen only on the network, as probable, does not open an alert, and the difference shows in the console.
Third, use thresholds per category, not a total count. One CPF pasted by mistake is different from fifty at once, and a credential is different from an email address. A reasonable rule, in prose:
Open an incident when an alert involves a not approved tool and any of these conditions: a credential (any quantity), health data (any quantity), ten or more CPFs or card numbers, or "your customer's data" by exact match (any quantity).
Every alert that does not pass that filter still reaches the SIEM, but as a record, not an incident. It stays available for search and for the monthly report without waking anyone up.
What to agree with the customer
The integration is part technical, part agreement. Before switching it on, decide with the customer who receives what: the MSP sees everything in the console, and the filter in the customer's SIEM decides what becomes an incident. And agree on who goes to the console when someone needs to know who it was, because the alert in the SIEM does not carry the person. With pseudonym mode on, revealing the name requires the customer's administrator and a written reason.
How this becomes a product
Detecti.ai delivers alerts by email, by signed webhook and to a SIEM in CEF, LEEF or JSON, over syslog or webhook. Alerts have severity, state, owner and notes, and repeated pastes in the same session become one alert with a count. What reaches the SIEM is a short, closed list of fields, without the person, described in /docs/privacy, section 6-A. If you want to see the format before integrating, the pilot is free.
Read next
- Who trains models on what you paste: how to read an AI vendor's privacy policySeptember 24, 2026 · 4 min
- Deploy the agent with your RMM in an afternoon: a walkthrough for MSPsSeptember 22, 2026 · 5 min
- Coverage: why "zero events" does not mean zeroSeptember 15, 2026 · 5 min