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
- What a new agent does before you change a single setting
- What to decide before a pilot, including where your agents run
- What to check before each phase widens the agent's reach
- How to expand across severities and customer workspaces
- How to step an agent back without stopping everything
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.
| Setting | Default | What it means on day one |
|---|---|---|
| Mode, per severity | On Queue | The agent investigates incidents of that severity on its own |
| Allow agent to run gamebooks, per severity | Off | Any Gamebook the agent builds waits for approval |
| Confidence to respond, per severity (0 to 100) | 0 | An On Queue run can build a Gamebook at any confidence |
| Allow service providers to run gamebooks, per workspace | Off | Every Gamebook an agent submits in that workspace waits for approval |
| Investigation policies and Agent Shifts | None until you add them | Every 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?
- Where your agents run. They're either hosted by ContraForce or self-hosted, running in your own Azure subscription, which needs Agent Center deployed there first. Your environment commits to one hosting model in Agent Center. That choice is permanent, so ContraForce never makes it for you.
- Where to start. If you serve many customers, pick one customer workspace whose incidents your team knows well. If you secure one organization, start with the incident types your team handles most.
- What the agent follows. Link your standard operating procedures (SOPs) for those incident types to the agent: Classification SOPs guide how it categorizes incidents, and Response SOPs guide the response steps it recommends or executes.
- Who owns what. An Organizational Admin or Agent Admin deploys agents, links SOPs and changes an agent's settings, which also needs the Owner role on its workspace. Workspace Owners manage each workspace's policies, shifts and Allow service providers to run gamebooks, and only Workspace Owners can be Gamebook approvers. The analysts who run Phase 1 need the Owner or Incident Responder role on the workspace; Incident Analysts can't start an agent investigation.
- A baseline. Write down how your analysts classify those incidents today and how long incidents wait before work starts.
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:
- The agent's classifications match your analysts' on the incident types you see most.
- You can explain every disagreement, and the SOPs behind them are fixed.
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:
- An Agent Shift sets the hours the agent investigates on its own. Outside the shift, new incidents wait for your team and aren't re-run when the shift resumes. Your team can still start a run by hand.
- Investigation policies allow or block investigations by who the incident involves, its title, severity or source, for example to keep incidents involving your executives with your analysts. The first policy that fits decides, and if none fits, the investigation goes ahead. Blocked automatic investigations stay in your team's queue and are recorded in the workspace audit trail.
- Status after run decides where an incident lands when the agent finishes: No Change, Active, New or Closed. Keep it off Closed until spot checks of the incidents the agent classified False Positive or Benign Positive hold up. With Advanced options on, you can set it per classification, for example keeping True Positives open with a webhook to your on-call tool.
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:
- Spot checks hold up on the incidents the agent classified False Positive and on those it classified Benign Positive.
- Every incident without an automatic run has a reason you can name: a Manual severity, a policy or shift, Defender automation, or an incident that was already closed.
- Every failed run's error is understood. If you self-host, check that runs aren't failing on your model quota or rate limit.
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:
- 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.
- 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.
- 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.
- Across customers, each workspace keeps its own run policies, investigation policies, shifts and Allow service providers to run gamebooks, so customers can sit at different phases. SOPs belong to one workspace, so upload and link them in each new one.
- Workspace Profiles can apply the same Gamebook approvers and agent policy to every workspace attached to a profile. Only Organizational Admins can use them.
- In one organization, widen by severity and incident type: Medium goes On Queue after Low and Info hold up, and High comes last.
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:
- 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.
- 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.
- 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.
- To stop automatic investigations for a severity, set its Mode back to Manual. Runs your team starts still work.
- 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
- Hosting is decided: hosted by ContraForce, or self-hosted with Agent Center deployed in your own Azure subscription. You commit to one model in Agent Center, and the choice is permanent.
- Agent settings have a named owner (an Organizational Admin or Agent Admin), each workspace's policies and approvals have theirs (its Workspace Owners), and the analysts running Phase 1 hold the Owner or Incident Responder role on the workspace.
- Every severity is set to Manual, with Status after run on No Change and Assign agent to incident off, before the pilot's first incident reaches the agent.
- Classification and Response SOPs are linked for the incident types you see most.
- A baseline is recorded: how your analysts classify those incidents and how long incidents wait before work starts.
- Phase 1: the agent's classifications match your analysts' on your most common incident types, and every disagreement is explained.
- Phase 2: only the severities you trust are On Queue, inside an Agent Shift and your investigation policies.
- Status after run is Closed only where spot checks of the incidents the agent classified False Positive or Benign Positive hold up.
- Every incident without an automatic run, and every failed run, has a known reason.
- Before any agent Gamebook can run without approval, run policies cover the actions that should always need a person.
- Allow service providers to run gamebooks is turned on last, one workspace at a time, after Allow agent to run gamebooks and a high Confidence to respond.
- Everyone knows the rollback order: an agent-only run policy, then Allow agent to run gamebooks off, then Status after run off Closed, then Manual, then the workspace setting.
Recap
- New agents default to On Queue, so set every severity to Manual before the pilot and widen one thing at a time.
- Move to the next phase only when your own incidents back it: matching verdicts, False Positive and Benign Positive calls that hold up, and runs you can account for.
- Let agent Gamebooks run without approval last, behind run policies and a high Confidence to respond. While the workspace's Allow service providers to run gamebooks is off, they wait for approval.
Go deeper on contraforce.com
Sources
- ContraForce Docs, Configuring Security Delivery Agents
- ContraForce Docs, What Are Gamebooks? No-Code Incident Response
- ContraForce Docs, Workspace Policies for Gamebooks and Agents
- ContraForce Docs, Agent Shifts: Schedule AI Agent Working Hours
- ContraForce Docs, Agent Run History
- ContraForce Docs, SOPs for Security Delivery Agents
- ContraForce Docs, Security Incident Management: Triage to Closure
- ContraForce Docs, Deploying Agent Center with Microsoft Foundry
- ContraForce Docs, Workspace Profiles: Standardize Workspace Settings
- ContraForce Docs, User Roles & Permissions
- ContraForce Docs, Defender AIR, ZAP, and Attack Disruption
- Microsoft Learn, Automated investigation and response in Microsoft Defender XDR
- Microsoft Learn, Go to the Action center to view and approve your automated investigation and remediation tasks
- Microsoft Learn, Microsoft Entra built-in roles
Reviewed by the ContraForce team · Published · Updated
Next up
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.