Skip to content

Commit b43e3fa

Browse files
committed
wi-502580-batch-1-part-a-defender-xdr-image-reorg
1 parent 63f27f2 commit b43e3fa

15 files changed

+11
-11
lines changed

defender-xdr/advanced-hunting-custom-functions.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A function is a type of query in advanced hunting that you can use in other quer
4040

4141
There are three different types of functions in advanced hunting:
4242

43-
![Function types](/defender/media/advanced-hunting-custom-fxns/function-types.png)
43+
![Function types](media/advanced-hunting-custom-functions/function-types.png)
4444

4545
- **Built-in functions** – Prebuilt functions included with Microsoft Defender XDR advanced hunting. These functions are available in all advanced hunting instances and can't be modified.
4646
- **Shared functions** – Custom functions that users create. All users in a specific tenant can access these functions. Users can modify and control these functions.
@@ -51,7 +51,7 @@ There are three different types of functions in advanced hunting:
5151
To create a function from the current query in the editor:
5252

5353
1. Select **Save** and then **Save as function**.
54-
![Save as function](/defender/media/advanced-hunting-custom-fxns/save-as-function.png)
54+
![Save as function](media/advanced-hunting-custom-functions/save-as-function.png)
5555

5656
1. In the **Save as function** flyout panel, provide the following information:
5757

@@ -60,7 +60,7 @@ To create a function from the current query in the editor:
6060
- **Description** - A description that helps other users understand the purpose of the function and how it works.
6161
- **Parameters** - Add a parameter for each variable in the function that requires a value when it's used. For more information, see [Add parameters to your custom function](#add-parameters-to-your-custom-function).
6262

63-
![Save as function dialog box](/defender/media/advanced-hunting-custom-fxns/save-as-function-dialog-box.png)
63+
![Save as function dialog box](media/advanced-hunting-custom-functions/save-as-function-dialog-box.png)
6464

6565
1. Select **Save**.
6666

@@ -84,7 +84,7 @@ To create tabular parameters for your custom function:
8484
1. Enter a **Name** and **Default value** for the table.
8585
1. Map each column that your query references to the table. Select **Add column**, then enter the column's properties.
8686

87-
![Table parameter in custom functions](/defender/media/advanced-hunting-custom-fxns/save-as-function-table.png)
87+
![Table parameter in custom functions](media/advanced-hunting-custom-functions/save-as-function-table.png)
8888

8989
> [!NOTE]
9090
>- You can save a function with more than one table.
@@ -98,21 +98,21 @@ Add a function to the current query by double-clicking on its name or selecting
9898

9999
If a query requires arguments, provide them using the following syntax: *function_name(parameter 1, parameter 2, ...)*
100100

101-
![Open in query editor](/defender/media/advanced-hunting-custom-fxns/open-in-query-editor.png)
101+
![Open in query editor](media/advanced-hunting-custom-functions/open-in-query-editor.png)
102102

103103
> [!NOTE]
104104
> You can't use functions inside another function.
105105
106106
## Work with function codes
107107
You can view the code of a function to understand how it works or to modify its code. Select the three dots to the right of the function and select **Load function code** to open a new tab with the function code.
108108

109-
![Load function code](/defender/media/advanced-hunting-custom-fxns/load-function-code.png)
109+
![Load function code](media/advanced-hunting-custom-functions/load-function-code.png)
110110

111111
## Edit a custom function
112112

113113
Edit the properties of a function by selecting the three dots to the right of the function and selecting **Edit details**. Make any modifications that you want to the properties and parameters of the function, then select **Save**.
114114

115-
![Edit function code](/defender/media/advanced-hunting-custom-fxns/edit-function.png)
115+
![Edit function code](media/advanced-hunting-custom-functions/edit-function.png)
116116

117117
If the function code is already loaded in the editor, you can also select **Save** to apply any changes to the code or properties of the function.
118118

@@ -125,7 +125,7 @@ You can delete functions from **My functions** and functions you created in **Sh
125125

126126
To delete a function, select the three dots to the right of the function and select **Delete**.
127127

128-
![Screenshot that shows how to delete a custom function.](/defender/media/advanced-hunting-custom-fxns/delete-function.png)
128+
![Screenshot that shows how to delete a custom function.](media/advanced-hunting-custom-functions/delete-function.png)
129129
## See also
130130

131131
- [Advanced hunting overview](advanced-hunting-overview.md)

defender-xdr/advanced-hunting-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Entity data populates tables with information about users and devices. This data
104104
### Queries
105105

106106
Advanced hunting data uses the UTC (Universal Time Coordinated) timezone.
107-
![Screenshot of custom time range.](/defender/media/custom-time-range.png)
107+
![Screenshot of custom time range.](media/advanced-hunting-overview/custom-time-range.png)
108108

109109
Queries should be created in UTC.
110110

defender-xdr/advanced-hunting-query-builder-results.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ms.date: 03/28/2025
3535
3636
In hunting using guided mode, the results of the query appear in the **Results** tab.
3737

38-
![Screenshot of results tab](/defender/media/guided-hunting/35-query-results.png)
38+
![Screenshot of results tab](media/advanced-hunting-query-builder-results/35-query-results.png)
3939

4040
You can work on the results further by exporting them to a CSV file by selecting **Export**. This downloads the CSV file for your use.
4141

@@ -54,7 +54,7 @@ To view more columns:
5454
1. Select **Customize columns** in the upper right-hand portion of the results view.
5555
2. From here, select the columns to include in the results view and deselect columns to hide.
5656

57-
![Screenshot of list of columns you can add to the results view](/defender/media/guided-hunting/36-columns.png)
57+
![Screenshot of list of columns you can add to the results view](media/advanced-hunting-query-builder-results/36-columns.png)
5858

5959
3. Select **Apply** to view results with the added columns. Use the scroll bars if necessary.
6060

defender/media/advanced-hunting-custom-fxns/delete-function.png renamed to defender-xdr/media/advanced-hunting-custom-functions/delete-function.png

File renamed without changes.

defender/media/advanced-hunting-custom-fxns/edit-function.png renamed to defender-xdr/media/advanced-hunting-custom-functions/edit-function.png

File renamed without changes.

defender/media/advanced-hunting-custom-fxns/function-types.png renamed to defender-xdr/media/advanced-hunting-custom-functions/function-types.png

File renamed without changes.

defender/media/advanced-hunting-custom-fxns/load-function-code.png renamed to defender-xdr/media/advanced-hunting-custom-functions/load-function-code.png

File renamed without changes.

defender/media/advanced-hunting-custom-fxns/open-in-query-editor.png renamed to defender-xdr/media/advanced-hunting-custom-functions/open-in-query-editor.png

File renamed without changes.

defender/media/advanced-hunting-custom-fxns/save-as-function-column.png renamed to defender-xdr/media/advanced-hunting-custom-functions/save-as-function-column.png

File renamed without changes.

defender/media/advanced-hunting-custom-fxns/save-as-function-dialog-box.png renamed to defender-xdr/media/advanced-hunting-custom-functions/save-as-function-dialog-box.png

File renamed without changes.

0 commit comments

Comments
 (0)