Rolling out Security Delivery Agents safely: a phased plan

Roll out Security Delivery Agents in three phases: investigations on request, On Queue for severities you trust, then agent Gamebooks without approval, which also need the workspace's Allow service providers to run gamebooks, off by default. New agents default to On Queue, so set every severity to Manual first.

ContraForce platform · Checklist · 9 min read ·

Who this is for

Security leads, SOC managers and automation engineers putting Security Delivery Agents into production, whether you secure one organization or many customer workspaces.

You'll learn

A Security Delivery Agent can investigate an incident, classify it and build a Gamebook to respond. A safe rollout widens one of those powers at a time. Every setting named below is explained step by step in Configuring Security Delivery Agents. This plan is the order to change them in, and what to check before each change.

What does a new agent do before you change anything?

It starts investigating on its own. New agents default to On Queue, which is fully autonomous: the agent picks up incidents of that severity as they arrive. Manual, the other Mode, runs the agent only when someone asks.

SettingDefaultWhat it means on day one
Mode, per severityOn QueueThe agent investigates incidents of that severity on its own
Allow agent to run gamebooks, per severityOffAny Gamebook the agent builds waits for approval
Confidence to respond, per severity (0 to 100)0An On Queue run can build a Gamebook at any confidence
Allow service providers to run gamebooks, per workspaceOffEvery Gamebook an agent submits in that workspace waits for approval
Investigation policies and Agent ShiftsNone until you add themEvery investigation is allowed, at any hour

So no Gamebook runs without a person approving it. But a new agent investigates, classifies and updates incidents from its first incident, and every Gamebook it proposes lands in your approval queue.

Set every severity to Manual first

Before the pilot's first incident reaches the agent, set Mode to Manual for every severity, set Status after run to No Change, turn Assign agent to incident off, and save. Those two settings apply after every agent investigation, including the runs your team starts, so otherwise they could move or reassign incidents your analysts are still working. The agent then investigates only when your team asks, which is where Phase 1 starts.

What should you decide before the pilot?

Phase 1: does the agent reach the same verdicts as your analysts?

Your analysts ask the agent to investigate incidents they are already working. Run agent investigation is analysis only: the agent reports findings and takes no response action.

Compare each run with your analyst's verdict. The agent's AI Generated comment on the incident shows its classification, its malicious confidence from 0 to 100 and the SOPs it matched. The Feedback column in Run History records how someone assessed each run, such as Rated accurate or Corrected.

Note the malicious confidence on runs the agent got right and on runs it got wrong: that spread tells you where to set Confidence to respond in Phase 3. When a verdict is wrong, fix the SOP the agent matched by uploading a new version. Its links to agents are kept.

Move to Phase 2 when:

Phase 2: which severities should go On Queue first?

Start with the severities where a wrong verdict costs least, usually Low and Info, and leave High and Medium on Manual. Then bound the agent before you widen it:

Any Gamebook an On Queue run builds still waits for approval in this phase. Agree with your approvers whether they act on those proposals or deny them while you watch.

On Microsoft Defender XDR incidents, expect fewer runs than incidents. The agent defers to Defender's own automation: it skips incidents that Defender's automated investigation already resolved or that were merged into another incident, and it holds low and informational severity Defender XDR incidents for 5 to 30 minutes, depending on the workspace, so Defender can resolve them first. Skipped incidents don't appear in Run History.

Move to Phase 3 when:

Phase 3: when can agent Gamebooks run without approval?

Do this last, and in this order, so the gates you want to keep are in place before the default ones come off:

  1. Write run policies for the actions that should always need a person. A run policy can apply only to Security Delivery Agents, so agent actions can wait for an approver while your analysts stay unrestricted. New policies start at the bottom of the list, so move each one above any Allow policy that also fits the action.
  2. For each severity you trust, turn on Allow agent to run gamebooks and set a high Confidence to respond. It has to be above 0, and a higher threshold is more conservative. Below it, an On Queue run builds no Gamebook and leaves the response to an analyst.
  3. Then turn on the workspace's Allow service providers to run gamebooks. A Workspace Owner makes that change, and it also lets the service providers that manage the workspace run Gamebooks there.

From then on, an On Queue run's Gamebook runs without a person only when the agent's confidence met the threshold, both settings are on, and no run policy blocks an action or sends it to an approver.

Password resets in customer workspaces

In a customer workspace you manage, a Gamebook from an agent or a service provider that includes Reset User Password waits for approval even with Allow service providers to run gamebooks on, and only an admin in the customer's organization who is on the Approvers list can approve it. To lift that, a Workspace Owner in the customer's organization turns on Allow service provider to reset passwords on the workspace's Microsoft Entra ID Response module. Service providers can see that setting but can't change it. Because turning it on assigns a Microsoft Entra directory role, it also needs the customer's Global Administrator or Privileged Role Administrator.

Check Defender before email and containment actions

When a Gamebook action runs, ContraForce doesn't re-check whether Defender already purged the email or contained the device. Before an email or containment action runs on a Defender incident, check the Action center in the Microsoft Defender portal, which lists pending and completed remediation actions, or have a run policy send those actions to an approver.

Keep reviewing after the switch. If agents take too many actions, raise Confidence to respond, and lower it only when the accuracy you observe supports it.

How do you widen the rollout?

One dimension per step: another severity, longer shift hours or another workspace, each checked the way its phase was.

How do you step back if something goes wrong?

Use the narrowest control that stops the problem, so the rest of the rollout keeps running:

  1. To hold one kind of action, add a run policy that applies only to Security Delivery Agents and blocks the action or asks an approver first. New policies start at the bottom of the list, so move it above any Allow policy that also fits the action. Your analysts are unaffected.
  2. To stop agent responses for a severity, turn off Allow agent to run gamebooks. Its Gamebooks wait for approval again, and Confidence to respond resets to 0, so set it again when you turn the setting back on.
  3. To stop wrong closes, move Status after run off Closed for that severity or, with Advanced options on, for that classification. Investigations carry on, and those incidents stay open for your team.
  4. To stop automatic investigations for a severity, set its Mode back to Manual. Runs your team starts still work.
  5. To hold every agent Gamebook in a workspace, turn off Allow service providers to run gamebooks. It applies to the service providers that manage the workspace too, so use it last.

Then take the incident type that went wrong back through the Phase 1 checks, and fix the SOP behind it before you widen again.

Checklist

Recap

Go deeper on contraforce.com

Sources

  1. ContraForce Docs, Configuring Security Delivery Agents
  2. ContraForce Docs, What Are Gamebooks? No-Code Incident Response
  3. ContraForce Docs, Workspace Policies for Gamebooks and Agents
  4. ContraForce Docs, Agent Shifts: Schedule AI Agent Working Hours
  5. ContraForce Docs, Agent Run History
  6. ContraForce Docs, SOPs for Security Delivery Agents
  7. ContraForce Docs, Security Incident Management: Triage to Closure
  8. ContraForce Docs, Deploying Agent Center with Microsoft Foundry
  9. ContraForce Docs, Workspace Profiles: Standardize Workspace Settings
  10. ContraForce Docs, User Roles & Permissions
  11. ContraForce Docs, Defender AIR, ZAP, and Attack Disruption
  12. Microsoft Learn, Automated investigation and response in Microsoft Defender XDR
  13. Microsoft Learn, Go to the Action center to view and approve your automated investigation and remediation tasks
  14. Microsoft Learn, Microsoft Entra built-in roles

Reviewed by the ContraForce team · Published · Updated

Next up

All lessons

Step 3 of 3 · Get started with ContraForce

Agent-assisted detection rule tuning for Microsoft Defender XDR and Microsoft Sentinel

Keep Microsoft Sentinel and Defender XDR rules in one versioned baseline, catch drift, and use an agent's advisory review of a noisy rule before you act.

ContraForce platform · Explainer

Watch · 1:49

Put this lesson to work.

The ContraForce docs have every step, role and setting this lesson describes. Sign in to the portal when you're ready to do it.

Open the docs Sign in to the ContraForce portal