How to govern AI agents in incident response

By ContraForce · Published

Guide · October 29, 2026 · 11 min read

An AI agent that can isolate a device or reset a password needs controls that still hold when it's wrong. See how ContraForce's gates stack before a Gamebook runs, and how to review, audit, and widen what agents may do.

A rule that says "If a suspicious IP address is detected, block it" fires the same way every time, even on a customer's new VPN egress. An agent told to "Determine whether this IP address is a threat and respond appropriately" decides for itself, and when governance is weak it can decide wrong. So with automation you review logic; with agents you govern authority: what the agent can touch, when it acts alone, at what confidence, and who signs off.

The operating model

Agentic Security Delivery is an operating model in which Security Delivery Agents execute the work of security, onboarding, triage, investigation, response, ticketing, reporting, and tuning, under human-governed standard operating procedures (SOPs), across every environment a team protects. The tools stay; the manual delivery layer between them is replaced by agents that act, governed by humans who decide.

The Agentic Security Delivery field guide covers the whole model. This guide is about its last clause, governed by humans who decide, applied to what a Security Delivery Agent does in ContraForce today: it investigates an incident, classifies it, and compiles a Gamebook response when one is warranted.

It covers, in reading order, what an agent can reach, the gates between its verdict and an action, the confidence threshold, incident data it can't trust, the closes worth checking, where each decision is recorded, and how to widen autonomy in three phases.

Know what an agent can reach

ContraForce handles incident response remediation. Gamebook actions such as Isolate Endpoint, Quarantine File, Invalidate Existing Sessions, Reset User Password, Lockout User, and Delete Email act on the users, devices, files, and emails in an incident. ContraForce doesn't patch systems, scan for vulnerabilities, harden configurations, or remediate compliance findings. If you're a service provider, write that boundary into your service description before a customer asks why the agent that contained an account didn't patch the server.

The full set of Gamebook actions is short and fixed, which makes each action governable, and a workspace offers only what its connected modules support. Run policies, on the workspace's Gamebooks tab, decide which of those actions an agent may take:

An agent follows the Classification and Response SOPs you link to it. SOPs shape its judgment; run policies bound its authority. See how a Security Delivery Agent differs from a copilot and from a script.

Follow one incident through the approval gates

At 02:00 an impossible-travel incident arrives in a customer workspace: a user signed in from an unfamiliar country shortly after signing in from their usual office. The agent's Mode for that severity is On Queue, so it investigates on its own. Its shift covers business hours, but an Allow policy placed above the shift in the workspace's investigation policy list lets incidents whose title contains "impossible travel" through around the clock, so the agent picks this one up.

It builds an investigation graph of the users, devices, and IPs involved and classifies the incident True Positive. Its malicious confidence meets the severity's Confidence to respond, so it compiles a Gamebook that maps Invalidate Existing Sessions and Reset User Password to the user. Whether that Gamebook runs depends on every row below.

GateWhere you set itWhat it decidesDefault
ModeThe agent's configuration in Agent Center, per severityManual: the agent runs only when someone starts it from the incident's Actions menu. On Queue: it picks up incidents of that severity on its own, within your investigation policies and Agent ShiftsOn Queue for new agents
Investigation policies and Agent ShiftsThe workspace's Agents tab, or the agent's Policies tabWhether the agent may investigate this incident, and whether it starts on its own at this hour; skipped incidents stay in your team's queueNone, so every investigation is allowed, around the clock
Confidence to respond (0 to 100)The agent's configuration, per severityWhether an On Queue run builds a Gamebook; below it, the agent builds none and leaves the response to an analyst0, and settable only while Allow agent to run gamebooks is on
Allow agent to run gamebooksThe agent's configuration, per severityWhether the agent's Gamebook runs or waits as Waiting ApprovalOff
Allow service providers to run gamebooksThe workspace's Gamebooks tab, set by a Workspace OwnerWhether agent Gamebooks in the workspace can run without approvalOff
Run policiesThe workspace's Gamebooks tabAllow, block, or ask an approver first, by action, target, or incidentNone, so actions are allowed

An On Queue agent's Gamebook runs with no one approving it only when all of these are true:

You can also start a run that responds by choosing Run agent investigation and response from an incident's Actions menu. That option is available only while Allow agent to run gamebooks is on for the incident's severity. Any Gamebook from that run still waits while the workspace's Allow service providers to run gamebooks is off, and run policies still apply to it.

Anything that waits goes to the workspace's Approvers, who must be Workspace Owners, to approve or deny from the incident or the Gamebooks page. The workspace's Allow service providers to run gamebooks setting applies to internal security teams too, because agents submit Gamebooks the way a service provider does. Turning it on also lets the service providers that manage the workspace run Gamebooks there, so it decides more than the agent's authority.

Customer workspaces you manage add one more gate, and it applies to the 02:00 Gamebook: a Gamebook with Reset User Password waits for an admin in the customer's organization who is on the Approvers list, even with Allow service providers to run gamebooks on. To lift it, a Workspace Owner in the customer's organization turns on Allow service provider to reset passwords on the Microsoft Entra ID Response module. Because turning it on assigns a Microsoft Entra directory role, that Workspace Owner must also be a Global Administrator or Privileged Role Administrator.

After the Gamebook runs, an analyst still confirms containment held, for example that no new sign-ins followed Invalidate Existing Sessions, and tells the customer.

What a new agent does

New agents default to On Queue, with Allow agent to run gamebooks off and Confidence to respond at 0, and Allow service providers to run gamebooks is off by default. So a new agent investigates on its own from its first incident and can propose a Gamebook at any confidence, but nothing runs until someone approves it. On a busy workspace, that can fill the approval queue fast. To start with investigations on request, set Mode to Manual for every severity before the first incident arrives (Phase 1 below).

Set the confidence threshold from your own results

Confidence to respond, set per severity from 0 to 100, is the malicious confidence an On Queue run needs before the agent builds a Gamebook. The AI Generated comment each run posts on the incident shows the agent's malicious confidence, so you can see how close each run came.

Confidence is the agent's estimate, not its permission. A run policy that blocks an action or asks an approver applies however confident the agent is, which is the point of separating confidence from authority.

Treat incident data as evidence, never as instructions

Everything above governs what an agent may do. Governance has a second job, security for agents: protecting the agent itself from prompt injection and from being steered into unauthorized actions. Some of an incident's text is written by the attacker: email subjects, file names, command lines. Indirect prompt injection hides instructions there for whatever model reads it, such as a subject line written to persuade an AI reader that the message is safe.

An agent must treat that text as evidence, never as commands. Don't let your safety depend on the agent noticing, though. Put the controls that decide outcomes in settings that incident text can't reach:

The test for any control

Ask whether the control still holds if the agent is wrong or was misled. A run policy, an approval, or a shift holds, because the agent doesn't control it. An instruction in an SOP guides the agent's judgment, but it can't bound the agent's authority.

Injected text doesn't need to trigger an action to do harm. Text that persuades an agent an incident is benign can end in a close, and no approval gate sees a close.

These controls follow four of the principles in our Responsible AI Policy: human authority, bounded access, evidence before action, and reversibility and escalation.

Spot-check what the agent closes

A wrong True Positive costs analyst time, and if the approval gates let its Gamebook run, that Gamebook acts on a legitimate user or device. A wrong Benign Positive or False Positive close hides a real threat. An agent closes an incident when Status after run is set to Closed, per severity in the agent's configuration or, with Advanced options on, on the Classification policy card for that verdict. That makes Status after run a governance decision too.

Each run leaves an AI Generated comment with the agent's classification, its malicious confidence, the SOPs it matched under Knowledge, its reasoning, and its recommendations. That comment is what you review.

The Feedback column on the agent's Run History tab in Agent Center shows how someone assessed each run, with values such as Rated accurate, Rated inaccurate, Matched, or Corrected. Hover over it to see who assessed the run, when, and why. Use it as your running measure of how often the agent's verdict agrees with your analysts' on your own incidents.

Know where every agent decision is recorded

An audit trail helps only if you know which record answers which question.

QuestionWhere to look
Which incidents did this agent run on, and who started each run?The agent's Run History tab: each run's incident, who triggered it (a person, or the agent for an On Queue run), source, severity, model, feedback, and status, over a time range you choose. Agent Center's Agent Runs tab shows every agent at once.
Why did a run fail?View error, next to the Failed status in Run History
Why didn't the agent pick up an incident?First, the Mode setting in Agent Center for the severity of the incident: a severity on Manual gets no automatic run and no audit entry. Then the workspace audit trail, which records policy verdicts, blocked automatic investigations, and off-shift skips. Skipped incidents never appear in Run History.
What did the agent conclude, and why?Its AI Generated comment on the incident
Did the Gamebook run, wait, or fail?The incident's Activity tab, through View full details, or the Gamebooks page
What changed on the incident, or in an SOP?The incident's Audit tab, or the Audit tab on the SOPs page

Govern cost too. Run History shows how many tokens each run used. The Cost Management Center shows token usage across your workspaces for the billing cycle and lets you set a monthly usage budget. The budget only sends alerts: investigations keep running when it's reached.

Widen autonomy in three phases

ContraForce agents are adopted in three phases, and each phase widens one thing.

PhaseWhat you configureWhat runs without a personMove on when
1. Investigate on requestEvery severity on Manual before the agent's first incident arrives, with Status after run set to No Change, because that setting applies to manual runs too; analysts choose Run agent investigation from the incident's Actions menuNothing: the agent reports findings and takes no response actionIts classifications match your analysts' on the incident types you see most
2. Investigate on its ownOn Queue for the severities you trust, bounded by Agent Shifts and investigation policies; the Status after run you wantInvestigation, classification, and the status change you chose; any Gamebook it builds waits for approvalYour spot-checked closes hold up, and Run History shows no gaps you can't explain
3. Respond above a thresholdAllow agent to run gamebooks and a high Confidence to respond, per severity; run policies for actions that always need a person; then the workspace's Allow service providers to run gamebooksGamebooks that meet the threshold, unless a run policy or a customer password-reset approval holds themKeep reviewing; raise the threshold if agents take too many actions

To control when an On Queue agent works and which incidents it takes, see Introducing Agent Policies and Agent Shifts.

Where to start

Pick one workspace whose incidents your team knows well, set the agent's Mode to Manual and Status after run to No Change for every severity, choose Run agent investigation on incoming incidents, and compare the agent's classifications with your analysts'. Before Phase 3, write the run policies for actions that should always need a person, and only then turn on Allow service providers to run gamebooks.

Decide, too, who holds the roles each step needs. An Organizational Admin or Agent Admin sets the agent's Mode, Confidence to respond, and Allow agent to run gamebooks. A Workspace Owner sets the workspace's run policies, investigation policies, Agent Shifts, and Allow service providers to run gamebooks, and chooses its Approvers on the Gamebooks tab. To choose Run agent investigation, an analyst needs the Workspace Owner or Incident Responder role on the workspace, not Incident Analyst.

Measure against your own baseline: how often the agent's verdict matches your analyst's, how long incidents wait before work starts, how many agent Gamebooks waited for approval and why, and how many closes a spot-check overturned.

If you're still comparing vendors, the AI SOC evaluation kit scores how a platform separates read, recommend, approve, and execute authority before you buy.

Every setting in this guide, step by step, is in Configuring Security Delivery Agents.

Policy order, conditions, and agent-only policies are in the Workspace Policies guide.

For every Run History column and the causes of failed runs, see Agent Run History.

Questions about governing agents in your workspaces? Contact us at support@contraforce.com. We are happy to help.

Sources

  1. ContraForce Docs, Configuring Security Delivery Agents · verified October 29, 2026
  2. ContraForce Docs, Workspace Policies · verified October 29, 2026
  3. ContraForce Docs, Agent Shifts · verified October 29, 2026
  4. ContraForce Docs, Agent Run History · verified October 29, 2026
  5. ContraForce Docs, SOPs for Security Delivery Agents · verified October 29, 2026
  6. ContraForce Docs, What Are Gamebooks? · verified October 29, 2026
  7. ContraForce Docs, Incident Management · verified October 29, 2026

More posts

Keep reading

Announcement

Introducing the Sumo Logic detection module: monitor alerts become incidents

Sumo Logic monitor alerts now open as ContraForce incidents, in the same queue as the rest of your customers, where Security Delivery Agents can investigate them too.

Announcement

Introducing Agent Policies and Agent Shifts: Control What Agents Investigate and When

Decide which incidents Security Delivery Agents may investigate and schedule their automatic working hours with Agent Policies and Agent Shifts.

See it run on your own incidents.

Connect one supported workspace, validate access and your Gamebook, then measure an eligible investigation in your own environment.

Start a trial Read the docs

No credit card. Connect one workspace: scoped Entra ID application consent, no endpoint agents, no log forwarding.