Create and customize Microsoft Sentinel playbooks from templates (2024)

  • Article
  • Applies to:
    Microsoft Sentinel in the Azure portal, Microsoft Sentinel in the Microsoft Defender portal

A playbook template is a prebuilt, tested, and ready-to-use automation workflow for Microsoft Sentinel that can be customized to meet your needs. Templates can also serve as a reference for best practices when developing playbooks from scratch, or as inspiration for new automation scenarios.

Playbook templates aren't active playbooks themselves, and you must create an editable copy for your needs.

Many playbook templates are developed by the Microsoft Sentinel community, independent software vendors (ISVs), and Microsoft's own experts, based on popular automation scenarios used by security operations centers around the world.

Important

Playbook templates are currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Microsoft Sentinel is now generally available within the Microsoft unified security operations platform in the Microsoft Defender portal. For more information, see Microsoft Sentinel in the Microsoft Defender portal.

Prerequisites

To create and manage playbooks, you need access to Microsoft Sentinel with one of the following Azure roles:

  • Logic App Contributor, to edit and manage logic apps
  • Logic App operator, to read, enable, and disable logic apps

For more information, see Microsoft Sentinel playbook prerequisites.

We recommend that you read Azure Logic Apps for Microsoft Sentinel playbooks before creating your playbook.

Access playbook templates

Access playbook templates from the following sources:

LocationDescription
Microsoft Sentinel Automation pageThe Playbook templates tab lists all installed playbooks. Create one or more active playbooks using the same template.

When we publish a new version of a template, any active playbooks created from that template have an extra label added in the Active playbooks tab to indicate that an update is available.

Microsoft Sentinel Content hub pagePlaybook templates are available as part of product solutions or standalone content installed from the Content hub.

For more information, see:
About Microsoft Sentinel content and solutions
Discover and manage Microsoft Sentinel out-of-the-box content

GitHubThe Microsoft Sentinel GitHub repository contains many other playbook templates. Select Deploy to Azure to deploy a template to your Azure subscription.

Technically, a playbook template is an Azure Resource Manager (ARM) template, which consists of several resources: an Azure Logic Apps workflow and API connections for each connection involved.

This article focuses on deploying a playbook template from the Playbook templates tab under Automation.

Explore playbook templates

For Microsoft Sentinel in the Azure portal, select the Content management > Content hub page. For Microsoft Sentinel in the Defender portal, select Microsoft Sentinel > Content management > Content hub.

On the Content hub page, select Content type to filter for Playbook. This filtered view lists all the solutions and standalone content that include one or more playbook templates. Install the solution or standalone content to get the template.

Then, select Configuration > Automation > Playbook templates tab to view the installed templates. For example:

To find a playbook template that fits your requirements, filter the list by the following criteria:

FilterDescription
TriggerFilter by how the playbook is triggered, including incidents, alerts, or entities. For more information, see Supported Microsoft Sentinel triggers.
Logic Apps connectorsFilter by the external services the playbooks interact with. During the deployment process, each connector needs to assume an identity to authenticate to the external service.
EntitiesFilter by the entity types that the playbook expects to find in the incident.

For example, a playbook that tells a firewall to block an IP address expects to to find IP addresses in the incident. Such incidents might be created by a Brute Force attack analytics rule.

TagsFilter by the labels applied to the playbook, relating the playbook to a specific scenario, or indicating special characteristic. For example:

- Enrichment - Playbooks that fetch information from another service to add context to an incident. This information is typically added as a comment to the incident or sent to the SOC.
- Remediation - Playbooks that take an action on the affected entities to eliminate a potential threat.
- Sync - Playbook that help to keep an external service, such as an incident management service, updated with the incident's properties.
- Notification - Playbooks that send an email or message.
- Response from Teams - Playbooks that allow analysts to take a manual action from Teams using interactive cards.

For example:

Create and customize Microsoft Sentinel playbooks from templates (2)

Customize a playbook from a template

This procedure describes how to deploy playbook templates, and can be repeated to create multiple playbooks from the same template.

While most playbook templates can be used as they are, we recommend that you adjust them as needed to fit your playbook to your SOC needs.

  1. On the Playbook templates tab, select a playbook to start from.

  2. If the playbook has any prerequisites, make sure to follow the instructions. For example:

    • Some playbooks call other playbooks as actions. This second playbook is referred to as a nested playbook. In such a case, one of the prerequisites is to first deploy the nested playbook.

    • Some playbooks require deploying a custom Logic Apps connector or an Azure Function. In such cases, there's a Deploy to Azure link that takes you to the general ARM template deployment process.

  3. Select Create playbook to open the playbook creation wizard based on the selected template. The wizard has four tabs:

    • Basics: Locate your new playbook, which is a Logic Apps resource, and give it a name. You can use the default. For example:

      Create and customize Microsoft Sentinel playbooks from templates (3)

    • Parameters: Enter customer-specific values that the playbook uses. For example, if the playbook sends an email to the SOC, define the recipient address. If the playbook has a custom connector in use, it must be deployed in the same resource group, and you're prompted to enter its name in the Parameters tab.

      The Parameters tab shows only if the playbook has parameters. For example:

      Create and customize Microsoft Sentinel playbooks from templates (4)

    • Connections: Expand each action to see the existing connections you created for previous playbooks. You can choose to use existing connections, or create a new one. For example:

      Create and customize Microsoft Sentinel playbooks from templates (5)

      • To create a new connection, select Create new connection after deployment. This option takes you to the Logic Apps designer after the deployment process is completed.

      • Custom connectors are listed by the custom connector name entered in the Parameters tab.

      • For connectors that support connecting with managed identity, such as Microsoft Sentinel, managed identity is the default connection method.

      For more information, see Authenticate playbooks to Microsoft Sentinel.

    • Review and Create: View a summary of the process and await validation of your input before creating the playbook.

  4. After following the steps in the playbook creation wizard to the end, you're taken to the new playbook's workflow design in the Logic Apps designer. For example:

  5. For each connector you chose, create a new connection for after deployment:

    1. From the navigation menu, select API connections and then select the connection name. For example:

      Create and customize Microsoft Sentinel playbooks from templates (7)

    2. Select Edit API connection from the navigation menu.

    3. Fill in the required parameters and select Save. For example:

      Create and customize Microsoft Sentinel playbooks from templates (8)

    Alternatively, create a new connection from within the relevant steps in the Logic Apps designer:

    1. For each step that appears with an error sign, select it to expand and then select Add new.

    2. Authenticate according to the relevant instructions. For more information, see Authenticate playbooks to Microsoft Sentinel.

    3. If there are other steps using this same connector, expand their boxes. From the list of connections that appears, select the connection you just created.

  6. If you have chosen to use a managed identity connection for Microsoft Sentinel, or for other supported connections, make sure to grant permissions to the new playbook on the Microsoft Sentinel workspace or on the relevant target resources for other connectors.

  7. Save the playbook. The playbook appears in the Active Playbooks tab.

To run your playbook, set an automated response or run it manually. For more information, see Respond to threats with Microsoft Sentinel playbooks.

Report an issue in a playbook template

To report a bug or request an improvement for a playbook, select the Supported by link in the playbook's details pane. If this is a community-supported playbook, the link takes you to open a GitHub issue. Otherwise, you're directed to the supporter's page, with information about how to send your feedback.

Related content

  • Automate threat response with Microsoft Sentinel playbooks
  • Recommended playbook templates
  • Automate and run Microsoft Sentinel playbooks
Create and customize Microsoft Sentinel playbooks from templates (2024)
Top Articles
What Does Airstream Insurance Cover? - RV, Watercraft and Motorcycle Insurance | RVInsurances.com
JazzCash | Digital Banking | Mobilink Microfinance Bank
WALB Locker Room Report Week 5 2024
Ffxiv Act Plugin
How To Fix Epson Printer Error Code 0x9e
Davita Internet
What spices do Germans cook with?
Manhattan Prep Lsat Forum
Localfedex.com
Produzione mondiale di vino
Tribune Seymour
Cube Combination Wiki Roblox
Progressbook Brunswick
Edible Arrangements Keller
Seafood Bucket Cajun Style Seafood Restaurant in South Salt Lake - Restaurant menu and reviews
Notisabelrenu
Binghamton Ny Cars Craigslist
charleston cars & trucks - by owner - craigslist
Extra Virgin Coconut Oil Walmart
Video shows two planes collide while taxiing at airport | CNN
1773X To
Craigslist Maui Garage Sale
Christina Steele And Nathaniel Hadley Novel
18889183540
Masterkyngmash
Kingdom Tattoo Ithaca Mi
How to Make Ghee - How We Flourish
13301 South Orange Blossom Trail
Scott Surratt Salary
Ff14 Laws Order
6465319333
What Happened To Father Anthony Mary Ewtn
Bratislava | Location, Map, History, Culture, & Facts
Green Bay Crime Reports Police Fire And Rescue
Gold Nugget at the Golden Nugget
Los Garroberros Menu
Bismarck Mandan Mugshots
Temu Y2K
How To Upgrade Stamina In Blox Fruits
Dispensaries Open On Christmas 2022
Barstool Sports Gif
LoL Lore: Die Story von Caitlyn, dem Sheriff von Piltover
Sour OG is a chill recreational strain -- just have healthy snacks nearby (cannabis review)
✨ Flysheet for Alpha Wall Tent, Guy Ropes, D-Ring, Metal Runner & Stakes Included for Hunting, Family Camping & Outdoor Activities (12'x14', PE) — 🛍️ The Retail Market
15 Best Places to Visit in the Northeast During Summer
American Bully Puppies for Sale | Lancaster Puppies
Caesars Rewards Loyalty Program Review [Previously Total Rewards]
Mega Millions Lottery - Winning Numbers & Results
Publix Store 840
Powah: Automating the Energizing Orb - EnigmaticaModpacks/Enigmatica6 GitHub Wiki
Latest Posts
Article information

Author: Tyson Zemlak

Last Updated:

Views: 6215

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Tyson Zemlak

Birthday: 1992-03-17

Address: Apt. 662 96191 Quigley Dam, Kubview, MA 42013

Phone: +441678032891

Job: Community-Services Orchestrator

Hobby: Coffee roasting, Calligraphy, Metalworking, Fashion, Vehicle restoration, Shopping, Photography

Introduction: My name is Tyson Zemlak, I am a excited, light, sparkling, super, open, fair, magnificent person who loves writing and wants to share my knowledge and understanding with you.