Skip to content

Commit f7fac97

Browse files
authored
Merge pull request #1830 from MicrosoftDocs/maccruz-argoperator
Update image
2 parents 804786b + 53b87c2 commit f7fac97

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,19 @@ 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

51-
```Kusto
52-
arg("").<Azure-Resource-Graph-table-name>
53-
```
55+
For example:
56+
57+
:::image type="content" source="/defender-xdr/media/arg-operator2.png" alt-text="Screenshot of arg operator in advanced hunting." lightbox="/defender-xdr/media/arg-operator2.png":::
5458

55-
You can then, for instance, filter a query that searches over Microsoft Sentinel data based on the results of an Azure Resource Graph query:
59+
You can also, for instance, filter a query that searches over Microsoft Sentinel data based on the results of an Azure Resource Graph query:
5660

5761
```Kusto
5862
arg("").Resources
21.7 KB
Loading

0 commit comments

Comments
 (0)