forked from Bert-JanP/Hunting-Queries-Detection-Rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# GraphAPI URI Request Statistics | ||
|
||
## Query Information | ||
|
||
#### Description | ||
Retrieving request statistics gives us the opportunity for new use cases. One can now summarize all the GraphAPI request types easily with the following query. The unique deltatokens have been removed from the data, returning a better overview of the executed requests. | ||
|
||
#### References | ||
- https://learn.microsoft.com/en-us/graph/microsoft-graph-activity-logs-overview#what-data-is-available-in-the-microsoft-graph-activity-logs | ||
|
||
## Sentinel | ||
```KQL | ||
MicrosoftGraphActivityLogs | ||
| extend ParsedUri = tostring(parse_url(RequestUri).Path) | ||
| summarize TotalRequest = count() by ParsedUri | ||
| sort by TotalRequest | ||
``` |