Detection Rule Draft Agent · Use case
How can we use an AI agent to draft a detection rule from an engineer's description on our own infrastructure?
A detection rule draft agent takes a detection engineer's description of what a rule should find and drafts the rule in your own rule language, as a file, with the test cases it should pass. It follows the form of your existing detection rules. The detection engineer tests, corrects and deploys the rule. The agent deploys nothing and changes no rule. It runs on your own infrastructure, so your detection rules are not sent to a public AI service.
An engineer knows what a rule should find.
Writing and testing it takes the time.
- ✗ 01A detection engineer knows what a new rule should find, and still has to write it in the rule language, in the form the team uses, and write the test cases for it.
- ✗ 02The detection rules show what the organisation can see and what it cannot, so they have to stay inside the organisation.
Where it stops for a person
Always. The detection engineer tests, corrects and deploys the rule.Always. The detection engineer tests, corrects and deploys the rule. The draft is a file for the engineer: it is not a rule until the engineer has tested it. The agent lists the test cases the rule should pass and does not run them. It does not say the rule finds what it was written for, and it does not say how many alerts the rule will raise. A part of the description it could not turn into the rule is marked, not left out. It changes no existing rule.
It drafts the rule as a file, with test cases.
The detection engineer deploys.
Step · 01
The detection engineer describes what the rule should find, in plain words.
Step · 02
The agent reads the description and your existing rules for the form the team uses.
Step · 03
It drafts the rule in your rule language, as a file.
Step · 04
It lists the test cases the rule should pass, and marks each part of the description it could not turn into the rule.
Step · 05
The detection engineer tests the draft, corrects it and deploys it through your own review.
Reads from · connectors
The engineer's description, typed in the conversation or as an uploaded file; and your existing detection rules, indexed as a knowledge source. It reads no alert and no log.
What it can change
Nothing. It drafts a file. It writes to no rule repository and to no alert and log platform, deploys nothing, and switches no rule on or off.
Build it once.
Use it where the work is.
01 · Where your people use it
In Work Room
Publish it to Work Room and your people use it there.
See Work Room →02 · Where they already work
In a screen they already use
Your developers can put it behind a screen your people already work in, so nobody has to open a new tool.
What you set up
- Write down the form your team uses for a rule: the fields, the naming and the test cases each rule must have.
- Index your existing detection rules as a knowledge source, with each reader's permissions kept.
- Build the agent in Katonic Studio and test it on descriptions of rules your engineers have already written.
- Publish it to the detection engineers first, one kind of rule at a time.
Where it runs
The agent, its knowledge store and the model run on infrastructure you own or control. You choose the model and serve it yourself, so questions, documents and answers are not sent to a public AI service. Detection rules, descriptions and drafts stay inside the organisation.
How you get it today
You build it in Katonic Studio: describe the job, connect what is named above, add test cases and release the agent once it passes them. There is no ready-made template for this job yet.
Does the agent deploy or change a detection rule?
No. It deploys and changes no rule. It writes a draft as a file for the engineer, and it has no tool that writes to the alert and log platform or to a rule repository. The detection engineer tests, corrects and deploys the rule.
Can the draft be used as it is?
No. A draft is not a rule until the detection engineer has tested it. The agent lists the test cases the rule should pass and does not run them, and it does not say the rule finds what it was written for.
Where are detection rules processed?
On your own infrastructure, with a model you serve. Nothing is sent to a public AI service.