Gustavo AlvaradoRequest my resume
All work

Workflow, end to endStatus: Case study

The missing alert

An AI monitoring tool that logs every prompt and raises no alerts, and the workflow built around it so an analyst opens a finished case. Drawn with invented values.

The gap

An inline proxy sits between staff and the AI apps they use. Its job is data loss prevention and content moderation. It reads each prompt, blocks it or lets it through, and writes an event.

It did that job. It did not alert. Most security tools raise an alert when something they watch goes wrong. This one wrote events with a little metadata and stopped there.

So a blocked prompt was a line in a log. Unless someone read every block and every logged event by hand, nobody would connect five odd prompts from one person in one afternoon. With a large workforce and a prompt count far past what a team can read, that review was never going to happen.

This page is the workflow we built around it. The products are described by the job they do, and every value below is invented.

The workflow

From a prompt to a finished caseA prompt passes through an inline proxy, which writes an event to a detection platform. When one person's events reach a threshold, the detection platform triggers an automation platform. The automation opens a case and calls back to the proxy for the surrounding prompts. An agent proposes an outcome with a confidence. A confident harmless result is closed and kept in a separate queue for audit. Anything unclear goes to a senior analyst for review.Invented example. Roles, not products.Inline proxyBlocks or logsDetection logicWeighs, adds upAutomationOpens the caseAgent proposalWith confidenceeventsalertCalls back for the prompts before and afterUnclearSureSenior analystReviews, decidesAudit queueClosed, kept apart
The proxy appears twice. It is the source of the events, and later the automation calls it back for context.

What starts it

No single prompt starts a case. Detection engineers gave each kind of event a weight, and the logic adds the weights up per person inside a time window. When the total reaches a threshold, the alert fires. This is risk-based alerting, and the weights depend on the use case: risky AI behaviour is scored one way, an attempt to write malware another.

One invented person, one window of 30 minutes. The alert fires at 60.
TimeProxy actionWhat the event saysWeightRunning total
09:02LoggedInternal document pasted1515
09:06LoggedAsks the model to ignore its rules2035
09:11BlockedCustomer record in a prompt3065, over the threshold
09:14BlockedSame record, reworded3095, over the threshold

The first two events were allowed through and only logged. Alone, neither is worth a person's time. The third takes the total past the threshold, and that is the moment the workflow starts.

Context before a person sees it

The alert triggers the automation platform. It opens a case and pulls in the events that fired it. Then its agent calls the proxy's API and asks for more: what the alert matched, and the prompts before and after it.

The wider window is what makes the next step possible. A credential pasted once into a debugging question reads differently from the same record retried in new words after a block.

The agent reads that context and proposes an outcome, with a confidence.

  • Confident it is harmless. The case is closed. Every case closed this way is kept in its own queue, apart from the rest, so the closures can be audited.
  • Anything unclear. The case moves to a review stage. A senior analyst sees the data and the context there and decides to escalate or close.

The part I pushed on

Before the automation there was no case. An analyst found a proxy alert by searching the proxy's own console, then gathered the details by hand.

The first version of the workflow removed the search. It opened a case, assigned it and attached the details. Analysts still opened the console. The data was in the case, but not in the order triage reads it.

I came to this work from the SOC, so I knew that habit. Triage asks three things first: who, what and how bad. When the first screen does not answer them, an analyst goes to the source they trust. We changed the layout of the case so those three answers lead, and what an analyst checks first is what they see first.

Every layer depends on the others

Each tool does one job. The value came from making them answer to each other.

What each layer adds, and what the workflow loses without it
LayerAddsWithout it
Inline proxyReads every prompt on its way to an AI app. Blocks it or logs it. Writes one event for each.Nothing to work from. No record that the prompt happened.
Detection logicGives each kind of event a weight. Adds them up per person inside a time window. Fires at a threshold.Events pile up unread. A pattern across one person's prompts is never seen.
AutomationOpens the case. Pulls the events that fired it. Calls the proxy back for the prompts before and after.An analyst opens an alert with a score and no story, then goes hunting in another console.
Agent proposalReads the context. Proposes an outcome and says how confident it is.Every alert waits for a person, including the ones that are plainly harmless.
AnalystDecides anything unclear, with the context already in the case. Escalates or closes.Nobody owns the call. The automation's mistakes go unchecked.

All of it had to be tuned together. Weights set too low flood the automation. An agent that is too sure closes what it should not. A case layout that hides the context sends the analyst back to the console.

Where else it applies

Nothing here is specific to one proxy. The same frame fits any platform that records events and has no alerting of its own: send the events somewhere detections can be written, score them, let automation gather the context, and give a person the unclear ones.

Limitations

  • The values on this page are invented. The real weights, thresholds and volumes are not published.
  • No result is quoted, because no measurement here has a public source. Time saved is not yet measured.
  • An agent that closes cases can close the wrong one. The audit queue exists because that risk is real.
  • The detection logic was written by detection engineers. This page describes how the pieces were joined.

Read where the controls sit

No one is coming. Keep building.

Request my resume