Microsoft Sentinel
Cloud and workloads

Application card for Microsoft Sentinel SIEM

In brief

The documentation describes the SOAR playbook generator as an AI-assisted LLM feature in the Microsoft Defender portal. It clarifies that generated playbooks are code-based Python scripts running in a managed environment and specifies the permissions required to generate and deploy them.

What Defender admins need to know

Administrators can use the documented Microsoft Defender unified RBAC permissions to validate access for playbook generation, deployment, and automation-rule authoring.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Application card: Microsoft Sentinel SIEM

Term Description
Behavior A structured record of activity produced by the Microsoft Sentinel UEBA (User and Entity Behavior Analytics) behaviors layer. A behavior captures a series of related security events consolidated into a single narrative (for example, "User X accessed 25 resources in 10 minutes") with additional context like the involved entities and relevant MITRE ATT&CK tactic labels.
Playbook An automated workflow in Microsoft Sentinel that performs a sequence of actions (suchactions, such as alert triage or incident response tasks).tasks. Traditional Sentinel playbooks are built usinguse Azure Logic Apps, whereas playbooks generated byApps. Playbooks from the AI-assisted playbook generator (preview) are provided as code-based (Python)Python scripts runningthat run in a managed environment within Microsoft Sentinel.
Security orchestration The coordination of multiple automated tasks and responses in security systems. In Microsoft Sentinel, orchestration refers to combining various actions (for example, sending an alert, quarantining a device, and notifying a team) into a coherent, automated playbook that can be triggered by security incidents or alerts.

Key features or capabilities

Feature Description
UEBA behaviors layer An AI-powered analytics layer that automatically aggregates and contextualizes security events. As logs are ingested, this feature groups related events from multiple sources into cohesive behavior entries. Each behavior provides an enriched summary of the activity—identifying the key actor(s) and target(s), labeling the relevant MITRE ATT&CK tactics, and describing in plain language what occurred. For example, instead of an analyst manually correlating dozens of logon attempts and file access events, the behaviors layer might output a single behavior like "User A attempted 10 logins from different IPs and accessed sensitive files in a short timeframe (Technique: Valid Accounts; Tactic: Credential Access)." By presenting many raw events as a single intelligible pattern, this capability reduces noise and helps analysts quickly focus on potentially unusual or noteworthy activities.

For more information, see User and Entity Behavior Analytics (UEBA) behaviors layer.
SOAR playbook generator (preview) AnA generally available AI-assisted playbook authoring feature that uses a large language model (LLM) to create automation workflows from natural-language descriptions. Security teams can interact with an embedded AI coding assistantThe generator is available to Microsoft Sentinel customers in the Microsoft Defender portal, providingportal without a plain English description ofseparate Microsoft Security Copilot license or Security Compute Units. Security teams describe a security process they want to automate. The system then generates a Python-based Sentinelautomate, and the generator creates an editable Python playbook implementing that workflow, complete with documentationtests, documentation, and a visual flow diagram. For instance, an analyst might describe, "If an incident is high severity, gather host informationUsers can review and notifytest the on-call engineer," and the playbook generator produces a script to perform exactly those steps. The generated playbook is integrated into Sentinel's automation library, wherebefore activating it can be reviewed, tested on sample incidents, and then activated by the user to run on actualfor alerts or incidents. By enabling code-free automation development, this feature acceleratesAccess the creation of custom responsegenerator from the Playbooks tab on the Automation page in the Defender portal. Generating and deploying playbooks requires the Automation: Automation Playbooks (Read and broadens the range of team members who can contribute to security automation.Write) permission in Microsoft Defender unified role-based access control (RBAC).

For more information, see Generate playbooks using AI in Microsoft Sentinel.

Intended uses

  • The model is guided through prompt engineering to focus on generating safe and relevant code. The team tested for undesirable outputs, and the system is more likely to respond with an error or request clarification than to produce something overtly dangerous if given a confusing or inappropriate request.
  • The generator doesn't have the ability to run a playbook immediately on its own. Human review is mandatory—the playbook is saved but remains inactive until an authorized user enables it.

Additionally, theThe team also considered misuse—for example,whether someone could someone misuse the generator to create a playbook that intentionally exfiltrates data or causes disruption?disruption. The primary protections are access control and user oversight. Only users with specific roles (like Sentinel Contributorthe Automation: Automation Playbooks (Read and Automation/Detection Tuning roles)Write) permission can use the generator,generate and those individuals are typically trusted, trained personnel. And since the outputdeploy playbooks. The generated code is fully visible to these usersfor review before activation, any malicious intent would likely be caught during review. This layered approach - gatingactivation. Requiring the capability to appropriate rolespermission and requiringexplicit activation - mitigates the risk of feature abusehelps mitigate misuse by ensuringmaintaining an audit trail exists and requiring authorized personnel involvement.

No evidence of disparate impact or demographic bias is present for these features, as they operate on technical data and user-driven inputs, not on attributes of individuals. Behavior summaries and playbooks treat all inputs equally without preferential or prejudicial differences.

  • Transparency and explainability: Both features are built with transparency in mind. The behaviors layer's output includes clear descriptions and tags that explain each behavior and why certain events were grouped together. Analysts can click on a behavior to see the underlying events for verification. The playbook generator produces detailed documentation for each playbook, including a step-by-step explanation of the logic and a visual flowchart. This makes it easy for a security team to understand what an AI-generated playbook does, and adjust or augment it if needed. Transparency is crucial for trust—users should feel confident that they understand the AI's outputs before relying on them in their workflows.

  • Access and permissions: Access to AI features is controlled through existing securitypermissions and roles. By requiring roles like Generating and deploying playbooks requires the Automation: Automation Playbooks (Read and Write) permission in Microsoft Defender unified RBAC. Authoring automation rules requires the Microsoft Sentinel Contributor role on the relevant workspaces or Automation Contributor, Microsoft ensures that only qualified personnel can use the playbook generator. This reduces the risk of inexperienced users generating playbooks without proper oversight.resource groups. Similarly, the behaviors layer is automatically available only to thoseusers who have access to the relevant logs and analytics results, meaning it's used by those who already handle sensitive security data.results.

  • Data security and privacy: All processing for these features happens within the Microsoft Azure environment,environment under the same compliance standards as the rest of Microsoft Sentinel. The behaviors layer processes data entirely within the SIEM's analytics pipeline—itpipeline and doesn't send log data outside the service. For the playbook generator, the userAI processing occurs within Microsoft's promptcloud environment, and context arecustomer data is handled by an Azure OpenAI instance tiedaccording to Microsoft's data-handling commitments. Data from user prompts and generated code isn't used to train the base model. Microsoft might collect usage telemetry and anonymized quality signals, depending on the customer's Security Copilot tenant (which enforces data handling policies consistent with enterprise requirements). No long-term retention of prompt data occurs beyond what's needed to generate the output (unless the customer opts in to allow Microsoft to use it for product improvement under strict controls). These measures ensure that using these AI features doesn't expose or store sensitive customer data inappropriately.data-sharing settings.

  • Testing and iteration support: Microsoft provides avenues within the tools themselves to help users adopt them safely. For example, the playbook generator interface allows users to run the new playbook on a sample alert (typically a sanitized incident) to see what actions it would take, verifying outcomes before deployment. The behaviors layer outputs can be compared against known sequences of events to confirm they align with expectations. Microsoft's documentation encourages such testing and outlines best practices for validating AI outputs (such as performing dry runs or starting in a lab environment). This approach helps organizations integrate the AI features gradually and with confidence.

  • Exercise caution when designing agentic AI in sensitive domains: Users should exercise caution when designing and/or deploying agentic AI applications in sensitive domains where agent actions are irreversible or highly consequential. Additional precautions should also be taken when creating autonomous agentic AI as described further in either the Microsoft Enterprise AI Services Code of Conduct (for organizations) or the Code of Conduct section in the Microsoft Services Agreement (for individuals).

  • Ensure relevant data and prerequisites: For the behaviors layer, connect the supported data sources (suchsources, such as network logs or cloud audit logs) so youlogs, to get the most out of the feature. More complete and high-quality data in Sentinel leads to more comprehensive behaviors. For the playbook generator, verifyonboard your Microsoft Sentinel workspace to the Defender portal and ensure you have the Automation: Automation Playbooks (Read and Write) permission in Microsoft Defender unified RBAC. The generator doesn've met all prerequisites (such as enablingt require a separate Microsoft Security Copilot in your tenant and having the appropriate user roles) before use.license or Security Compute Units. For all requirements, see Generate playbooks using AI in Microsoft Sentinel.

  • Start with human oversight and small scope: Initially, treat AI outputs as suggestions or prototypes. For instance, use the playbook generator to create a new playbook and then walk through the code line by line with your team before trusting it on live incidents. You might deploy it in a monitoring-only mode (for example, logging actions but not taking irreversible steps) at first. Similarly, when you enable the behaviors layer, start by observing how it represents known benign vs. known malicious sequences in your logs to gauge its accuracy, and then gradually incorporate behaviors into detection rules or workflows.