Skip to content

Commit ac989d0

Browse files
committed
Updates
1 parent f35ba1a commit ac989d0

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

defender-xdr/advanced-hunting-defender-use-custom-rules.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,28 @@ For editable functions, more options are available when you select the vertical
4040
- **Edit details** – opens the function side pane to allow you to edit details about the function (except folder names for Sentinel functions)
4141
- **Delete** – deletes the function
4242

43-
## (Preview) Use arg() function
44-
Preview customers can use the *arg()* operator to query across deployed Azure resources like subscriptions, virtual machines, CPU, storage, and the like. Read [Create alerts with Azure REsource Graph and Log Analytics](/azure/governance/resource-graph/alerts-query-quickstart?tabs=azure-resource-graph) for more details.
43+
### Use arg() operator for Azure Resource Graph queries (Preview)
44+
Preview customers can use the *arg()* operator to query across deployed Azure resources like subscriptions, virtual machines, CPU, storage, and the like. Read [Create alerts with Azure Resource Graph and Log Analytics](/azure/governance/resource-graph/alerts-query-quickstart?tabs=azure-resource-graph) for more details.
45+
46+
In the query editor, enter *arg("").* followed by the Azure Resource Graph table name.
47+
48+
```Kusto
49+
arg("").<Azure-Resource-Graph-table-name>
50+
```
51+
52+
You can then, for instance, filter a query that searches over Microsoft Sentinel data based on the results of an Azure Resource Graph query:
53+
54+
```Kusto
55+
arg("").Resources
56+
| where type == "microsoft.compute/virtualmachines" and properties.hardwareProfile.vmSize startswith "Standard_D"
57+
| join (
58+
Heartbeat
59+
| where TimeGenerated > ago(1d)
60+
| distinct Computer
61+
)
62+
on $left.name == $right.Computer
63+
```
64+
4565

4666
## Use saved queries
4767

defender-xdr/whats-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can also get product updates and important notifications through the [messag
3232

3333
## October 2024
3434

35-
- (Preview) Microsoft Defender portal users can now use the *arg()* function to query Azure resources in [advanced hunting](advanced-hunting-defender-use-custom-rules.md#preview-use-arg-function). You no longer need to go to Log Analytics in Microsoft Sentinel to use this operator.
35+
- (Preview) In [advanced hunting](advanced-hunting-defender-use-custom-rules.md#preview-use-arg-function), Microsoft Defender portal users can now use the *arg()* operator for Azure Resource Graph queries to search over Azure resources. You no longer need to go to Log Analytics in Microsoft Sentinel to use this operator if you are already in Microsoft Defender.
3636

3737
## September 2024
3838

0 commit comments

Comments
 (0)