Azure-Sentinel/Playbooks/Resolve-McasInfrequentCount...
Lior Tamir 02416690f1 Update azuredeploy.json 2022-02-27 13:46:29 +02:00
..
Deploy.ps1 Resolve-McasInfrequentCountryAlerts playbook added 2020-09-09 13:35:11 +02:00
azuredeploy.json Update azuredeploy.json 2022-02-27 13:46:29 +02:00
parameters.json Resolve-McasInfrequentCountryAlerts playbook added 2020-09-09 13:35:11 +02:00
readme.md Updating Deploy buttons and links part 1 2021-06-16 00:25:40 +00:00

readme.md

Resolve-McasInfrequentCountryAlerts

author: Sebastien Molendijk - Microsoft

This playbook allows you to automatically resolve Microsoft Cloud App Security Infrequent Country alerts based on several criterias like:

  • The user out-of-office status
  • The user group membership
  • The user risk level status in Azure AD

Requirements

This playbook uses an API token to close the alert in MCAS, and an AAD service principal with the required permissions below to query the relevant Microsoft Graph endpoints.

Logic App action API Endpoint AAD Required Permission
Get_user_details Microsoft Graph /users/{user UPN} User.Read.All
Get_user_manager Microsoft Graph /users/{user UPN}/manager User.Read.All
Get_user_OOF Microsoft Graph /users/{user UPN}/getMailTips Mail.Read
Check_group_membership Microsoft Graph /users/{user UPN}/checkMemberGroups Directory.Read.All
Get_user_AAD_risk_status Microsoft Graph /riskyUsers/{user AAD object Id} IdentityRiskyUser.Read.All
Resolve_Cloud_App_Security_alert MCAS API /cas/api/v1/alerts/resolve/

Additional resources


Deployment

You can use the Deploy.ps1 script, after updating the required parameters in the provided parameters.json file, or use the buttons below.


Deploy to Azure Deploy to Azure Gov