Workflow automation - Microsoft Defender for Cloud (2024)

Every security program includes multiple workflows for incident response. These processes might include notifying relevant stakeholders, launching a change management process, and applying specific remediation steps. Security experts recommend that you automate as many steps of those procedures as you can. Automation reduces overhead. It can also improve your security by ensuring the process steps are done quickly, consistently, and according to your predefined requirements.

This article describes the workflow automation feature of Microsoft Defender for Cloud. This feature can trigger consumption logic apps on security alerts, recommendations, and changes to regulatory compliance. For example, you might want Defender for Cloud to email a specific user when an alert occurs. You'll also learn how to create logic apps using Azure Logic Apps.

Prerequisites

Before you start:

  • You need Security admin role or Owner on the resource group.

  • You must also have write permissions for the target resource.

  • To work with Azure Logic Apps workflows, you must also have the following Logic Apps roles/permissions:

    • Logic App Operator permissions are required or Logic App read/trigger access (this role can't create or edit logic apps; only run existing ones)
    • Logic App Contributor permissions are required for logic app creation and modification.
  • If you want to use Logic Apps connectors, you might need other credentials to sign in to their respective services (for example, your Outlook/Teams/Slack instances).

Create a logic app and define when it should automatically run

Follow these steps:

  1. From Defender for Cloud's sidebar, select Workflow automation.

  2. From this page, create new automation rules, enable, disable, or delete existing ones. A scope refers to the subscription where the workflow automation is deployed.

  3. To define a new workflow, select Add workflow automation. The options pane for your new automation opens.

  4. Enter the following:

    • A name and description for the automation.

    • The triggers that will initiate this automatic workflow. For example, you might want your logic app to run when a security alert that contains "SQL" is generated.

      If your trigger is a recommendation that has "sub-recommendations", for example Vulnerability assessment findings on your SQL databases should be remediated, the logic app will not trigger for every new security finding; only when the status of the parent recommendation changes.

  5. Specify the consumption logic app that will run when your trigger conditions are met.

  6. From the Actions section, select visit the Logic Apps page to begin the logic app creation process.

    Workflow automation - Microsoft Defender for Cloud (3)

    You'll be taken to Azure Logic Apps.

  7. Select (+) Add.

  8. Fill out all required fields and select Review + Create.

    The message Deployment is in progress appears. Wait for the deployment complete notification to appear and select Go to resource from the notification.

  9. Review the information you entered and select Create.

    In your new logic app, you can choose from built-in, predefined templates from the security category. Or you can define a custom flow of events to occur when this process is triggered.

    Tip

    Sometimes in a logic app, parameters are included in the connector as part of a string and not in their own field. For an example of how to extract parameters, see step #14 of Working with logic app parameters while building Microsoft Defender for Cloud workflow automations.

Supported triggers

The logic app designer supports the following Defender for Cloud triggers:

  • When a Microsoft Defender for Cloud Recommendation is created or triggered - If your logic app relies on a recommendation that gets deprecated or replaced, your automation stops working and you need to update the trigger. To track changes to recommendations, use the release notes.

  • When a Defender for Cloud Alert is created or triggered - You can customize the trigger so that it relates only to alerts with the severity levels that interest you.

  • When a Defender for Cloud regulatory compliance assessment is created or triggered - Trigger automations based on updates to regulatory compliance assessments.

Note

If you're using the legacy trigger When a response to a Microsoft Defender for Cloud alert is triggered, your logic apps won't be launched by the Workflow Automation feature. Instead, use either of the triggers mentioned above.

  1. After you've defined your logic app, return to the workflow automation definition pane ("Add workflow automation").

  2. Select Refresh to ensure your new logic app is available for selection.

  3. Select your logic app and save the automation. The logic app dropdown only shows those with supporting Defender for Cloud connectors mentioned above.

Manually trigger a logic app

You can also run logic apps manually when viewing any security alert or recommendation.

To manually run a logic app, open an alert, or a recommendation and select Trigger logic app.

Configure workflow automation at scale

Automating your organization's monitoring and incident response processes can greatly improve the time it takes to investigate and mitigate security incidents.

To deploy your automation configurations across your organization, use the supplied Azure Policy 'DeployIfNotExist' policies described below to create and configure workflow automation procedures.

Get started with workflow automation templates.

To implement these policies:

  1. From the table below, select the policy you want to apply:

    GoalPolicyPolicy ID
    Workflow automation for security alertsDeploy Workflow Automation for Microsoft Defender for Cloud alertsf1525828-9a90-4fcf-be48-268cdd02361e
    Workflow automation for security recommendationsDeploy Workflow Automation for Microsoft Defender for Cloud recommendations73d6ab6c-2475-4850-afd6-43795f3492ef
    Workflow automation for regulatory compliance changesDeploy Workflow Automation for Microsoft Defender for Cloud regulatory compliance509122b9-ddd9-47ba-a5f1-d0dac20be63c

    You can also find these by searching Azure Policy. In Azure Policy, select Definitions and search for them by name.

  2. From the relevant Azure Policy page, select Assign.Workflow automation - Microsoft Defender for Cloud (6)

  3. In the Basics tab, set the scope for the policy. To use centralized management, assign the policy to the Management Group containing the subscriptions that will use the workflow automation configuration.

  4. In the Parameters tab, enter the required information.

    Workflow automation - Microsoft Defender for Cloud (7)

  5. Optionally apply this assignment to an existing subscription in the Remediation tab and select the option to create a remediation task.

  6. Review the summary page and select Create.

    Data types schemas

    To view the raw event schemas of the security alerts or recommendations events passed to the logic app, visit the Workflow automation data types schemas. This can be useful in cases where you aren't using Defender for Cloud's built-in Logic Apps connectors mentioned above, but instead are using the generic HTTP connector - you could use the event JSON schema to manually parse it as you see fit.

Related content

  • Use workflow automation to automate a security response
  • Security recommendations in Microsoft Defender for Cloud
  • Security alerts in Microsoft Defender for Cloud
Workflow automation - Microsoft Defender for Cloud (2024)
Top Articles
Airbnb Business Name Generator
Complimentary Preferred Seats
Satyaprem Ki Katha review: Kartik Aaryan, Kiara Advani shine in this pure love story on a sensitive subject
Restaurer Triple Vitrage
Notary Ups Hours
270 West Michigan residents receive expert driver’s license restoration advice at last major Road to Restoration Clinic of the year
Legacy First National Bank
Immediate Action Pathfinder
Persona 4 Golden Taotie Fusion Calculator
Sports Clips Plant City
Enderal:Ausrüstung – Sureai
Gmail Psu
Cbs Trade Value Chart Fantasy Football
Playgirl Magazine Cover Template Free
Midlife Crisis F95Zone
065106619
Illinois Gun Shows 2022
Abortion Bans Have Delayed Emergency Medical Care. In Georgia, Experts Say This Mother’s Death Was Preventable.
Lazarillo De Tormes Summary and Study Guide | SuperSummary
Labby Memorial Funeral Homes Leesville Obituaries
The Pretty Kitty Tanglewood
Caledonia - a simple love song to Scotland
A Biomass Pyramid Of An Ecosystem Is Shown.Tertiary ConsumersSecondary ConsumersPrimary ConsumersProducersWhich
Play Tetris Mind Bender
Discord Nuker Bot Invite
4 Methods to Fix “Vortex Mods Cannot Be Deployed” Issue - MiniTool Partition Wizard
Skymovieshd.ib
Shelby Star Jail Log
Ullu Coupon Code
Bfsfcu Truecar
10-Day Weather Forecast for Santa Cruz, CA - The Weather Channel | weather.com
Uky Linkblue Login
What does wym mean?
Wega Kit Filtros Fiat Cronos Argo 1.8 E-torq + Aceite 5w30 5l
Six Flags Employee Pay Stubs
Gerber Federal Credit
Bozjan Platinum Coins
Kstate Qualtrics
11 Pm Pst
The Mad Merchant Wow
拿到绿卡后一亩三分地
Build-A-Team: Putting together the best Cathedral basketball team
Arcadia Lesson Plan | Day 4: Crossword Puzzle | GradeSaver
Mars Petcare 2037 American Italian Way Columbia Sc
Mvnt Merchant Services
craigslist | michigan
This 85-year-old mom co-signed her daughter's student loan years ago. Now she fears the lender may take her house
Brandon Spikes Career Earnings
Lamp Repair Kansas City Mo
Hkx File Compatibility Check Skyrim/Sse
Walmart Front Door Wreaths
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 5555

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.