{
  "version": "Notebook/1.0",
  "items": [
    {
      "type": 1,
      "content": {
        "json": "## Abnormal Security Overview\n\nThis workbook summarizes email threats, account takeover cases, user-reported messages, and vendor cases ingested from the Abnormal Security CCF Push connector. Use the time range selector to adjust the reporting window."
      },
      "name": "title"
    },
    {
      "type": 9,
      "content": {
        "version": "KqlParameterItem/1.0",
        "parameters": [
          {
            "id": "a1f1c0d2-0000-4a00-9000-000000000001",
            "version": "KqlParameterItem/1.0",
            "name": "TimeRange",
            "label": "Time range",
            "type": 4,
            "isRequired": true,
            "typeSettings": {
              "selectableValues": [
                { "durationMs": 86400000 },
                { "durationMs": 604800000 },
                { "durationMs": 2592000000 },
                { "durationMs": 7776000000 }
              ],
              "allowCustom": true
            },
            "value": { "durationMs": 604800000 }
          }
        ],
        "style": "pills",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces"
      },
      "name": "parameters"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "ABNORMAL_SECURITY_THREAT_LOG_CL\n| summarize Threats = count() by bin(TimeGenerated, 1d)\n| render timechart",
        "size": 0,
        "title": "Threats detected over time",
        "timeContext": { "durationMs": 604800000 },
        "timeContextFromParameter": "TimeRange",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces"
      },
      "name": "threats-over-time"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "ABNORMAL_SECURITY_THREAT_LOG_CL\n| summarize Count = count() by AttackType = tostring(abx_body_abx_body_attack_type_s)\n| where isnotempty(AttackType)\n| sort by Count desc\n| render piechart",
        "size": 0,
        "title": "Attacks by type",
        "timeContext": { "durationMs": 604800000 },
        "timeContextFromParameter": "TimeRange",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces"
      },
      "customWidth": "50",
      "name": "attacks-by-type"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "ABNORMAL_SECURITY_THREAT_LOG_CL\n| summarize Threats = count() by Recipient = tostring(abx_body_abx_body_recipient_address_s)\n| where isnotempty(Recipient)\n| sort by Threats desc\n| take 10",
        "size": 0,
        "title": "Top targeted recipients",
        "timeContext": { "durationMs": 604800000 },
        "timeContextFromParameter": "TimeRange",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces",
        "visualization": "table"
      },
      "customWidth": "50",
      "name": "top-recipients"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "ABNORMAL_SECURITY_ATO_CASE_CL\n| summarize Cases = count() by Severity = tostring(abx_body_abx_body_severity_s)\n| sort by Cases desc",
        "size": 0,
        "title": "Account Takeover cases by severity",
        "timeContext": { "durationMs": 604800000 },
        "timeContextFromParameter": "TimeRange",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces",
        "visualization": "table"
      },
      "customWidth": "50",
      "name": "ato-by-severity"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "ABNORMAL_SECURITY_ABUSE_MAILBOX_CL\n| where abx_body_abx_body_reported_b == true\n| summarize Reports = count() by Judgement = tostring(abx_body_abx_body_judgement_s)\n| sort by Reports desc",
        "size": 0,
        "title": "User-reported messages by judgement",
        "timeContext": { "durationMs": 604800000 },
        "timeContextFromParameter": "TimeRange",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces",
        "visualization": "table"
      },
      "customWidth": "50",
      "name": "abuse-by-judgement"
    },
    {
      "type": 3,
      "content": {
        "version": "KqlItem/1.0",
        "query": "ABNORMAL_SECURITY_VENDOR_CASE_CL\n| summarize Cases = count() by VendorDomain = tostring(abx_body_abx_body_vendorDomain_s)\n| where isnotempty(VendorDomain)\n| sort by Cases desc\n| take 10",
        "size": 0,
        "title": "Vendor cases by domain",
        "timeContext": { "durationMs": 604800000 },
        "timeContextFromParameter": "TimeRange",
        "queryType": 0,
        "resourceType": "microsoft.operationalinsights/workspaces",
        "visualization": "table"
      },
      "name": "vendor-cases"
    }
  ],
  "fallbackResourceIds": [],
  "$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
}
