MDA ‐ Cloud Discovery Dashboard With AppGoverance - mattnovitsch/M365 GitHub Wiki

Summary

Looking at the data from Cloud Discovery inside Defender XDR is great way to get visibility on what applications your users are using throughout their workday. This is great to help determine what you want to allow and block. Taking this a step further with data security, you can look at the applications then use Purview to determine what sensitive files/data can be used with those applications. This dashboard is a view into what your users are using to help you make that determination. Please remember to follow your security teams best practices when deploying.

CloudDiscovery-App image

CloudDiscovery-User image

AppGov-Permissions image

Perquisites

Deployment Steps:

Part 1: Create Entra Register application

  1. Navigate to Entra
  2. Navigate to App registration, then click on New registration
image
  1. Give the registration something meaningful, I'll use MDA-CloudDiscoveryDashboard for the example. Click register
image
  1. Click on API Permissions then Add a permission
image
  1. There are 5 graph permissions we need to add. Select Microsoft Graph
image
  1. We are doing this from an application, select application.
image
  1. Search for these names and check each off. Click Grant Admin consent for
  • Application.Read.All
  • AuditLog.Read.All
  • CloudApp-Discovery.Read.All
  • DelegatedPermissionGrant.Read.all
  • Directory.Read.All
image
  1. Click New client secret, fill out the Description to something meaningful so you know what it is later.

Note: If you org uses certifications that will work also.

image
  1. Copy the value and save it in a good location
image
  1. Click Overview to copy the client id and the tenatid.
image

Part 2: Deploying the dashboard:

  1. Open MDA-CloudDiscovery Dashboard
  2. Fill in TenantID, ClientID, ClientSecret, and DiscoveryPeriod

Note: DiscoveryPeriod format

  • 7 days P7D
  • 30 days P30D
  • 90 days P90D
image
  1. This may take several minutes on this page as its loading multiple logs
image
  1. You will get prompted for login, just hit connect. The secret will be your connection entity.
image

It should load as seen in the screenshots at the top. Enjoy!

Note: Since my lab is small, I have the data sets in MB, I did put in the tables GB columns you can use for larger data points.

References:

⚠️ **GitHub.com Fallback** ⚠️