From be24df88e8f7573508c6b2b15da4a85ce845ffa3 Mon Sep 17 00:00:00 2001 From: Ben Alfasi Date: Thu, 22 Aug 2019 17:39:54 +0300 Subject: [PATCH] s --- .../microsoft-defender-atp/api-power-bi.md | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/windows/security/threat-protection/microsoft-defender-atp/api-power-bi.md b/windows/security/threat-protection/microsoft-defender-atp/api-power-bi.md index 811a9cae2a..e8e0a98c12 100644 --- a/windows/security/threat-protection/microsoft-defender-atp/api-power-bi.md +++ b/windows/security/threat-protection/microsoft-defender-atp/api-power-bi.md @@ -23,7 +23,7 @@ ms.topic: article - Want to experience Microsoft Defender ATP? [Sign up for a free trial.](https://www.microsoft.com/WindowsForBusiness/windows-atp?ocid=docs-wdatp-exposedapis-abovefoldlink) -In this section you will learn create a Power BI report on top of the Microsoft Defender ATP APIs. +In this section you will learn create a Power BI report on top of Microsoft Defender ATP APIs. The first example demonstrates how to connect Power BI to Advanced Hunting API and the second example demonstrates a connection to our OData APIs (e.g. Machine Actions, Alerts, etc..) @@ -78,14 +78,6 @@ The first example demonstrates how to connect Power BI to Advanced Hunting API a in Table -``` - let - - Query = "MachineACtions", - - Source = OData.Feed("https://api.securitycenter.windows.com/api/" & Query, null, [Implementation="2.0", MoreColumns=true]) - in - Source ``` - Click **Done** @@ -106,7 +98,7 @@ The first example demonstrates how to connect Power BI to Advanced Hunting API a - Now the results of your query will appear as table and you can start build visualizations on top of it! -- You can duplicate this table, rename it and edit the Advanced Hunting query inside to your custom data. +- You can duplicate this table, rename it and edit the Advanced Hunting query inside to get any data you would like. ## Connect Power BI to OData APIs @@ -114,6 +106,15 @@ The first example demonstrates how to connect Power BI to Advanced Hunting API a - Copy the below and paste it in the editor to pull all Machine Actions from your organization: +``` + let + + Query = "MachineACtions", + + Source = OData.Feed("https://api.securitycenter.windows.com/api/" & Query, null, [Implementation="2.0", MoreColumns=true]) + in + Source + ``` - You can do the same for Alerts and Machines.