Skip to content

Commit 72d59d3

Browse files
committed
Update AH arg oeprator
1 parent 9cc9a81 commit 72d59d3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,20 @@ For editable functions, more options are available when you select the vertical
4444
- **Delete** – deletes the function
4545

4646
### Use arg() operator for Azure Resource Graph queries (Preview)
47-
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.
47+
The *arg()* operator can be used to query across deployed Azure resources like subscriptions, virtual machines, CPU, storage, and the like.
48+
49+
This feature was previously only available in log analytics in Microsoft Sentinel. In the Microsoft Defender portal, the `arg()` operator works over Microsoft Sentinel data (that is, Defender XDR tables are not supported). This allows users to use the operator in advanced hunting without needing to manually open a Microsoft Sentinel window.
50+
51+
Read [Query data in Azure Resource Graph by using arg()](/azure/azure-monitor/logs/azure-monitor-data-explorer-proxy#query-data-in-azure-resource-graph-by-using-arg-preview) for more details.
4852

4953
In the query editor, enter *arg("").* followed by the Azure Resource Graph table name.
5054

5155
```Kusto
5256
arg("").<Azure-Resource-Graph-table-name>
5357
```
5458

59+
:::image type="content" source="/defender/media/arg-operator.png" alt-text="Screenshot of arg operator in advanced hunting." lightbox="/defender/media/arg-operator.png":::
60+
5561
You can then, for instance, filter a query that searches over Microsoft Sentinel data based on the results of an Azure Resource Graph query:
5662

5763
```Kusto

defender/media/arg-operator.png

28 KB
Loading

0 commit comments

Comments
 (0)