Teaching Security AI to Show Its Work

Building Signal with IBM: turning scattered cloud logs into incidents, with an AI assistant that checks citations against incident evidence.

In this case study↓

Signal is a security operations prototype built with IBM through CodeLab at UC Davis. Our team grouped related cloud alerts into incidents and designed an analyst assistant that ties its explanation to the underlying evidence.

At a glance

Client
IBM
Timeframe
Fall 2026
Team
CodeLab at UC Davis × IBM
My focus
AI assistant engineering
Stack
React · TypeScript · TanStack Router · Carbon · FastAPI · Kafka · Vector · ClickHouse · Postgres · Rust · Sigma
3committed detection rules, tested first
56real CloudTrail records in the test set
0actions the AI can take on its own

The problem

Security teams drown in alerts. Each one is technically correct and on its own almost meaningless. Analysts need the incident: who did what, in what order, and whether it matters. If AI is going to help tell that story, it has to show its work, because a confident wrong summary in security is worse than none.

The product

Signal is built on IBM's Carbon design system. Detections from the pipeline are grouped into incidents by account, user and time, and each one opens into an overview, a timeline and the evidence behind it.

IBM Signal incidents list
The incidents list, shown here with the project's sample incidents. "Analyze all incidents" asks the AI for an evidence-checked summary of every live incident at once and times each one.
IBM Signal incident detail
One incident: login without MFA → database password change → CloudTrail logging stopped, all by the same user within 17 minutes. The page explains why the alerts were grouped, and each detection links back to the rule that fired.

How it works

LogsAWS CloudTrail, IBM Activity Tracker
→
Kafkatransports event streams
→
Vectornormalises to one schema; bad records quarantined
→
Rust detectorSigma rules → detections
→
IncidentsClickHouse history, Postgres decisions

The pipeline. A FastAPI service handles ingestion and serves incidents and analyses to the React frontend.

Each log source gets mapped into one shared NormalizedEvent contract, so detection rules never need to know where an event came from. We froze those contracts early so the team could build the pipeline, the detector and the UI in parallel.

Checking the assistant’s evidence

The analysis panel splits the AI's output into a summary, key observations, possible explanations, open questions and suggested next steps. The demo checks the response shape, verifies that cited event IDs belong to the incident, and checks reported entities against the cited evidence. It can send validation feedback to the model for one corrective attempt. If the second attempt fails validation, the analysis is marked unavailable.

The AI only proposes. Rules and humans decide.

Fixes follow the same rule. The fix flow is designed so that a person approves a fix, it runs against a mock IBM Cloud, the result is checked, and everything is written to an audit log. Nothing touches a real account.

Testing detection

A detection rule is only as good as its test cases. We built a test set from 56 real CloudTrail records from the public flaws.cloud dataset. For every line, it lists which of our three rules should match and why, covering both events that should fire and lookalikes that shouldn't.

Detections page
The detections view groups Sigma rule matches by rule and actor, filters by rule and time, and opens each row to show why it fired.

What the checks establish

Passing those checks establishes that a claim has a traceable reference and grounded entities. An analyst still needs to judge whether the evidence supports the explanation. I’d evaluate that separately with summaries that cite real events but draw the wrong conclusion. Remediation in this demo is simulated.

Keep reading

View all