What AI may read during an incident
Before you decide what an AI may do, decide what it may see. Reading is a low-risk place to start. It is also the place where many teams give away more than they need to.
Start with the telemetry you already trust
An AI is only as useful as the data it can see. In an incident, the useful signals are the ones your engineers already use: metrics, logs and traces. Give the AI the same views. Do not build a second pipeline just for it. If your engineers cannot find the cause in this data, the AI will struggle too.
Here is a good test. Could a new engineer on call find the cause using only what the AI can read? If not, fix your telemetry first. An AI makes gaps in your data easier to see. It does not fill them.
Take a TLS certificate that expired overnight. The logs show handshake errors. The metrics show requests failing at the edge. A trace shows the first call that broke. With those three signals, the cause is easy to find. Without the logs, it is a guess.
Give it read access and nothing more
Create credentials for the AI that can only read. Do not reuse a person's login or an admin key. A separate credential has three benefits:
- You can see what it reads in your own audit trail.
- You can remove it in one step.
- It cannot change anything, even when the AI is wrong.
Scope the credentials by environment. A credential that reads production metrics does not need to read a staging database, and the reverse is also true. Give each environment its own credential. When you retire an environment, retire its credential the same day.
Scope by type of data too. Metrics and traces seldom hold sensitive data. Logs often do. If you have to choose, start with metrics and traces, and add logs once you have checked what they contain.
Keep secrets out of what the model reads
Logs carry the most risk. Applications print things they should not: access tokens, connection strings, customer email addresses, session identifiers. Anything the AI reads may end up in a prompt, in a stored record of its reasoning, or in a summary that many people see.
Treat this as three layers of control.
- Redact at the source. Stop applications from printing secrets. This is the most reliable fix, and it protects every reader, not only the AI.
- Redact in the pipeline. Mask known patterns, such as tokens and email addresses, before they reach any reader, human or machine.
- Redact on the way into the model. Add a final check for patterns that slipped through the first two layers.
Then test it. Write a fake secret into a log line in a test environment and see where it appears. If it shows up in the AI's output, a layer is missing.
Know where the data goes
Ask where prompts and results are stored, for how long, and who can read them. If you bring your own account with a model provider, you control that agreement. If you do not, read the terms. Ask whether the provider trains on your data. Get the answers in writing, and keep them with your other vendor records.
Review what it read, not only what it did
After an incident, look at the list of data sources the AI read. Did it read anything it did not need? Cut that access. Was something missing that it needed? Add it, and note why. Treat the access list like any other set of permissions, and review it on a schedule.
A short checklist
- The AI sees the same telemetry your engineers use.
- It has its own read-only credentials, one set for each environment.
- Logs are added only after you check what they contain.
- Secrets are redacted at the source, in the pipeline and before the model.
- You know where prompts and results are stored, and for how long.
- Someone reviews what it can read on a schedule.
Sources
Neel Shah, a CSO Online contributor who works for the vendor StackGen, wrote in June 2026: “SRE teams do not trust tools in the abstract.”
CSO Online, Neel Shah, 11 June 2026: https://www.csoonline.com/article/4183666/what-sre-teams-need-before-they-trust-ai-agents.html