From c661aaea6f2bc6fd7625c86a84cd95e3214b6f58 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 09:31:10 +0000 Subject: [PATCH 1/4] Convert Microsoft Defender OOB dashboards to SmartViz Converts the 45 classic data tiles in the Microsoft Defender default dashboards to vizSpec 1.0, following the approach of #182. Each tile keeps its chart type, data stream config and position; only the visualisation block changes. Patch bump to 1.1.1. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01M7jt3xdZnDtUiTQHzT9QhN --- .../Advanced Hunting/deviceStatus.dash.json | 216 ++++++++----- .../Advanced Hunting/devicesHealth.dash.json | 272 +++++++++------- .../recommendations.dash.json | 178 +++++++---- .../threatDetections.dash.json | 133 ++++---- .../vulnerabilities.dash.json | 178 ++++++----- .../v1/defaultContent/incidents.dash.json | 255 +++++++++------ .../v1/defaultContent/overview.dash.json | 293 ++++++++++-------- plugins/MicrosoftDefender/v1/metadata.json | 2 +- 8 files changed, 913 insertions(+), 614 deletions(-) diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json index 15209aed8..a29bb57d4 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json @@ -33,13 +33,26 @@ "{{configId}}" ], "title": "Exposure Level", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "ExposureLevel", - "linkColumn": "DeviceName", - "labelColumn": "ExposureLevel[Expanded].rawState" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "ExposureLevel[Expanded].rawState", + "type": "nominal" + }, + "status": { + "field": "ExposureLevel", + "type": "nominal" + }, + "link": { + "field": "DeviceName", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } } } @@ -101,13 +114,26 @@ "{{configId}}" ], "title": "Sensor Health State", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "SensorHealthState", - "linkColumn": "DeviceName", - "labelColumn": "SensorHealthState" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "SensorHealthState", + "type": "nominal" + }, + "status": { + "field": "SensorHealthState", + "type": "nominal" + }, + "link": { + "field": "DeviceName", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } } } @@ -169,12 +195,20 @@ "{{configId}}" ], "title": "Onboarding Status", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "OnboardingStatus", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "OnboardingStatus", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -236,12 +270,20 @@ "{{configId}}" ], "title": "Last Seen", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "Timestamp", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "Timestamp", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -276,30 +318,46 @@ "{{configId}}" ], "title": "Device Attributes", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "DeviceCategory", - "DeviceType", - "AssetValue", - "OnboardingStatus" - ], - "hiddenColumns": [ - "Timestamp", - "DeviceName", - "PublicIP", - "OSPlatform", - "AadDeviceId", - "OSVersion", - "SensorHealthState", - "ExposureLevel", - "DeviceManualTags", - "DeviceDynamicTags", - "ExposureLevel[Expanded].rawState" - ], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "DeviceCategory", + "renderer": { + "type": "text" + } + }, + { + "field": "DeviceType", + "renderer": { + "type": "text" + } + }, + { + "field": "AssetValue", + "renderer": { + "type": "text" + } + }, + { + "field": "OnboardingStatus", + "renderer": { + "type": "text" + } + }, + { + "field": "DnsDomain", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -334,30 +392,40 @@ "{{configId}}" ], "title": "Device Properties", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "PublicIP", - "OSPlatform", - "OSVersion" - ], - "hiddenColumns": [ - "Timestamp", - "DeviceName", - "AadDeviceId", - "OnboardingStatus", - "DeviceCategory", - "DeviceType", - "SensorHealthState", - "ExposureLevel", - "AssetValue", - "DeviceManualTags", - "DeviceDynamicTags", - "ExposureLevel[Expanded].rawState" - ], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "PublicIP", + "renderer": { + "type": "text" + } + }, + { + "field": "OSPlatform", + "renderer": { + "type": "text" + } + }, + { + "field": "OSVersion", + "renderer": { + "type": "text" + } + }, + { + "field": "DnsDomain", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/devicesHealth.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/devicesHealth.dash.json index 6a39898cb..bcf79cba6 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/devicesHealth.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/devicesHealth.dash.json @@ -58,15 +58,16 @@ "{{configId}}" ], "title": "High Exposure", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -123,15 +124,16 @@ "{{configId}}" ], "title": "Medium Exposure", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -183,15 +185,16 @@ "{{configId}}" ], "title": "Critical Vulnerabilities", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -221,15 +224,16 @@ "{{configId}}" ], "title": "Non-Compliant Devices", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -294,14 +298,22 @@ "{{configId}}" ], "title": "High Exposure", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "ExposureLevel", - "linkColumn": "none", - "columns": 1, - "labelColumn": "DeviceName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "DeviceName", + "type": "nominal" + }, + "status": { + "field": "ExposureLevel", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } } } @@ -366,14 +378,22 @@ "{{configId}}" ], "title": "Medium Exposure", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "ExposureLevel", - "linkColumn": "none", - "columns": 1, - "labelColumn": "DeviceName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "DeviceName", + "type": "nominal" + }, + "status": { + "field": "ExposureLevel", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } } } @@ -433,14 +453,22 @@ "{{configId}}" ], "title": "Critical Vulnerabilities", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "VulnerabilitySeverityLevel", - "linkColumn": "none", - "columns": 1, - "labelColumn": "DeviceId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "DeviceId", + "type": "nominal" + }, + "status": { + "field": "VulnerabilitySeverityLevel", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } } } @@ -470,18 +498,32 @@ "{{configId}}" ], "title": "Non-Compliant Devices", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "DeviceName", - "FailingChecks", - "AvgImpact" - ], - "hiddenColumns": [ - "DeviceId", - "FailingChecks@odata.type" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "DeviceName", + "renderer": { + "type": "text" + } + }, + { + "field": "FailingChecks", + "align": "right", + "renderer": { + "type": "text" + } + }, + { + "field": "AvgImpact", + "align": "right", + "renderer": { + "type": "text" + } + } ] } } @@ -512,55 +554,45 @@ "{{configId}}" ], "title": "Device Exposure State", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "custom", - "customColors": [ - { - "color": "#88898C", - "expression": "label == \"No data\"" - }, - { - "color": "#259A51", - "expression": "label == \"None\"" - }, - { - "color": "#0075FF", - "expression": "label == \"Low\"" - }, - { - "color": "#E18700", - "expression": "label == \"Medium\"" - }, - { - "color": "#DE0038", - "expression": "label == \"High\"" - } - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "ExposureLevel", + "type": "nominal" }, - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" - }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "ExposureLevel", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": true, - "yAxisData": [ - "Devices" - ], - "showYAxisLabel": false, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": false + "y": { + "field": "Devices", + "type": "quantitative" + } + }, + "style": { + "legendPosition": "none", + "showLabels": true, + "cartesianColorRules": [ + { + "label": "No data", + "color": "#88898C" + }, + { + "label": "None", + "color": "#259A51" + }, + { + "label": "Low", + "color": "#0075FF" + }, + { + "label": "Medium", + "color": "#E18700" + }, + { + "label": "High", + "color": "#DE0038" + } + ] } } } diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json index 161f0039a..2e7226761 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json @@ -48,14 +48,16 @@ "{{configId}}" ], "title": "Active", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -105,12 +107,25 @@ "{{configId}}" ], "title": "Configuration Category", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "builtin_count_by_label", - "labelColumn": "ConfigurationCategory" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "ConfigurationCategory", + "type": "nominal" + }, + "value": { + "field": "ConfigurationCategory", + "type": "quantitative", + "aggregate": "count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16 } } } @@ -181,33 +196,22 @@ "{{configId}}" ], "title": "Configuration Impact", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "default" - }, - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "ConfigurationImpact_uniqueValues", + "type": "quantitative" }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "ConfigurationImpact_uniqueValues", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": false, - "yAxisData": [ - "count" - ], - "showYAxisLabel": false, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": false + "y": { + "field": "count", + "type": "quantitative" + } + }, + "style": { + "legendPosition": "none" } } } @@ -242,23 +246,83 @@ "{{configId}}" ], "title": "List", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "DeviceName", - "Timestamp", - "ConfigurationName", - "ConfigurationCategory", - "ConfigurationSubcategory", - "ConfigurationImpact", - "RiskDescription", - "RemediationOptions", - "IsApplicable", - "IsCompliant" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "DeviceName", + "renderer": { + "type": "text" + } + }, + { + "field": "Timestamp", + "renderer": { + "type": "text" + } + }, + { + "field": "ConfigurationName", + "renderer": { + "type": "text" + } + }, + { + "field": "ConfigurationCategory", + "renderer": { + "type": "text" + } + }, + { + "field": "ConfigurationSubcategory", + "renderer": { + "type": "text" + } + }, + { + "field": "ConfigurationImpact", + "align": "right", + "renderer": { + "type": "text" + } + }, + { + "field": "RiskDescription", + "renderer": { + "type": "text" + } + }, + { + "field": "RemediationOptions", + "renderer": { + "type": "text" + } + }, + { + "field": "IsApplicable", + "align": "right", + "renderer": { + "type": "text" + } + }, + { + "field": "IsCompliant", + "align": "right", + "renderer": { + "type": "text" + } + }, + { + "field": "count", + "align": "right", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/threatDetections.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/threatDetections.dash.json index fe275c628..d9673353c 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/threatDetections.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/threatDetections.dash.json @@ -52,15 +52,16 @@ "{{configId}}" ], "title": "Malware & Antivirus Detected", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -111,15 +112,16 @@ "{{configId}}" ], "title": "Persistence & Privilege Escalation", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -170,15 +172,16 @@ "{{configId}}" ], "title": "Application Control", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -229,15 +232,16 @@ "{{configId}}" ], "title": "Exploits", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "devices", + "scalarRowCount": true } } } @@ -288,13 +292,11 @@ "{{configId}}" ], "title": "Malware & Antivirus Detected", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [], - "hiddenColumns": [] - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } } @@ -344,16 +346,11 @@ "{{configId}}" ], "title": "Persistence & Privilege Escalation", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "DeviceName_uniqueValues", - "count" - ], - "hiddenColumns": [] - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } } @@ -403,16 +400,11 @@ "{{configId}}" ], "title": "Application Control", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "DeviceName_uniqueValues", - "count" - ], - "hiddenColumns": [] - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } } @@ -462,16 +454,11 @@ "{{configId}}" ], "title": "Exploits", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "DeviceName_uniqueValues", - "count" - ], - "hiddenColumns": [] - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } } diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json index dba91ad2f..e11e95082 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json @@ -43,14 +43,16 @@ "{{configId}}" ], "title": "Critical", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -95,14 +97,16 @@ "{{configId}}" ], "title": "High", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -154,49 +158,37 @@ "{{configId}}" ], "title": "Severity", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "custom", - "customColors": [ - { - "color": "#88898C", - "expression": "label == \"Low\"" - }, - { - "color": "#E18700", - "expression": "label == \"Medium\"\n" - }, - { - "color": "#DE0038", - "expression": "label == \"High\"" - }, - { - "color": "#000000", - "expression": "label == \"Critical\"" - } - ] - }, - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" - }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "VulnerabilitySeverityLevel_uniqueValues", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": true, - "yAxisData": [], - "showYAxisLabel": false, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "VulnerabilitySeverityLevel_uniqueValues", + "type": "nominal" + } + }, + "style": { + "legendPosition": "none", + "showLabels": true, + "cartesianColorRules": [ + { + "label": "Low", + "color": "#88898C" + }, + { + "label": "Medium", + "color": "#E18700" + }, + { + "label": "High", + "color": "#DE0038" + }, + { + "label": "Critical", + "color": "#000000" + } + ] } } } @@ -239,12 +231,25 @@ "{{configId}}" ], "title": "Affected Software", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "builtin_count_by_label", - "labelColumn": "SoftwareName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "SoftwareName", + "type": "nominal" + }, + "value": { + "field": "SoftwareName", + "type": "quantitative", + "aggregate": "count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16 } } } @@ -279,19 +284,36 @@ "{{configId}}" ], "title": "Vulnerabilities", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "SoftwareName", - "VulnerabilitySeverityLevel", - "CveTags", - "CveGuide" - ], - "hiddenColumns": [ - "DeviceName", - "CveId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "SoftwareName", + "renderer": { + "type": "text" + } + }, + { + "field": "VulnerabilitySeverityLevel", + "renderer": { + "type": "text" + } + }, + { + "field": "CveTags", + "renderer": { + "type": "text" + } + }, + { + "field": "CveGuide", + "renderer": { + "type": "link" + } + } ] } } diff --git a/plugins/MicrosoftDefender/v1/defaultContent/incidents.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/incidents.dash.json index f5f61ab74..6b64f564f 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/incidents.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/incidents.dash.json @@ -43,12 +43,20 @@ "{{configId}}" ], "title": "Active High Severity Incidents", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -102,12 +110,20 @@ "{{configId}}" ], "title": "Unassigned High Severity Incidents", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -154,33 +170,54 @@ "{{configId}}" ], "title": "High Severity Incidents by Status", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "default" - }, - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "status_uniqueValues", + "type": "nominal" }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "status_uniqueValues", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": true, - "yAxisData": [ - "count" - ], - "showYAxisLabel": false, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": false + "y": { + "field": "count", + "type": "quantitative" + } + }, + "style": { + "legendPosition": "none", + "showLabels": true, + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -226,33 +263,24 @@ "{{configId}}" ], "title": "Top 10 Active High Severity Incidents by Priority Score", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "default" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "displayName", + "type": "nominal" }, - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" - }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "displayName", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "horizontal", - "showValue": true, - "yAxisData": [ - "priorityScore" - ], - "showYAxisLabel": false, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": false + "y": { + "field": "priorityScore", + "type": "quantitative" + } + }, + "style": { + "legendPosition": "none", + "cartesianHorizontal": true, + "showLabels": true } } } @@ -286,31 +314,80 @@ "{{configId}}" ], "title": "High Severity Incidents List", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "id", - "tenantId", - "status", - "incidentWebUrl", - "redirectIncidentId", - "displayName", - "createdDateTime", - "lastUpdateDateTime", - "assignedTo", - "classification", - "determination", - "severity", - "description", - "lastModifiedBy", - "resolvingComment", - "summary", - "priorityScore", - "systemTags.0" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "id", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "renderer": { + "type": "text" + } + }, + { + "field": "displayName", + "renderer": { + "type": "text" + } + }, + { + "field": "createdDateTime", + "renderer": { + "type": "text" + } + }, + { + "field": "lastUpdateDateTime", + "renderer": { + "type": "text" + } + }, + { + "field": "assignedTo", + "renderer": { + "type": "text" + } + }, + { + "field": "classification", + "renderer": { + "type": "text" + } + }, + { + "field": "determination", + "renderer": { + "type": "text" + } + }, + { + "field": "severity", + "renderer": { + "type": "text" + } + }, + { + "field": "priorityScore", + "align": "right", + "renderer": { + "type": "text" + } + }, + { + "field": "customTags", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/MicrosoftDefender/v1/defaultContent/overview.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/overview.dash.json index 339be9a3f..1791618c9 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/overview.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/overview.dash.json @@ -70,12 +70,20 @@ "{{configId}}" ], "title": "Current Score %", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "score_ratio", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "score_ratio", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -114,12 +122,20 @@ "{{configId}}" ], "title": "Current Secure Score", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "currentScore", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "currentScore", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -151,18 +167,29 @@ "{{configId}}" ], "title": "Secure Score History", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "showYAxisLabel": false, - "seriesColumn": "averageComparativeScores", - "showTrendLine": true, - "xAxisColumn": "createdDateTime", - "yAxisColumn": [ - "currentScore" - ], - "showXAxisLabel": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "createdDateTime", + "type": "temporal" + }, + "y": { + "field": "currentScore", + "type": "quantitative" + }, + "series": { + "field": "averageComparativeScores", + "type": "nominal" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianTrendLine": true } } } @@ -207,12 +234,20 @@ "{{configId}}" ], "title": "Active High Severity Incidents", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -258,12 +293,20 @@ "{{configId}}" ], "title": "Active High Severity Alerts", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -314,30 +357,23 @@ "{{configId}}" ], "title": "Active High Severity Alerts by Service", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "serviceSource_uniqueValues", + "type": "nominal" }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "serviceSource_uniqueValues", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": true, - "yAxisData": [ - "count" - ], - "showYAxisLabel": false, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": false + "y": { + "field": "count", + "type": "quantitative" + } + }, + "style": { + "legendPosition": "none", + "showLabels": true } } } @@ -388,30 +424,23 @@ "{{configId}}" ], "title": "Active High Severity Alerts by Category", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "category_uniqueValues", + "type": "nominal" }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "category_uniqueValues", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": true, - "yAxisData": [ - "count" - ], - "showYAxisLabel": false, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": false + "y": { + "field": "count", + "type": "quantitative" + } + }, + "style": { + "legendPosition": "none", + "showLabels": true } } } @@ -449,46 +478,66 @@ "{{configId}}" ], "title": "Active High Severity Alerts List", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "title", - "severity", - "status", - "serviceSource", - "category", - "detectionSource", - "firstActivityDateTime", - "lastActivityDateTime", - "assignedTo" - ], - "hiddenColumns": [ - "id", - "providerAlertId", - "incidentId", - "classification", - "determination", - "detectorId", - "tenantId", - "description", - "recommendedActions", - "alertWebUrl", - "incidentWebUrl", - "actorDisplayName", - "threatDisplayName", - "threatFamilyName", - "mitreTechniques", - "createdDateTime", - "lastUpdateDateTime", - "resolvedDateTime", - "comments", - "evidence", - "systemTags", - "alertPolicyId", - "additionalData", - "productName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "title", + "renderer": { + "type": "text" + } + }, + { + "field": "severity", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceSource", + "renderer": { + "type": "text" + } + }, + { + "field": "category", + "renderer": { + "type": "text" + } + }, + { + "field": "detectionSource", + "renderer": { + "type": "text" + } + }, + { + "field": "firstActivityDateTime", + "renderer": { + "type": "text" + } + }, + { + "field": "lastActivityDateTime", + "renderer": { + "type": "text" + } + }, + { + "field": "assignedTo", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/MicrosoftDefender/v1/metadata.json b/plugins/MicrosoftDefender/v1/metadata.json index 7fb6d796f..e710dea1a 100644 --- a/plugins/MicrosoftDefender/v1/metadata.json +++ b/plugins/MicrosoftDefender/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "microsoft-defender", "displayName": "Microsoft Defender", - "version": "1.1.0", + "version": "1.1.1", "author": { "name": "SquaredUp Labs", "type": "labs" From 0787652a47c6af9f2f2966d3fe090deeeca7c9d6 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 14:29:48 +0000 Subject: [PATCH 2/4] Order Defender donut slices largest first, as classic does SmartViz pies keep data order unless told otherwise. Set the new pieSort option (SAAS-10600) to desc on every converted donut so slices match classic. Row-count scalars need no change: the same platform release draws 0 for an empty result. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01M7jt3xdZnDtUiTQHzT9QhN --- .../defaultContent/Advanced Hunting/recommendations.dash.json | 3 ++- .../defaultContent/Advanced Hunting/vulnerabilities.dash.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json index 2e7226761..f16946baf 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json @@ -125,7 +125,8 @@ "style": { "pieInnerRadius": 60, "pieDonutCenterValue": "total", - "labelFontSize": 16 + "labelFontSize": 16, + "pieSort": "desc" } } } diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json index e11e95082..23abff2bc 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/vulnerabilities.dash.json @@ -249,7 +249,8 @@ "style": { "pieInnerRadius": 60, "pieDonutCenterValue": "total", - "labelFontSize": 16 + "labelFontSize": 16, + "pieSort": "desc" } } } From aff5bce55790e9e5f60515061ebd265cb818694f Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 13 Nov 2026 09:12:45 +0000 Subject: [PATCH 3/4] Drop table columns the data does not return Curated classic tables (a column order plus a hidden list) only showed the columns the stream returned. The conversion also listed declared columns the author had not ordered or hidden, and SmartViz draws a listed column the data lacks as an empty one (e.g. DnsDomain on Device Status). Those tables now list the ordered columns plus any extra the live DEV data confirmed. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01M7jt3xdZnDtUiTQHzT9QhN --- .../Advanced Hunting/deviceStatus.dash.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json index a29bb57d4..2a35cb1f5 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/deviceStatus.dash.json @@ -347,12 +347,6 @@ "renderer": { "type": "text" } - }, - { - "field": "DnsDomain", - "renderer": { - "type": "text" - } } ] }, @@ -415,12 +409,6 @@ "renderer": { "type": "text" } - }, - { - "field": "DnsDomain", - "renderer": { - "type": "text" - } } ] }, From c5d2d6a71dbb41cac170dbafac62975c62418c01 Mon Sep 17 00:00:00 2001 From: Vincent Babin Date: Wed, 25 Nov 2026 12:04:44 +0000 Subject: [PATCH 4/4] Draw Configuration Impact levels as categories The x axis grouped by unique impact values was typed quantitative because the impact column is numeric. Each level is a category, as classic drew it, so type it nominal. Raised by CodeRabbit. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01M7jt3xdZnDtUiTQHzT9QhN --- .../defaultContent/Advanced Hunting/recommendations.dash.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json index f16946baf..3255eee68 100644 --- a/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json +++ b/plugins/MicrosoftDefender/v1/defaultContent/Advanced Hunting/recommendations.dash.json @@ -204,7 +204,7 @@ "encoding": { "x": { "field": "ConfigurationImpact_uniqueValues", - "type": "quantitative" + "type": "nominal" }, "y": { "field": "count",