Skip to content

Commit ef3b4aa

Browse files
committed
Learn Editor: Update device-control-report.md
1 parent e8e1139 commit ef3b4aa

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

defender-endpoint/device-control-report.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -67,34 +67,6 @@ DeviceEvents
6767
6868
```
6969

70-
### Example 2: Removable storage file event
71-
72-
If a policy is configured to gather file evidence, then a `RemovableStorageFileEvent` is created. The event is generated for both printers and removable storage devices. Here's an example query you can use with advanced hunting:
73-
74-
```kusto
75-
76-
//information of the evidence file
77-
DeviceEvents
78-
| where ActionType contains "RemovableStorageFileEvent"
79-
| extend parsed=parse_json(AdditionalFields)
80-
| extend Policy = tostring(parsed.Policy)
81-
| extend PolicyRuleId = tostring(parsed.PolicyRuleId)
82-
| extend MediaClassName = tostring(parsed.ClassName)
83-
| extend MediaInstanceId = tostring(parsed.InstanceId)
84-
| extend MediaName = tostring(parsed.MediaName)
85-
| extend MediaProductId = tostring(parsed.ProductId)
86-
| extend MediaVendorId = tostring(parsed.VendorId)
87-
| extend MediaSerialNumber = tostring(parsed.SerialNumber)
88-
| extend FileInformationOperation = tostring(parsed.DuplicatedOperation)
89-
| extend FileEvidenceLocation = tostring(parsed.TargetFileLocation)
90-
| project Timestamp, DeviceId, DeviceName, InitiatingProcessAccountName, ActionType, Policy, PolicyRuleId, FileInformationOperation, MediaClassName, MediaInstanceId, MediaName, MediaProductId, MediaVendorId, MediaSerialNumber, FileName, FolderPath, FileSize, FileEvidenceLocation, AdditionalFields
91-
| order by Timestamp desc
92-
93-
```
94-
95-
> [!NOTE]
96-
> The `RemovableStorageFileEvent` does not appear immediately after a file is copied to the device. It may take as long as 24 hours to appear.
97-
9870
## [**Device control report**](#tab/report)
9971

10072
## Device control report

0 commit comments

Comments
 (0)