diff --git a/ManageEngine-EndpointCentral/dataStreams/endpointCentralAllPatches.json b/ManageEngine-EndpointCentral/dataStreams/endpointCentralAllPatches.json new file mode 100644 index 00000000..2c9031c0 --- /dev/null +++ b/ManageEngine-EndpointCentral/dataStreams/endpointCentralAllPatches.json @@ -0,0 +1,64 @@ +{ + "name": "endpointCentralAllPatches", + "displayName": "Endpoint Central - All Patches", + "description": "Lists all the systems and their patch status.", + "baseDataSourceName": "httpRequestUnscoped", + "config": { + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "paging": { + "mode": "none" + }, + "expandInnerObjects": true, + "endpointPath": "/api/1.4/patch/allpatches", + "pathToData": "message_response.allpatches", + "getArgs": [], + "headers": [] + }, + "metadata": [ + { + "name": "platform_name", + "displayName": "OS" + }, + { + "name": "s.name", + "displayName": "Criticality" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "patch_released_time" + }, + { + "pattern": ".*" + } + ], + "providesPluginDiagnostics": true, + "timeframes": false, + "tags": [], + "defaultShaping": { + "filter": { + "multiOperation": "and", + "filters": [] + }, + "group": { + "by": [], + "aggregate": [] + }, + "sort": { + "top": 10, + "by": [ + [ + "missing", + "desc" + ] + ] + } + } +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/dataStreams/endpointCentralAllSystems.json b/ManageEngine-EndpointCentral/dataStreams/endpointCentralAllSystems.json new file mode 100644 index 00000000..f9c84774 --- /dev/null +++ b/ManageEngine-EndpointCentral/dataStreams/endpointCentralAllSystems.json @@ -0,0 +1,23 @@ +{ + "name": "endpointCentralAllSystems", + "displayName": "Endpoint Central - All Systems", + "description": "Lists all the systems and their patch status.", + "baseDataSourceName": "httpRequestUnscoped", + "config": { + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "paging": { + "mode": "none" + }, + "expandInnerObjects": true, + "endpointPath": "/api/1.4/patch/allsystems", + "pathToData": "message_response.allsystems", + "getArgs": [], + "headers": [] + }, + "providesPluginDiagnostics": true, + "timeframes": false, + "tags": [] +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/dataStreams/endpointCentralPatchSummary.json b/ManageEngine-EndpointCentral/dataStreams/endpointCentralPatchSummary.json new file mode 100644 index 00000000..9b704d2f --- /dev/null +++ b/ManageEngine-EndpointCentral/dataStreams/endpointCentralPatchSummary.json @@ -0,0 +1,23 @@ +{ + "name": "endpointCentralPatchSummary", + "displayName": "Endpoint Central - Patch Summary", + "description": "Provides summaries for patch module like health status summary, scan summary etc.", + "baseDataSourceName": "httpRequestUnscoped", + "config": { + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "paging": { + "mode": "none" + }, + "expandInnerObjects": true, + "endpointPath": "/api/1.4/patch/summary", + "pathToData": "message_response.summary", + "getArgs": [], + "headers": [] + }, + "providesPluginDiagnostics": true, + "timeframes": false, + "tags": [] +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/dataStreams/httprequestunscoped.json b/ManageEngine-EndpointCentral/dataStreams/httprequestunscoped.json new file mode 100644 index 00000000..4047e208 --- /dev/null +++ b/ManageEngine-EndpointCentral/dataStreams/httprequestunscoped.json @@ -0,0 +1,14 @@ +{ + "name": "httprequestunscoped", + "displayName": "Queries per tenant (Segment)", + "baseDataSourceName": "httpRequestUnscoped", + "config": { + "httpMethod": "get", + "endpointPath": "", + "pathToData": "", + "expandInnerObjects": false, + "headers": [], + "getArgs": [] + }, + "timeframes": true +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/manifest.json b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/manifest.json new file mode 100644 index 00000000..8ff25b9f --- /dev/null +++ b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/manifest.json @@ -0,0 +1,16 @@ +{ + "items": [ + { + "name": "patchStatus", + "type": "dashboard" + }, + { + "name": "patchVulnerabilty", + "type": "dashboard" + }, + { + "name": "rebootRequired", + "type": "dashboard" + } + ] +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/patchStatus.dash.json b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/patchStatus.dash.json new file mode 100644 index 00000000..7d87c2b4 --- /dev/null +++ b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/patchStatus.dash.json @@ -0,0 +1,691 @@ +{ + "name": "Patch Status", + "schemaVersion": "1.5", + "dashboard": { + "_type": "layout/grid", + "contents": [ + { + "static": false, + "w": 3, + "moved": false, + "h": 3, + "x": 3, + "y": 0, + "i": "04a08963-f760-4e93-babb-3ab2a67218dc", + "z": 0, + "config": { + "_type": "tile/data-stream", + "description": "", + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Systems Summary", + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "/api/1.4/patch/summary", + "headers": [], + "pathToData": "message_response.summary", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "\r\nSELECT \r\n \"system_summary.healthy_systems\" AS value,\r\n 'Healthy' AS label\r\nFROM dataset1\r\n\r\nUNION ALL\r\nSELECT \r\n \"system_summary.moderately_vulnerable_systems\" AS value,\r\n 'Moderately Vulnerable' AS label\r\nFROM dataset1\r\n\r\nUNION ALL\r\nSELECT \r\n \"system_summary.highly_vulnerable_systems\" AS value,\r\n 'Highly Vulnerable' AS label\r\nFROM dataset1\r\n\r\nUNION ALL\r\nSELECT \r\n \"system_summary.health_unknown_systems\" AS value,\r\n 'Unknown' AS label\r\nFROM dataset1;\r\n" + }, + "metadata": [ + { + "shape": [ + "number", + { + "decimalPlaces": 0 + } + ], + "name": "value" + }, + { + "shape": [ + "state", + { + "map": { + "warning": [ + "Moderately Vulnerable" + ], + "unmonitored": [], + "error": [ + "Highly Vulnerable" + ], + "success": [ + "Healthy" + ], + "unknown": [ + "Unknown" + ] + } + } + ], + "name": "label" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "visualisation": { + "type": "data-stream-blocks", + "config": { + "data-stream-blocks": { + "stateColumn": "label", + "linkColumn": "none", + "columns": 2, + "sublabel": "value", + "labelColumn": "label[Expanded].rawState" + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 3, + "x": 0, + "y": 0, + "i": "aaa4190b-4dfc-4436-8874-0438f22afbcd", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "timeframe": "last24hours", + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "endpointCentralPatchSummary", + "id": "{{dataStreams.endpointCentralPatchSummary}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "SELECT \r\n\r\n\r\n ROUND(\r\n (\r\n (\"system_summary.total_systems\" \r\n - \"missing_patch_severity_summary.critical_count\")::DOUBLE\r\n / \"system_summary.total_systems\"::DOUBLE\r\n ) * 100,\r\n 0\r\n ) AS percent_not_missing_critical\r\nFROM dataset1;" + }, + "metadata": [ + { + "shape": [ + "percent", + { + "decimalPlaces": 0, + "asZeroToOne": false + } + ], + "name": "percent_not_missing_critical" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "KPI is 95%", + "monitor": { + "tileRollsUp": true, + "monitorType": "threshold", + "condition": { + "columns": [ + "percent_not_missing_critical" + ], + "logic": { + "if": [ + { + "<": [ + { + "var": "top" + }, + 90 + ] + }, + "error", + { + "<": [ + { + "var": "top" + }, + 95 + ] + }, + "warning" + ] + } + }, + "_type": "simple", + "column": "percent_not_missing_critical", + "aggregation": "top", + "groupBy": "__group_by_none__", + "frequency": 5 + }, + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Total Installed", + "visualisation": { + "type": "data-stream-scalar", + "config": { + "data-stream-scalar": { + "comparisonColumn": "none", + "label": "Critical", + "value": "percent_not_missing_critical", + "labelPosition": "top", + "formatted": true + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 3, + "x": 1, + "y": 0, + "i": "97fce299-4344-4c64-9ab6-9404eb520233", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "timeframe": "last24hours", + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "/api/1.4/patch/summary", + "headers": [], + "pathToData": "message_response.summary", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "\r\nSELECT\r\n ROUND(\r\n (\r\n (\"system_summary.total_systems\" \r\n - \"missing_patch_severity_summary.important_count\")::DOUBLE\r\n / \"system_summary.total_systems\"::DOUBLE\r\n ) * 100,\r\n 0\r\n ) AS percent_not_missing_important\r\nFROM dataset1;\r\n" + }, + "metadata": [ + { + "shape": [ + "percent", + { + "decimalPlaces": 0, + "asZeroToOne": false + } + ], + "name": "percent_not_missing_important" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "KPI is 95%", + "monitor": { + "tileRollsUp": true, + "monitorType": "threshold", + "condition": { + "columns": [ + "percent_not_missing_important" + ], + "logic": { + "if": [ + { + "<": [ + { + "var": "top" + }, + 90 + ] + }, + "error", + { + "<": [ + { + "var": "top" + }, + 95 + ] + }, + "warning" + ] + } + }, + "_type": "simple", + "column": "percent_not_missing_important", + "aggregation": "top", + "groupBy": "__group_by_none__", + "frequency": 15 + }, + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Total Installed", + "visualisation": { + "type": "data-stream-scalar", + "config": { + "data-stream-scalar": { + "comparisonColumn": "none", + "label": "Important", + "value": "percent_not_missing_critical", + "labelPosition": "top", + "formatted": true + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 3, + "x": 2, + "y": 0, + "i": "36cb8c49-6f07-4da4-ab2c-dd665b6a8218", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "timeframe": "last24hours", + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "/api/1.4/patch/summary", + "headers": [], + "pathToData": "message_response.summary", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "\r\nSELECT\r\n ROUND(\r\n (\r\n (\"system_summary.total_systems\" \r\n - \"missing_patch_severity_summary.moderate_count\")::DOUBLE\r\n / \"system_summary.total_systems\"::DOUBLE\r\n ) * 100,\r\n 0\r\n ) AS percent_not_missing_moderate\r\nFROM dataset1;\r\n" + }, + "metadata": [ + { + "shape": [ + "percent", + { + "decimalPlaces": 0, + "asZeroToOne": false + } + ], + "name": "percent_not_missing_moderate" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "KPI is 95%", + "monitor": { + "tileRollsUp": true, + "monitorType": "threshold", + "condition": { + "columns": [ + "percent_not_missing_moderate" + ], + "logic": { + "if": [ + { + "<": [ + { + "var": "top" + }, + 90 + ] + }, + "error", + { + "<": [ + { + "var": "top" + }, + 95 + ] + }, + "warning" + ] + } + }, + "_type": "simple", + "column": "percent_not_missing_moderate", + "aggregation": "top", + "groupBy": "__group_by_none__", + "frequency": 15 + }, + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Total Installed", + "visualisation": { + "type": "data-stream-scalar", + "config": { + "data-stream-scalar": { + "comparisonColumn": "none", + "label": "Moderate", + "value": "percent_not_missing_critical", + "labelPosition": "top", + "formatted": true + } + } + } + } + }, + { + "static": false, + "w": 3, + "moved": false, + "h": 3, + "x": 3, + "y": 3, + "i": "78309120-401e-40c0-b92f-5c2da98dd903", + "z": 0, + "config": { + "_type": "tile/data-stream", + "description": "", + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Breakdown of Missing Patches", + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "/api/1.4/patch/summary", + "headers": [], + "pathToData": "message_response.summary", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "\r\nWITH s AS (\r\n SELECT\r\n COALESCE(\"missing_patch_severity_summary.total_count\", 0) AS total_count,\r\n COALESCE(\"missing_patch_severity_summary.critical_count\", 0) AS critical_count,\r\n COALESCE(\"missing_patch_severity_summary.important_count\", 0) AS important_count,\r\n COALESCE(\"missing_patch_severity_summary.moderate_count\", 0) AS moderate_count,\r\n COALESCE(\"missing_patch_severity_summary.low_count\", 0) AS low_count,\r\n COALESCE(\"missing_patch_severity_summary.unrated_count\", 0) AS unrated_count\r\n FROM dataset1\r\n)\r\n\r\n-- Percentages as strings with 2 decimals and a % sign\r\nSELECT printf('%.2f%%',\r\n CASE WHEN total_count > 0 THEN 100.0 * critical_count / total_count ELSE 0 END) AS value,\r\n 'Critical' AS label\r\nFROM s\r\n\r\nUNION ALL\r\nSELECT printf('%.2f%%',\r\n CASE WHEN total_count > 0 THEN 100.0 * important_count / total_count ELSE 0 END) AS value,\r\n 'Important' AS label\r\nFROM s\r\n\r\nUNION ALL\r\nSELECT printf('%.2f%%',\r\n CASE WHEN total_count > 0 THEN 100.0 * moderate_count / total_count ELSE 0 END) AS value,\r\n 'Moderate' AS label\r\nFROM s\r\n\r\nUNION ALL\r\nSELECT printf('%.2f%%',\r\n CASE WHEN total_count > 0 THEN 100.0 * low_count / total_count ELSE 0 END) AS value,\r\n 'Low' AS label\r\nFROM s\r\n\r\nUNION ALL\r\nSELECT printf('%.2f%%',\r\n CASE WHEN total_count > 0 THEN 100.0 * unrated_count / total_count ELSE 0 END) AS value,\r\n 'Unrated' AS label\r\nFROM s\r\n\r\nUNION ALL\r\n-- Total Count as a string with 0 decimals (no % sign)\r\nSELECT printf('%.0f', CAST(total_count AS DOUBLE)) AS value,\r\n 'Total Count' AS label\r\nFROM s;\r\n" + }, + "metadata": [ + { + "shape": [ + "percent", + { + "decimalPlaces": 2, + "asZeroToOne": false + } + ], + "name": "critical_pct" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "visualisation": { + "type": "data-stream-blocks", + "config": { + "data-stream-blocks": { + "linkColumn": "none", + "sublabel": "value", + "columns": 3, + "labelColumn": "label" + } + } + } + } + }, + { + "static": false, + "w": 3, + "moved": false, + "h": 3, + "x": 0, + "y": 3, + "i": "330afd71-bfce-40a8-acb8-8a10c3f7de79", + "z": 0, + "config": { + "_type": "tile/data-stream", + "description": "", + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Missing Patch Severity", + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "/api/1.4/patch/summary", + "headers": [], + "pathToData": "message_response.summary", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "\r\nSELECT \r\n \"missing_patch_severity_summary.moderate_count\" AS value,\r\n 'Moderate' AS label\r\nFROM dataset1\r\n\r\nUNION ALL\r\nSELECT \r\n \"missing_patch_severity_summary.unrated_count\" AS value,\r\n 'Unrated' AS label\r\nFROM dataset1\r\n\r\nUNION ALL\r\nSELECT \r\n \"missing_patch_severity_summary.critical_count\" AS value,\r\n 'Critical' AS label\r\nFROM dataset1\r\n\r\nUNION ALL\r\nSELECT \r\n \"missing_patch_severity_summary.important_count\" AS value,\r\n 'Important' AS label\r\nFROM dataset1\r\n\r\nUNION ALL\r\nSELECT \r\n \"missing_patch_severity_summary.low_count\" AS value,\r\n 'Low' AS label\r\nFROM dataset1;\r\n" + }, + "metadata": [ + { + "shape": [ + "number", + { + "decimalPlaces": 0 + } + ], + "name": "value" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "visualisation": { + "type": "data-stream-donut-chart", + "config": { + "data-stream-donut-chart": { + "valueColumn": "value", + "labelColumn": "label" + } + } + } + } + }, + { + "static": false, + "w": 6, + "moved": false, + "h": 3, + "x": 0, + "y": 6, + "i": "fcc5df5f-c1ff-4e97-9534-5af204f7c9ae", + "z": 0, + "config": { + "timeframe": "last24hours", + "dataStream": { + "name": "endpointCentralAllPatches", + "filter": { + "multiOperation": "and", + "filters": [] + }, + "id": "{{dataStreams.endpointCentralAllPatches}}", + "sort": { + "top": 10, + "by": [ + [ + "missing", + "desc" + ] + ] + }, + "group": { + "by": [], + "aggregate": [] + }, + "pluginConfigId": "{{configId}}" + }, + "_type": "tile/data-stream", + "description": "", + "activePluginConfigIds": [ + "{{configId}}" + ], + "baseTile": "data-stream-base-tile", + "title": "Top Missing Patches", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "patch_released_time", + "platform_name", + "missing", + "s.name", + "patch_name", + "patch_description" + ], + "resizedColumns": { + "columnWidths": { + "platform_name": 135 + } + }, + "hiddenColumns": [ + "au.first_name", + "bulletin_id", + "cps.status_id", + "cps.updated_time", + "installed", + "patch_id", + "patch_noreboot", + "patch_size", + "patch_supported_time", + "patch_uninstall_status", + "platform", + "severity", + "severity_name", + "sqnumber", + "status_id", + "status_image", + "status_label", + "superceded_by", + "vendor_name", + "failed", + "update_name" + ] + } + } + } + } + } + ], + "version": 204, + "columns": 6 + } +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/patchVulnerabilty.dash.json b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/patchVulnerabilty.dash.json new file mode 100644 index 00000000..31a84474 --- /dev/null +++ b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/patchVulnerabilty.dash.json @@ -0,0 +1,654 @@ +{ + "name": "Patch Vulnerabilty", + "schemaVersion": "1.5", + "dashboard": { + "_type": "layout/grid", + "contents": [ + { + "static": false, + "w": 1, + "moved": false, + "h": 4, + "x": 0, + "y": 0, + "i": "074d61fc-5f5c-45d8-9353-1bb4d68a272a", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "endpointCentralAllSystems", + "id": "{{dataStreams.endpointCentralAllSystems}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "SELECT \r\n CASE\r\n WHEN computer_live_status = 1 THEN 'Live'\r\n ELSE 'Down'\r\n END AS State,\r\n resource_name AS system_name,\r\n Owner AS Owner,\r\n agent_last_contact_time AS 'Last Contact',\r\n critical_patch_count AS 'Critical',\r\n important_patch_count AS 'Important'\r\nFROM dataset1\r\nWHERE resource_health_status = 3\r\nORDER BY resource_name" + }, + "metadata": [ + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "Last Contact" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "1+ Critical or 2+ Important severity patches missing", + "activePluginConfigIds": [ + "{{configId}}" + ], + "baseTile": "data-stream-base-tile", + "title": "Highly Vulnerable Systems", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "State", + "system_name", + "Owner", + "Last Contact", + "Critical", + "Important" + ], + "resizedColumns": { + "columnWidths": { + "critical_patch_count": 94 + } + }, + "hiddenColumns": [ + "computer_state[Expanded].rawState" + ] + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 4, + "x": 2, + "y": 0, + "i": "91ff7fda-ac3f-465c-b2a9-6663462c23d1", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "headers": [], + "pathToData": "message_response.allsystems", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "SELECT \r\n CASE\r\n WHEN computer_live_status = 1 THEN 'Live'\r\n ELSE 'Down'\r\n END AS State,\r\n resource_name AS system_name,\r\n Owner,\r\n critical_patch_count AS 'Critical',\r\n important_patch_count AS 'Important'\r\nFROM dataset1\r\nWHERE resource_health_status IS NULL\r\nORDER BY resource_name\r\n\r\n" + }, + "metadata": [ + { + "shape": [ + "state", + { + "map": { + "warning": [], + "unmonitored": [], + "error": [ + "Down" + ], + "success": [ + "Live" + ], + "unknown": [] + } + } + ], + "name": "computer_state" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "Likely need agent reinstalling", + "activePluginConfigIds": [ + "{{configId}}" + ], + "baseTile": "data-stream-base-tile", + "title": "Unknown Vulnerability Systems", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "State", + "system_name", + "owner", + "Critical", + "Important" + ], + "resizedColumns": { + "columnWidths": { + "critical_patch_count": 94 + } + }, + "hiddenColumns": [ + "computer_state[Expanded].rawState" + ] + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 4, + "x": 1, + "y": 0, + "i": "a4badb3c-9f73-4bf8-af56-608fc01c2141", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "headers": [], + "pathToData": "message_response.allsystems", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "\r\nSELECT \r\n CASE\r\n WHEN computer_live_status = 1 THEN 'Live'\r\n ELSE 'Down'\r\n END AS State,\r\n resource_name AS system_name,\r\n Owner,\r\n moderate_patch_count AS 'Moderate',\r\n low_patch_count AS 'Low'\r\nFROM dataset1\r\nWHERE resource_health_status = 2\r\nORDER BY resource_name\r\n" + }, + "metadata": [ + { + "shape": [ + "state", + { + "map": { + "warning": [], + "unmonitored": [], + "error": [ + "Down" + ], + "success": [ + "Live" + ], + "unknown": [] + } + } + ], + "name": "computer_state" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "3+ Moderate or 4+ Low severity patches missing", + "activePluginConfigIds": [ + "{{configId}}" + ], + "baseTile": "data-stream-base-tile", + "title": "Moderately Vulnerable Systems", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [], + "resizedColumns": { + "columnWidths": { + "owner": 307, + "critical_patch_count": 94, + "Critical": 74, + "Important": 94 + } + }, + "hiddenColumns": [ + "computer_state[Expanded].rawState" + ] + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 6, + "x": 1, + "y": 4, + "i": "aa8c74f3-270d-47e2-bd95-41088cc97d6c", + "z": 0, + "config": { + "timeframe": "last24hours", + "dataStream": { + "pluginConfigId": "{{configId}}", + "filter": { + "multiOperation": "and", + "filters": [ + { + "column": "agent_last_contact_time", + "tenseUnit": "before", + "unit": "days", + "operation": "datemorethan", + "value": "14" + } + ] + }, + "metadata": [ + { + "name": "agent_logged_on_users", + "displayName": "Logged On Users" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "last_patched_time" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "agent_last_contact_time", + "displayName": "Last Contact" + }, + { + "pattern": ".*" + } + ], + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "pathToData": "message_response.allsystems", + "headers": [], + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "sort": {}, + "group": { + "by": [], + "aggregate": [] + } + }, + "_type": "tile/data-stream", + "description": "", + "activePluginConfigIds": [ + "{{configId}}" + ], + "baseTile": "data-stream-base-tile", + "title": "Systems Offline for 15+ Days", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [], + "resizedColumns": { + "columnWidths": { + "resource_name": 152, + "agent_logged_on_users": 208, + "agent_last_contact_time": 146 + } + }, + "hiddenColumns": [ + "total_driver_patches", + "resource_health_status", + "missing_bios_patches", + "os_language", + "branchmemberresourcerel.resource_id", + "branch_office_id", + "last_patched_time", + "os_platform_name", + "resource_id_string", + "pmreshealthstatus.resource_id", + "customerinfo.customer_id", + "installed_tp_patches", + "installed_ms_patches", + "important_patch_count", + "service_pack", + "resourcetorebootdetails.resource_id", + "pmresourcepatchcount.resource_id", + "resourcetorebootdetails.reboot_req_status", + "os_language_abbr", + "resourcedeploymentstatus.resource_id", + "scan_remarks", + "os_platform", + "agent_last_ds_contact_time", + "missing_driver_patches", + "total_ms_patches", + "osflavor_id", + "search_tag", + "status_label", + "owner_email_id", + "missing_ms_patches", + "last_action_initiated_on", + "missing_tp_patches", + "low_patch_count", + "patchmgmtosinfo.resource_id", + "last_successful_scan", + "computer_status_update_time", + "branch_office_name", + "total_tp_patches", + "description", + "critical_patch_count", + "installed_bios_patches", + "domain_netbios_name", + "total_bios_patches", + "fqdn_name", + "installed_driver_patches", + "mac_address", + "resource.resource_id", + "shutdown_status_update_time", + "moderate_patch_count", + "scan_status", + "managedcomputer.friendly_name", + "timezone_offset", + "oslanguage.languageid", + "last_sync_time", + "deployment_status", + "oslanguage.i18n", + "ip_address", + "shutdown_status", + "agent_last_bootup_time", + "resource_id", + "os_name", + "location", + "computer_live_status", + "customer_name", + "last_scan_time", + "customer_id", + "remarks", + "last_operation", + "status_image", + "agent_logged_on_users" + ] + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 4, + "x": 0, + "y": 4, + "i": "e7af8d6c-ced5-4e82-8382-32a0365fdb5c", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "headers": [], + "pathToData": "message_response.allsystems", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "SELECT \r\n CASE\r\n WHEN computer_live_status = 1 THEN 'Live'\r\n ELSE 'Down'\r\n END AS State,\r\n resource_name AS system_name,\r\n Owner,\r\n critical_patch_count AS 'Critical',\r\n important_patch_count AS 'Important'\r\nFROM dataset1\r\nORDER BY resource_name\r\n\r\n" + }, + "metadata": [ + { + "shape": [ + "state", + { + "map": { + "warning": [], + "unmonitored": [], + "error": [ + "Down" + ], + "success": [ + "Live" + ], + "unknown": [] + } + } + ], + "name": "computer_state" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "", + "activePluginConfigIds": [ + "{{configId}}" + ], + "baseTile": "data-stream-base-tile", + "title": "Deployment Failed", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "State", + "system_name", + "owner", + "Critical", + "Important" + ], + "resizedColumns": { + "columnWidths": { + "owner": 90, + "critical_patch_count": 94 + } + }, + "hiddenColumns": [ + "computer_state[Expanded].rawState" + ] + } + } + } + } + }, + { + "static": false, + "w": 1, + "moved": false, + "h": 6, + "x": 2, + "y": 4, + "i": "f740d8e0-3153-4ade-b08f-ab4752c5b667", + "z": 0, + "config": { + "dataStream": { + "dataSourceConfig": { + "version": "2.0", + "tables": [ + { + "config": { + "activePluginConfigIds": [ + "{{configId}}" + ], + "dataStream": { + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "headers": [], + "pathToData": "message_response.allsystems", + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "errorHandling": { + "type": "default" + }, + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "pluginConfigId": "{{configId}}" + } + }, + "tableName": "dataset1" + } + ], + "sql": "SELECT \r\n CASE\r\n WHEN computer_live_status = 1 THEN 'Live'\r\n ELSE 'Down'\r\n END AS State,\r\n resource_name AS system_name,\r\n Owner,\r\n critical_patch_count AS 'Critical',\r\n important_patch_count AS 'Important'\r\nFROM dataset1\r\nORDER BY resource_name\r\n\r\n" + }, + "metadata": [ + { + "shape": [ + "state", + { + "map": { + "warning": [], + "unmonitored": [], + "error": [ + "Down" + ], + "success": [ + "Live" + ], + "unknown": [] + } + } + ], + "name": "computer_state" + }, + { + "pattern": ".*" + } + ], + "id": "datastream-sql" + }, + "_type": "tile/data-stream", + "description": "Number of machines that require a reboot following patching", + "activePluginConfigIds": [ + "{{configId}}" + ], + "baseTile": "data-stream-base-tile", + "title": "Healthy Systems", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "State", + "system_name", + "owner", + "Critical", + "Important" + ], + "resizedColumns": { + "columnWidths": { + "critical_patch_count": 94 + } + }, + "hiddenColumns": [ + "computer_state[Expanded].rawState" + ] + } + } + } + } + } + ], + "version": 128, + "columns": 3 + } +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/rebootRequired.dash.json b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/rebootRequired.dash.json new file mode 100644 index 00000000..bf6764f0 --- /dev/null +++ b/ManageEngine-EndpointCentral/defaultContent/Endpoint Central/rebootRequired.dash.json @@ -0,0 +1,667 @@ +{ + "name": "Reboot Required", + "schemaVersion": "1.5", + "dashboard": { + "_type": "layout/grid", + "contents": [ + { + "static": false, + "w": 2, + "moved": false, + "h": 9, + "x": 3, + "y": 0, + "i": "271a26e8-91de-4117-aa56-8ba8380f376d", + "z": 0, + "config": { + "timeframe": "last24hours", + "dataStream": { + "pluginConfigId": "{{configId}}", + "filter": { + "multiOperation": "and", + "filters": [ + { + "column": "resourcetorebootdetails.reboot_req_status", + "operation": "equals", + "value": "true" + }, + { + "column": "service_pack", + "operation": "contains", + "value": "Windows" + }, + { + "column": "service_pack", + "operation": "contains", + "value": "Server" + } + ] + }, + "metadata": [ + { + "shape": [ + "state", + { + "map": { + "warning": [], + "unmonitored": [], + "error": [ + "2" + ], + "success": [ + "1" + ], + "unknown": [] + } + } + ], + "name": "computer_live_status" + }, + { + "shape": [ + "state", + { + "map": { + "warning": [ + "2" + ], + "unmonitored": [], + "error": [ + "3" + ], + "success": [ + "1" + ], + "unknown": [] + } + } + ], + "name": "resource_health_status" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "last_patched_time" + }, + { + "shape": [ + "date", + { + "format": "dd/mm/yyyy", + "timeZone": "Etc/UTC" + } + ], + "name": "agent_last_bootup_time" + }, + { + "pattern": ".*" + } + ], + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "pathToData": "message_response.allsystems", + "headers": [], + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "sort": { + "by": [ + [ + "os_name_uniqueValues", + "asc" + ] + ] + }, + "group": { + "by": [], + "aggregate": [] + } + }, + "_type": "tile/data-stream", + "description": "Number of machines that require a reboot following patching", + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Windows Servers", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "resource_name", + "last_patched_time", + "agent_last_bootup_time", + "computer_live_status", + "resource_health_status" + ], + "columnDisplayNames": {}, + "hiddenColumns": [ + "os_language", + "resource_id_string", + "branchmemberresourcerel.resource_id", + "branch_office_name", + "branch_office_id", + "mac_address", + "oslanguage.i18n", + "pmreshealthstatus.resource_id", + "customerinfo.customer_id", + "ip_address", + "resource_id", + "customer_name", + "status_image", + "pmresourcepatchcount.resource_id", + "os_language_abbr", + "resourcedeploymentstatus.resource_id", + "scan_remarks", + "os_platform", + "agent_logged_on_users", + "osflavor_id", + "search_tag", + "owner_email_id", + "patchmgmtosinfo.resource_id", + "description", + "fqdn_name", + "resource.resource_id", + "owner", + "timezone_offset", + "oslanguage.languageid", + "last_sync_time", + "location", + "customer_id", + "remarks", + "last_operation", + "agent_last_contact_time", + "agent_last_ds_contact_time", + "deployment_status", + "domain_netbios_name", + "installed_bios_patches", + "installed_driver_patches", + "installed_ms_patches", + "installed_tp_patches", + "last_action_initiated_on", + "last_scan_time", + "last_successful_scan", + "low_patch_count", + "missing_bios_patches", + "missing_driver_patches", + "critical_patch_count", + "important_patch_count", + "os_name", + "os_platform_name", + "resourcetorebootdetails.reboot_req_status", + "resourcetorebootdetails.resource_id", + "scan_status", + "service_pack", + "shutdown_status", + "shutdown_status_update_time", + "status_label", + "total_bios_patches", + "total_driver_patches", + "total_ms_patches", + "total_tp_patches", + "missing_ms_patches", + "missing_tp_patches", + "moderate_patch_count", + "resource_health_status[Expanded].rawState", + "computer_live_status[Expanded].rawState", + "managedcomputer.friendly_name", + "computer_status_update_time" + ] + } + } + } + } + }, + { + "static": false, + "w": 3, + "moved": false, + "h": 3, + "x": 0, + "y": 0, + "i": "9632cd8f-e442-48d2-8c93-cb412909c0bc", + "z": 0, + "config": { + "timeframe": "last24hours", + "dataStream": { + "pluginConfigId": "{{configId}}", + "filter": { + "multiOperation": "and", + "filters": [ + { + "column": "resourcetorebootdetails.reboot_req_status", + "operation": "equals", + "value": "true" + }, + { + "column": "service_pack", + "operation": "contains", + "value": "Windows" + }, + { + "column": "service_pack", + "operation": "notcontains", + "value": "Server" + }, + { + "column": "agent_last_bootup_time", + "tenseUnit": "before", + "unit": "days", + "operation": "datemorethan", + "value": "7" + } + ] + }, + "metadata": [ + { + "shape": [ + "state", + { + "map": { + "warning": [], + "unmonitored": [], + "error": [ + "2" + ], + "success": [ + "1" + ], + "unknown": [] + } + } + ], + "name": "computer_live_status" + }, + { + "shape": [ + "state", + { + "map": { + "warning": [ + "2" + ], + "unmonitored": [], + "error": [ + "3" + ], + "success": [ + "1" + ], + "unknown": [] + } + } + ], + "name": "resource_health_status" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "last_patched_time" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "agent_last_bootup_time" + }, + { + "pattern": ".*" + } + ], + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "pathToData": "message_response.allsystems", + "headers": [], + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "sort": { + "by": [ + [ + "os_name_uniqueValues", + "asc" + ] + ] + }, + "group": { + "by": [], + "aggregate": [] + } + }, + "_type": "tile/data-stream", + "description": "More than 7 days since rebooting", + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Windows Laptops >7Days", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "resource_name", + "last_patched_time", + "agent_last_bootup_time", + "owner", + "computer_live_status", + "resource_health_status" + ], + "columnDisplayNames": {}, + "hiddenColumns": [ + "os_language", + "resource_id_string", + "branchmemberresourcerel.resource_id", + "branch_office_name", + "branch_office_id", + "mac_address", + "oslanguage.i18n", + "pmreshealthstatus.resource_id", + "customerinfo.customer_id", + "ip_address", + "resource_id", + "customer_name", + "status_image", + "pmresourcepatchcount.resource_id", + "os_language_abbr", + "resourcedeploymentstatus.resource_id", + "scan_remarks", + "os_platform", + "osflavor_id", + "search_tag", + "owner_email_id", + "patchmgmtosinfo.resource_id", + "description", + "resource.resource_id", + "timezone_offset", + "oslanguage.languageid", + "last_sync_time", + "location", + "customer_id", + "remarks", + "last_operation", + "agent_last_contact_time", + "agent_last_ds_contact_time", + "computer_status_update_time", + "deployment_status", + "domain_netbios_name", + "installed_bios_patches", + "installed_driver_patches", + "installed_ms_patches", + "installed_tp_patches", + "last_action_initiated_on", + "last_scan_time", + "last_successful_scan", + "low_patch_count", + "missing_bios_patches", + "missing_driver_patches", + "critical_patch_count", + "important_patch_count", + "os_name", + "os_platform_name", + "resourcetorebootdetails.reboot_req_status", + "resourcetorebootdetails.resource_id", + "scan_status", + "service_pack", + "shutdown_status", + "shutdown_status_update_time", + "status_label", + "total_bios_patches", + "total_driver_patches", + "total_ms_patches", + "total_tp_patches", + "missing_ms_patches", + "missing_tp_patches", + "moderate_patch_count", + "resource_health_status[Expanded].rawState", + "computer_live_status[Expanded].rawState", + "managedcomputer.friendly_name", + "fqdn_name", + "agent_logged_on_users" + ] + } + } + } + } + }, + { + "static": false, + "w": 3, + "moved": false, + "h": 6, + "x": 0, + "y": 3, + "i": "be5a2e23-d89c-436b-a54f-967963c313b4", + "z": 0, + "config": { + "timeframe": "last24hours", + "dataStream": { + "pluginConfigId": "{{configId}}", + "filter": { + "multiOperation": "and", + "filters": [ + { + "column": "resourcetorebootdetails.reboot_req_status", + "operation": "equals", + "value": "true" + }, + { + "column": "service_pack", + "operation": "contains", + "value": "Windows" + }, + { + "column": "service_pack", + "operation": "notcontains", + "value": "Server" + } + ] + }, + "metadata": [ + { + "shape": [ + "state", + { + "map": { + "warning": [], + "unmonitored": [], + "error": [ + "2" + ], + "success": [ + "1" + ], + "unknown": [] + } + } + ], + "name": "computer_live_status" + }, + { + "shape": [ + "state", + { + "map": { + "warning": [ + "2" + ], + "unmonitored": [], + "error": [ + "3" + ], + "success": [ + "1" + ], + "unknown": [] + } + } + ], + "name": "resource_health_status" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "last_patched_time" + }, + { + "shape": [ + "date", + { + "timeZone": "Etc/UTC" + } + ], + "name": "agent_last_bootup_time" + }, + { + "pattern": ".*" + } + ], + "name": "configurableHttpRequestV2", + "dataSourceConfig": { + "endpointPath": "api/1.4/patch/allsystems", + "pathToData": "message_response.allsystems", + "headers": [], + "paging": { + "mode": "none" + }, + "httpMethod": "get", + "getArgs": [] + }, + "id": "{{dataStreams.configurableHttpRequestV2}}", + "sort": { + "by": [ + [ + "os_name_uniqueValues", + "asc" + ] + ] + }, + "group": { + "by": [], + "aggregate": [] + } + }, + "_type": "tile/data-stream", + "description": "Number of machines that require a reboot following patching", + "activePluginConfigIds": [ + "{{configId}}" + ], + "title": "Windows Laptops", + "visualisation": { + "type": "data-stream-table", + "config": { + "data-stream-table": { + "columnOrder": [ + "resource_name", + "last_patched_time", + "agent_last_bootup_time", + "owner", + "computer_live_status", + "resource_health_status" + ], + "columnDisplayNames": {}, + "hiddenColumns": [ + "os_language", + "resource_id_string", + "branchmemberresourcerel.resource_id", + "branch_office_name", + "branch_office_id", + "mac_address", + "oslanguage.i18n", + "pmreshealthstatus.resource_id", + "customerinfo.customer_id", + "ip_address", + "resource_id", + "customer_name", + "status_image", + "pmresourcepatchcount.resource_id", + "os_language_abbr", + "resourcedeploymentstatus.resource_id", + "scan_remarks", + "os_platform", + "osflavor_id", + "search_tag", + "owner_email_id", + "patchmgmtosinfo.resource_id", + "description", + "resource.resource_id", + "timezone_offset", + "oslanguage.languageid", + "last_sync_time", + "location", + "customer_id", + "remarks", + "last_operation", + "agent_last_contact_time", + "agent_last_ds_contact_time", + "computer_status_update_time", + "deployment_status", + "domain_netbios_name", + "installed_bios_patches", + "installed_driver_patches", + "installed_ms_patches", + "installed_tp_patches", + "last_action_initiated_on", + "last_scan_time", + "last_successful_scan", + "low_patch_count", + "missing_bios_patches", + "missing_driver_patches", + "critical_patch_count", + "important_patch_count", + "os_name", + "os_platform_name", + "resourcetorebootdetails.reboot_req_status", + "resourcetorebootdetails.resource_id", + "scan_status", + "service_pack", + "shutdown_status", + "shutdown_status_update_time", + "status_label", + "total_bios_patches", + "total_driver_patches", + "total_ms_patches", + "total_tp_patches", + "missing_ms_patches", + "missing_tp_patches", + "moderate_patch_count", + "resource_health_status[Expanded].rawState", + "computer_live_status[Expanded].rawState", + "managedcomputer.friendly_name", + "fqdn_name", + "agent_logged_on_users" + ] + } + } + } + } + } + ], + "version": 51, + "columns": 5 + } +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/defaultContent/manifest.json b/ManageEngine-EndpointCentral/defaultContent/manifest.json new file mode 100644 index 00000000..19c42a65 --- /dev/null +++ b/ManageEngine-EndpointCentral/defaultContent/manifest.json @@ -0,0 +1,8 @@ +{ + "items": [ + { + "name": "Endpoint Central", + "type": "folder" + } + ] +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/defaultContent/scopes.json b/ManageEngine-EndpointCentral/defaultContent/scopes.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/ManageEngine-EndpointCentral/defaultContent/scopes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/icon.png b/ManageEngine-EndpointCentral/icon.png new file mode 100644 index 00000000..2ecb8f77 Binary files /dev/null and b/ManageEngine-EndpointCentral/icon.png differ diff --git a/ManageEngine-EndpointCentral/metadata.json b/ManageEngine-EndpointCentral/metadata.json new file mode 100644 index 00000000..f441f66b --- /dev/null +++ b/ManageEngine-EndpointCentral/metadata.json @@ -0,0 +1,45 @@ +{ + "name": "endpoint-central", + "displayName": "Endpoint Central", + "version": "1.0.0", + "author": { + "name": "Simon Argent", + "type": "community" + }, + "description": "Provides summaries for patch module like health status summary, scan summary etc.", + "category": "Monitoring", + "type": "hybrid", + "schemaVersion": "2.0", + "base": { + "plugin": "WebAPI", + "majorVersion": "1", + "config": { + "queryArgs": [ + { + "value": "300", + "key": "pagelimit" + } + ], + "oauth2TokenExtraArgs": [], + "oauth2ClientSecret": "{{clientsecret}}", + "oauth2ClientSecretLocationDuringAuth": "query", + "oauth2AuthUrl": "https://accounts.zoho.eu/oauth/v2/auth", + "oauth2TokenExtraHeaders": [], + "oauth2AuthExtraArgs": [ + { + "value": "offline", + "key": "access_type" + } + ], + "ignoreCertificateErrors": false, + "oauth2SendTokenInParameters": false, + "headers": [], + "authMode": "oauth2", + "oauth2GrantType": "authCode", + "baseUrl": "https://endpointcentral.manageengine.eu", + "oauth2TokenUrl": "https://accounts.zoho.eu/oauth/v2/token", + "oauth2ClientId": "{{clientid}}", + "oauth2Scope": "DesktopCentralCloud.PatchMgmt.READ" + } + } +} \ No newline at end of file diff --git a/ManageEngine-EndpointCentral/ui.json b/ManageEngine-EndpointCentral/ui.json new file mode 100644 index 00000000..12147ee5 --- /dev/null +++ b/ManageEngine-EndpointCentral/ui.json @@ -0,0 +1,30 @@ +[ + { + "type": "text", + "name": "clientid", + "label": "Client ID", + "placeholder": "Enter your Client ID", + "help": "Create a client in the ManageEngine Developer Portal (https://accounts.zoho.eu/developerconsole)", + "validation": { + "required": true + } + }, + { + "type": "password", + "name": "clientsecret", + "label": "Client Secret", + "placeholder": "Enter your Client Secret", + "help": "Create a client in the ManageEngine Developer Portal (https://accounts.zoho.eu/developerconsole)", + "validation": { + "required": true + } + }, + { + "type": "oAuth2", + "name": "oauth2AuthCodeSignIn", + "label": "Authorize", + "validation": { + "required": true + } + } +] \ No newline at end of file