{
  "version": "Notebook/1.0",
  "items": [
    {
      "type": 1,
      "content": {
        "json": "**NOTE**: This workbook depends on a parser based on Kusto Function to work as expected [**LookoutEvents**](https://aka.ms/sentinel-lookoutapi-parser) which is deployed with the Microsoft Sentinel Solution."
      },
      "name": "text - 0"
    },
    {
      "type": 9,
      "content": {
        "version": "KqlParameterItem/1.0",
        "parameters": [
          {
            "id": "fed5b1d8-5baa-44e8-b4e2-5da29af20794",
            "version": "KqlParameterItem/1.0",
            "name": "TimeRange",
            "type": 4,
            "isRequired": true,
            "value": {
              "durationMs": 7776000000
            },
            "typeSettings": {
              "selectableValues": [
                {
                  "durationMs": 86400000
                },
                {
                  "durationMs": 172800000
                },
                {
                  "durationMs": 259200000
                },
                {
                  "durationMs": 604800000
                },
                {
                  "durationMs": 1209600000
                },
                {
                  "durationMs": 2419200000
                },
                {
                  "durationMs": 2592000000
                },
                {
                  "durationMs": 5184000000
                },
                {
                  "durationMs": 7776000000
                }
              ],
              "allowCustom": true
            },
            "timeContext": {
              "durationMs": 86400000
            }
          }
        ],
        "style": "pills",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces"
      },
      "name": "parameters - 4"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "LookoutMtdV2_CL\n| where TimeGenerated {TimeRange}\n| extend ThreatSeverity = tostring(threat.severity)\n| where ThreatSeverity in (\"LOW\",\"MEDIUM\",\"HIGH\")\n| summarize count() by ThreatSeverity",
        "size": 3,
        "title": "Event Severity Chart",
        "timeContext": {
          "durationMs": 7776000000
        },
        "timeContextFromParameter": "TimeRange",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces",
        "visualization": "piechart"
      },
      "customWidth": "50",
      "name": "Event Severity Chart"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "LookoutMtdV2_CL\n| where TimeGenerated {TimeRange}\n| extend ThreatStatus = tostring(threat.status), ThreatSeverity = tostring(threat.severity), ThreatType = tostring(threat.type)\n| where ThreatStatus in (\"OPEN\", \"ACTIVE\") and ThreatSeverity in (\"LOW\",\"MEDIUM\",\"HIGH\")\n| summarize count() by ThreatType, ThreatSeverity\n| render barchart",
        "size": 1,
        "title": "Active Issues",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces",
        "tileSettings": {
          "showBorder": false,
          "titleContent": {
            "columnMatch": "DetailsType",
            "formatter": 1
          },
          "leftContent": {
            "columnMatch": "count_",
            "formatter": 12,
            "formatOptions": {
              "palette": "auto"
            },
            "numberFormat": {
              "unit": 17,
              "options": {
                "maximumSignificantDigits": 3,
                "maximumFractionDigits": 2
              }
            }
          }
        },
        "chartSettings": {
          "xAxis": "ThreatType",
          "group": "ThreatSeverity",
          "createOtherGroup": null,
          "showLegend": true
        }
      },
      "customWidth": "50",
      "name": "query - 3"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "LookoutMtdV2_CL\n| where TimeGenerated {TimeRange}\n| extend \n    EventType = log_type,\n    ActorType = tostring(actor.type),\n    ThreatApplicationName = tostring(threat.application_name),\n    DevicePlatform = coalesce(tostring(threat.device.platform), tostring(device.platform)),\n    ThreatAction = tostring(threat.details.response),\n    ThreatClassifications = tostring(threat.classifications),\n    ThreatSeverity = tostring(threat.severity)\n| project TimeGenerated, EventType, ActorType, ThreatApplicationName, DevicePlatform, ThreatAction, ThreatClassifications, ThreatSeverity",
        "size": 1,
        "title": "Event List",
        "noDataMessage": "No events to display",
        "timeContext": {
          "durationMs": 7776000000
        },
        "timeContextFromParameter": "TimeRange",
        "showRefreshButton": true,
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces",
        "visualization": "table",
        "showExpandCollapseGrid": true,
        "gridSettings": {
          "formatters": [
            {
              "columnMatch": "TimeGenerated",
              "formatter": 5
            },
            {
              "columnMatch": "EventVendor",
              "formatter": 5
            },
            {
              "columnMatch": "ID",
              "formatter": 5
            },
            {
              "columnMatch": "ChangeType",
              "formatter": 5
            },
            {
              "columnMatch": "ActorId",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsActivationStatus",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsSecurityStatus",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsProtectionStatus",
              "formatter": 5
            },
            {
              "columnMatch": "UpdatedDetails",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsDescription",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsPackageName",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsPath",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsFileName",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsPackageSha",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsAttributeChanges",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsId",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsAssessments",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsPcpReportingReason",
              "formatter": 5
            },
            {
              "columnMatch": "DetailsPcpDeviceResponse",
              "formatter": 5
            },
            {
              "columnMatch": "TargetType",
              "formatter": 5
            },
            {
              "columnMatch": "TargetId",
              "formatter": 5
            },
            {
              "columnMatch": "TargetEmailAddress",
              "formatter": 5
            },
            {
              "columnMatch": "TargetOSVersion",
              "formatter": 5
            },
            {
              "columnMatch": "TargetManufacturer",
              "formatter": 5
            },
            {
              "columnMatch": "TargetModel",
              "formatter": 5
            }
          ],
          "rowLimit": 250,
          "filter": true,
          "labelSettings": [
            {
              "columnId": "TimeGenerated",
              "label": "Time"
            },
            {
              "columnId": "EventType",
              "label": "Type"
            },
            {
              "columnId": "ActorType",
              "label": ""
            },
            {
              "columnId": "ThreatApplicationName",
              "label": "ApplicationName"
            },
            {
              "columnId": "DevicePlatform",
              "label": "Platform"
            },
            {
              "columnId": "ThreatAction",
              "label": "Action"
            },
            {
              "columnId": "ThreatClassifications",
              "label": "Classifications"
            },
            {
              "columnId": "ThreatSeverity",
              "label": "Severity"
            }
          ]
        }
      },
      "name": "Event List"
    }
  ],
  "fallbackResourceIds": [],
  "fromTemplateId": "sentinel-LookoutEvents",
  "$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
}
