Skip to content

Commit 6c9ac76

Browse files
authored
Merge pull request #65 from squaredup/work/jd/PLUG-4656
PLUG-4656: MicrosoftDefender - Fix Device Import not working
2 parents 22795a4 + 240ec8e commit 6c9ac76

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

plugins/MicrosoftDefender/v1/dataStreams/listDevices.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"expandInnerObjects": true,
1414
"endpointPath": "runHuntingQuery",
1515
"postBody": {
16-
"Query": "DeviceInfo | summarize arg_max(Timestamp, *) by DeviceId | where DeviceName != \"\""
16+
"Query": "DeviceInfo | where isnotempty(DeviceName) | project Timestamp, DeviceId, DeviceName | summarize arg_max(Timestamp, *) by DeviceId"
1717
},
1818
"pathToData": "results",
1919
"getArgs": [],

plugins/MicrosoftDefender/v1/indexDefinitions/default.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,7 @@
1111
"name": "DeviceName",
1212
"type": {
1313
"value": "Device"
14-
},
15-
"properties": [
16-
"OSPlatform",
17-
"OSProcessor",
18-
"OSVersion",
19-
"PublicIP",
20-
"OSBuild",
21-
"OSArchitecture"
22-
]
14+
}
2315
}
2416
}
2517
]

plugins/MicrosoftDefender/v1/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "microsoft-defender",
33
"displayName": "Microsoft Defender",
4-
"version": "1.0.0",
4+
"version": "1.0.2",
55
"author": {
66
"name": "SquaredUp Labs",
77
"type": "labs"

0 commit comments

Comments
 (0)