cloudflare/Azure-Sentinel
Publicmirrored fromhttps://github.com/cloudflare/Azure-Sentinel
Dashboards/Azure_AD_Audit_Logs.json
3374lines · modecode
7 years ago
| 1 | { |
| 2 | "name": "AzureADAuditlogsDashboard_{Workspace_Name}", |
| 3 | "type": "Microsoft.Portal/dashboards", |
| 4 | "location": "{Dashboard_Location}", |
| 5 | "tags": { |
| 6 | "dashboardKey": "AzureADAuditLogsDashboard", |
| 7 | "hidden-title": "Azure AD Audit - {Workspace_Name}", |
| 8 | "version": "1.1", |
| 9 | "workspaceName": "{Workspace_Name}" |
| 10 | }, |
| 11 | "properties": { |
| 12 | "lenses": { |
| 13 | "0": { |
| 14 | "order": 0, |
| 15 | "parts": { |
| 16 | "0": { |
| 17 | "position": { |
| 18 | "x": 1, |
| 19 | "y": 0, |
| 20 | "colSpan": 22, |
| 21 | "rowSpan": 1 |
| 22 | }, |
| 23 | "metadata": { |
| 24 | "inputs": [], |
| 25 | "type": "Extension/HubsExtension/PartType/MarkdownPart", |
| 26 | "settings": { |
| 27 | "content": { |
| 28 | "settings": { |
| 29 | "content": "<div style='font-size:300%;'>Audit logs</div>", |
| 30 | "title": "", |
| 31 | "subtitle": "" |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | }, |
| 37 | "1": { |
| 38 | "position": { |
| 39 | "x": 0, |
| 40 | "y": 1, |
| 41 | "colSpan": 15, |
| 42 | "rowSpan": 4 |
| 43 | }, |
| 44 | "metadata": { |
| 45 | "inputs": [ |
| 46 | { |
| 47 | "name": "ComponentId", |
| 48 | "value": { |
| 49 | "SubscriptionId": "{Subscription_Id}", |
| 50 | "ResourceGroup": "{Resource_Group}", |
| 51 | "Name": "{Workspace_Name}" |
| 52 | } |
| 53 | }, |
| 54 | { |
| 55 | "name": "Query", |
| 56 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| summarize count() by Result, TimeGenerated\r\n" |
| 57 | }, |
| 58 | { |
| 59 | "name": "TimeRange", |
| 60 | "value": "P1D" |
| 61 | }, |
| 62 | { |
| 63 | "name": "Dimensions", |
| 64 | "value": { |
| 65 | "xAxis": { |
| 66 | "name": "TimeGenerated", |
| 67 | "type": "DateTime" |
| 68 | }, |
| 69 | "yAxis": [ |
| 70 | { |
| 71 | "name": "count_", |
| 72 | "type": "Int64" |
| 73 | } |
| 74 | ], |
| 75 | "splitBy": [ |
| 76 | { |
| 77 | "name": "Result", |
| 78 | "type": "String" |
| 79 | } |
| 80 | ], |
| 81 | "aggregation": "Sum" |
| 82 | } |
| 83 | }, |
| 84 | { |
| 85 | "name": "Version", |
| 86 | "value": "1.0" |
| 87 | }, |
| 88 | { |
| 89 | "name": "DashboardId", |
| 90 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 91 | }, |
| 92 | { |
| 93 | "name": "PartId", |
| 94 | "value": "75dec2fe-d2af-4552-b599-2343c4c59d00" |
| 95 | }, |
| 96 | { |
| 97 | "name": "PartTitle", |
| 98 | "value": "Analytics" |
| 99 | }, |
| 100 | { |
| 101 | "name": "PartSubTitle", |
| 102 | "value": " " |
| 103 | }, |
| 104 | { |
| 105 | "name": "resourceTypeMode", |
| 106 | "value": "workspace" |
| 107 | }, |
| 108 | { |
| 109 | "name": "ControlType", |
| 110 | "value": "AnalyticsChart" |
| 111 | }, |
| 112 | { |
| 113 | "name": "SpecificChart", |
| 114 | "value": "Area" |
| 115 | } |
| 116 | ], |
| 117 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 118 | "settings": { |
| 119 | "content": { |
| 120 | "PartTitle": "Audit log events, by time", |
| 121 | "PartSubTitle": " " |
| 122 | } |
| 123 | }, |
| 124 | "asset": { |
| 125 | "idInputName": "ComponentId", |
| 126 | "type": "ApplicationInsights" |
| 127 | } |
| 128 | } |
| 129 | }, |
| 130 | "2": { |
| 131 | "position": { |
| 132 | "x": 15, |
| 133 | "y": 1, |
| 134 | "colSpan": 5, |
| 135 | "rowSpan": 4 |
| 136 | }, |
| 137 | "metadata": { |
| 138 | "inputs": [ |
| 139 | { |
| 140 | "name": "ComponentId", |
| 141 | "value": { |
| 142 | "SubscriptionId": "{Subscription_Id}", |
| 143 | "ResourceGroup": "{Resource_Group}", |
| 144 | "Name": "{Workspace_Name}" |
| 145 | } |
| 146 | }, |
| 147 | { |
| 148 | "name": "Query", |
| 149 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Result == \"failure\"\r\n| summarize count() by Category\r\n" |
| 150 | }, |
| 151 | { |
| 152 | "name": "TimeRange", |
| 153 | "value": "P1D" |
| 154 | }, |
| 155 | { |
| 156 | "name": "Dimensions", |
| 157 | "value": { |
| 158 | "xAxis": { |
| 159 | "name": "Category", |
| 160 | "type": "String" |
| 161 | }, |
| 162 | "yAxis": [ |
| 163 | { |
| 164 | "name": "count_", |
| 165 | "type": "Int64" |
| 166 | } |
| 167 | ], |
| 168 | "splitBy": [], |
| 169 | "aggregation": "Sum" |
| 170 | } |
| 171 | }, |
| 172 | { |
| 173 | "name": "Version", |
| 174 | "value": "1.0" |
| 175 | }, |
| 176 | { |
| 177 | "name": "DashboardId", |
| 178 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 179 | }, |
| 180 | { |
| 181 | "name": "PartId", |
| 182 | "value": "2fe1a90b-3da8-4b91-bc11-0f47b0bf35c6" |
| 183 | }, |
| 184 | { |
| 185 | "name": "PartTitle", |
| 186 | "value": "Analytics" |
| 187 | }, |
| 188 | { |
| 189 | "name": "PartSubTitle", |
| 190 | "value": " " |
| 191 | }, |
| 192 | { |
| 193 | "name": "resourceTypeMode", |
| 194 | "value": "workspace" |
| 195 | }, |
| 196 | { |
| 197 | "name": "ControlType", |
| 198 | "value": "AnalyticsDonut" |
| 199 | }, |
| 200 | { |
| 201 | "name": "SpecificChart", |
| 202 | "isOptional": true |
| 203 | } |
| 204 | ], |
| 205 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 206 | "settings": { |
| 207 | "content": { |
| 208 | "PartTitle": "Failed operations, by category", |
| 209 | "PartSubTitle": " " |
| 210 | } |
| 211 | }, |
| 212 | "asset": { |
| 213 | "idInputName": "ComponentId", |
| 214 | "type": "ApplicationInsights" |
| 215 | } |
| 216 | } |
| 217 | }, |
| 218 | "3": { |
| 219 | "position": { |
| 220 | "x": 20, |
| 221 | "y": 1, |
| 222 | "colSpan": 5, |
| 223 | "rowSpan": 4 |
| 224 | }, |
| 225 | "metadata": { |
| 226 | "inputs": [ |
| 227 | { |
| 228 | "name": "ComponentId", |
| 229 | "value": { |
| 230 | "SubscriptionId": "{Subscription_Id}", |
| 231 | "ResourceGroup": "{Resource_Group}", |
| 232 | "Name": "{Workspace_Name}" |
| 233 | } |
| 234 | }, |
| 235 | { |
| 236 | "name": "Query", |
| 237 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| summarize count() by Result\r\n" |
| 238 | }, |
| 239 | { |
| 240 | "name": "TimeRange", |
| 241 | "value": "P1D" |
| 242 | }, |
| 243 | { |
| 244 | "name": "Dimensions", |
| 245 | "value": { |
| 246 | "xAxis": { |
| 247 | "name": "Result", |
| 248 | "type": "String" |
| 249 | }, |
| 250 | "yAxis": [ |
| 251 | { |
| 252 | "name": "count_", |
| 253 | "type": "Int64" |
| 254 | } |
| 255 | ], |
| 256 | "splitBy": [], |
| 257 | "aggregation": "Sum" |
| 258 | } |
| 259 | }, |
| 260 | { |
| 261 | "name": "Version", |
| 262 | "value": "1.0" |
| 263 | }, |
| 264 | { |
| 265 | "name": "DashboardId", |
| 266 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 267 | }, |
| 268 | { |
| 269 | "name": "PartId", |
| 270 | "value": "49cc0c45-e377-43d9-bc61-764486214a04" |
| 271 | }, |
| 272 | { |
| 273 | "name": "PartTitle", |
| 274 | "value": "Analytics" |
| 275 | }, |
| 276 | { |
| 277 | "name": "PartSubTitle", |
| 278 | "value": " " |
| 279 | }, |
| 280 | { |
| 281 | "name": "resourceTypeMode", |
| 282 | "value": "workspace" |
| 283 | }, |
| 284 | { |
| 285 | "name": "ControlType", |
| 286 | "value": "AnalyticsDonut" |
| 287 | }, |
| 288 | { |
| 289 | "name": "SpecificChart", |
| 290 | "isOptional": true |
| 291 | } |
| 292 | ], |
| 293 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 294 | "settings": { |
| 295 | "content": { |
| 296 | "PartTitle": "Failed operations", |
| 297 | "PartSubTitle": " " |
| 298 | } |
| 299 | }, |
| 300 | "asset": { |
| 301 | "idInputName": "ComponentId", |
| 302 | "type": "ApplicationInsights" |
| 303 | } |
| 304 | } |
| 305 | }, |
| 306 | "4": { |
| 307 | "position": { |
| 308 | "x": 0, |
| 309 | "y": 5, |
| 310 | "colSpan": 6, |
| 311 | "rowSpan": 4 |
| 312 | }, |
| 313 | "metadata": { |
| 314 | "inputs": [ |
| 315 | { |
| 316 | "name": "ComponentId", |
| 317 | "value": { |
| 318 | "SubscriptionId": "{Subscription_Id}", |
| 319 | "ResourceGroup": "{Resource_Group}", |
| 320 | "Name": "{Workspace_Name}" |
| 321 | } |
| 322 | }, |
| 323 | { |
| 324 | "name": "Query", |
| 325 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| summarize count() by Category\r\n" |
| 326 | }, |
| 327 | { |
| 328 | "name": "TimeRange", |
| 329 | "value": "P1D" |
| 330 | }, |
| 331 | { |
| 332 | "name": "Dimensions", |
| 333 | "value": { |
| 334 | "xAxis": { |
| 335 | "name": "Category", |
| 336 | "type": "String" |
| 337 | }, |
| 338 | "yAxis": [ |
| 339 | { |
| 340 | "name": "count_", |
| 341 | "type": "Int64" |
| 342 | } |
| 343 | ], |
| 344 | "splitBy": [], |
| 345 | "aggregation": "Sum" |
| 346 | } |
| 347 | }, |
| 348 | { |
| 349 | "name": "Version", |
| 350 | "value": "1.0" |
| 351 | }, |
| 352 | { |
| 353 | "name": "DashboardId", |
| 354 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 355 | }, |
| 356 | { |
| 357 | "name": "PartId", |
| 358 | "value": "810f220f-ef51-48fd-8951-d5fae9143bf0" |
| 359 | }, |
| 360 | { |
| 361 | "name": "PartTitle", |
| 362 | "value": "Analytics" |
| 363 | }, |
| 364 | { |
| 365 | "name": "PartSubTitle", |
| 366 | "value": " " |
| 367 | }, |
| 368 | { |
| 369 | "name": "resourceTypeMode", |
| 370 | "value": "workspace" |
| 371 | }, |
| 372 | { |
| 373 | "name": "ControlType", |
| 374 | "value": "AnalyticsDonut" |
| 375 | }, |
| 376 | { |
| 377 | "name": "SpecificChart", |
| 378 | "isOptional": true |
| 379 | } |
| 380 | ], |
| 381 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 382 | "settings": { |
| 383 | "content": { |
| 384 | "PartTitle": "Audit log event, by category", |
| 385 | "PartSubTitle": " " |
| 386 | } |
| 387 | }, |
| 388 | "asset": { |
| 389 | "idInputName": "ComponentId", |
| 390 | "type": "ApplicationInsights" |
| 391 | } |
| 392 | } |
| 393 | }, |
| 394 | "5": { |
| 395 | "position": { |
| 396 | "x": 6, |
| 397 | "y": 5, |
| 398 | "colSpan": 13, |
| 399 | "rowSpan": 4 |
| 400 | }, |
| 401 | "metadata": { |
| 402 | "inputs": [ |
| 403 | { |
| 404 | "name": "ComponentId", |
| 405 | "value": { |
| 406 | "SubscriptionId": "{Subscription_Id}", |
| 407 | "ResourceGroup": "{Resource_Group}", |
| 408 | "Name": "{Workspace_Name}" |
| 409 | } |
| 410 | }, |
| 411 | { |
| 412 | "name": "Query", |
| 413 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\r\n| where initiator!= \"\" \r\n| summarize count() by initiator, TimeGenerated\r\n" |
| 414 | }, |
| 415 | { |
| 416 | "name": "TimeRange", |
| 417 | "value": "P1D" |
| 418 | }, |
| 419 | { |
| 420 | "name": "Dimensions", |
| 421 | "value": { |
| 422 | "xAxis": { |
| 423 | "name": "TimeGenerated", |
| 424 | "type": "DateTime" |
| 425 | }, |
| 426 | "yAxis": [ |
| 427 | { |
| 428 | "name": "count_", |
| 429 | "type": "Int64" |
| 430 | } |
| 431 | ], |
| 432 | "splitBy": [ |
| 433 | { |
| 434 | "name": "initiator", |
| 435 | "type": "String" |
| 436 | } |
| 437 | ], |
| 438 | "aggregation": "Sum" |
| 439 | } |
| 440 | }, |
| 441 | { |
| 442 | "name": "Version", |
| 443 | "value": "1.0" |
| 444 | }, |
| 445 | { |
| 446 | "name": "DashboardId", |
| 447 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 448 | }, |
| 449 | { |
| 450 | "name": "PartId", |
| 451 | "value": "60f2aa9f-7066-4e39-88dd-063517733118" |
| 452 | }, |
| 453 | { |
| 454 | "name": "PartTitle", |
| 455 | "value": "Analytics" |
| 456 | }, |
| 457 | { |
| 458 | "name": "PartSubTitle", |
| 459 | "value": " " |
| 460 | }, |
| 461 | { |
| 462 | "name": "resourceTypeMode", |
| 463 | "value": "workspace" |
| 464 | }, |
| 465 | { |
| 466 | "name": "ControlType", |
| 467 | "value": "AnalyticsChart" |
| 468 | }, |
| 469 | { |
| 470 | "name": "SpecificChart", |
| 471 | "value": "Line" |
| 472 | } |
| 473 | ], |
| 474 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 475 | "settings": { |
| 476 | "content": { |
| 477 | "PartTitle": "User activity", |
| 478 | "PartSubTitle": " " |
| 479 | } |
| 480 | }, |
| 481 | "asset": { |
| 482 | "idInputName": "ComponentId", |
| 483 | "type": "ApplicationInsights" |
| 484 | } |
| 485 | } |
| 486 | }, |
| 487 | "6": { |
| 488 | "position": { |
| 489 | "x": 19, |
| 490 | "y": 5, |
| 491 | "colSpan": 6, |
| 492 | "rowSpan": 4 |
| 493 | }, |
| 494 | "metadata": { |
| 495 | "inputs": [ |
| 496 | { |
| 497 | "name": "ComponentId", |
| 498 | "value": { |
| 499 | "SubscriptionId": "{Subscription_Id}", |
| 500 | "ResourceGroup": "{Resource_Group}", |
| 501 | "Name": "{Workspace_Name}" |
| 502 | } |
| 503 | }, |
| 504 | { |
| 505 | "name": "Query", |
| 506 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| extend initiatingUserPrincipalName = tostring(InitiatedBy.user.userPrincipalName)\r\n| where initiatingUserPrincipalName != \"\" \r\n| summarize Activities = count() by initiatingUserPrincipalName\r\n| sort by Activities desc nulls last \r\n" |
| 507 | }, |
| 508 | { |
| 509 | "name": "TimeRange", |
| 510 | "value": "P1D" |
| 511 | }, |
| 512 | { |
| 513 | "name": "Version", |
| 514 | "value": "1.0" |
| 515 | }, |
| 516 | { |
| 517 | "name": "DashboardId", |
| 518 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 519 | }, |
| 520 | { |
| 521 | "name": "PartId", |
| 522 | "value": "c3e7627d-1241-4e42-92f9-bed86a645df9" |
| 523 | }, |
| 524 | { |
| 525 | "name": "PartTitle", |
| 526 | "value": "Analytics" |
| 527 | }, |
| 528 | { |
| 529 | "name": "PartSubTitle", |
| 530 | "value": " " |
| 531 | }, |
| 532 | { |
| 533 | "name": "resourceTypeMode", |
| 534 | "value": "workspace" |
| 535 | }, |
| 536 | { |
| 537 | "name": "ControlType", |
| 538 | "value": "AnalyticsGrid" |
| 539 | }, |
| 540 | { |
| 541 | "name": "Dimensions", |
| 542 | "isOptional": true |
| 543 | }, |
| 544 | { |
| 545 | "name": "SpecificChart", |
| 546 | "isOptional": true |
| 547 | } |
| 548 | ], |
| 549 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 550 | "settings": { |
| 551 | "content": { |
| 552 | "PartTitle": "Top active users", |
| 553 | "PartSubTitle": " ", |
| 554 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\n| where initiator!= \"\" \n| summarize Activities = count() by initiator| sort by Activities desc\n", |
| 555 | "GridColumnsWidth": { |
| 556 | "initiatingUserPrincipalName": "232px", |
| 557 | "Activities": "205px" |
| 558 | } |
| 559 | } |
| 560 | }, |
| 561 | "asset": { |
| 562 | "idInputName": "ComponentId", |
| 563 | "type": "ApplicationInsights" |
| 564 | } |
| 565 | } |
| 566 | }, |
| 567 | "7": { |
| 568 | "position": { |
| 569 | "x": 0, |
| 570 | "y": 9, |
| 571 | "colSpan": 6, |
| 572 | "rowSpan": 4 |
| 573 | }, |
| 574 | "metadata": { |
| 575 | "inputs": [ |
| 576 | { |
| 577 | "name": "ComponentId", |
| 578 | "value": { |
| 579 | "SubscriptionId": "{Subscription_Id}", |
| 580 | "ResourceGroup": "{Resource_Group}", |
| 581 | "Name": "{Workspace_Name}" |
| 582 | } |
| 583 | }, |
| 584 | { |
| 585 | "name": "Query", |
| 586 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| extend initiatorType = iff(tostring(InitiatedBy.user.userPrincipalName) != \"\", 'User', iff(tostring(InitiatedBy.app.displayName) != \"\", 'App', 'None'))\r\n| summarize count() by initiatorType\r\n" |
| 587 | }, |
| 588 | { |
| 589 | "name": "TimeRange", |
| 590 | "value": "P1D" |
| 591 | }, |
| 592 | { |
| 593 | "name": "Dimensions", |
| 594 | "value": { |
| 595 | "xAxis": { |
| 596 | "name": "initiatorType", |
| 597 | "type": "String" |
| 598 | }, |
| 599 | "yAxis": [ |
| 600 | { |
| 601 | "name": "count_", |
| 602 | "type": "Int64" |
| 603 | } |
| 604 | ], |
| 605 | "splitBy": [], |
| 606 | "aggregation": "Sum" |
| 607 | } |
| 608 | }, |
| 609 | { |
| 610 | "name": "Version", |
| 611 | "value": "1.0" |
| 612 | }, |
| 613 | { |
| 614 | "name": "DashboardId", |
| 615 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 616 | }, |
| 617 | { |
| 618 | "name": "PartId", |
| 619 | "value": "d4ceb580-1840-4f4c-94d6-d37d16684f3f" |
| 620 | }, |
| 621 | { |
| 622 | "name": "PartTitle", |
| 623 | "value": "Analytics" |
| 624 | }, |
| 625 | { |
| 626 | "name": "PartSubTitle", |
| 627 | "value": " " |
| 628 | }, |
| 629 | { |
| 630 | "name": "resourceTypeMode", |
| 631 | "value": "workspace" |
| 632 | }, |
| 633 | { |
| 634 | "name": "ControlType", |
| 635 | "value": "AnalyticsDonut" |
| 636 | }, |
| 637 | { |
| 638 | "name": "SpecificChart", |
| 639 | "isOptional": true |
| 640 | } |
| 641 | ], |
| 642 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 643 | "settings": { |
| 644 | "content": { |
| 645 | "PartTitle": "Audit log events, by initiator type", |
| 646 | "PartSubTitle": " " |
| 647 | } |
| 648 | }, |
| 649 | "asset": { |
| 650 | "idInputName": "ComponentId", |
| 651 | "type": "ApplicationInsights" |
| 652 | } |
| 653 | } |
| 654 | }, |
| 655 | "8": { |
| 656 | "position": { |
| 657 | "x": 6, |
| 658 | "y": 9, |
| 659 | "colSpan": 13, |
| 660 | "rowSpan": 4 |
| 661 | }, |
| 662 | "metadata": { |
| 663 | "inputs": [ |
| 664 | { |
| 665 | "name": "ComponentId", |
| 666 | "value": { |
| 667 | "SubscriptionId": "{Subscription_Id}", |
| 668 | "ResourceGroup": "{Resource_Group}", |
| 669 | "Name": "{Workspace_Name}" |
| 670 | } |
| 671 | }, |
| 672 | { |
| 673 | "name": "Query", |
| 674 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| extend initiator = tostring(InitiatedBy.app.displayName)\r\n| where initiator != \"\" \r\n| summarize count() by initiator, TimeGenerated\r\n" |
| 675 | }, |
| 676 | { |
| 677 | "name": "TimeRange", |
| 678 | "value": "P1D" |
| 679 | }, |
| 680 | { |
| 681 | "name": "Dimensions", |
| 682 | "value": { |
| 683 | "xAxis": { |
| 684 | "name": "TimeGenerated", |
| 685 | "type": "DateTime" |
| 686 | }, |
| 687 | "yAxis": [ |
| 688 | { |
| 689 | "name": "count_", |
| 690 | "type": "Int64" |
| 691 | } |
| 692 | ], |
| 693 | "splitBy": [ |
| 694 | { |
| 695 | "name": "initiator", |
| 696 | "type": "String" |
| 697 | } |
| 698 | ], |
| 699 | "aggregation": "Sum" |
| 700 | } |
| 701 | }, |
| 702 | { |
| 703 | "name": "Version", |
| 704 | "value": "1.0" |
| 705 | }, |
| 706 | { |
| 707 | "name": "DashboardId", |
| 708 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 709 | }, |
| 710 | { |
| 711 | "name": "PartId", |
| 712 | "value": "be42cb13-eaa2-48d7-abaa-c708b129f9c1" |
| 713 | }, |
| 714 | { |
| 715 | "name": "PartTitle", |
| 716 | "value": "Analytics" |
| 717 | }, |
| 718 | { |
| 719 | "name": "PartSubTitle", |
| 720 | "value": " " |
| 721 | }, |
| 722 | { |
| 723 | "name": "resourceTypeMode", |
| 724 | "value": "workspace" |
| 725 | }, |
| 726 | { |
| 727 | "name": "ControlType", |
| 728 | "value": "AnalyticsChart" |
| 729 | }, |
| 730 | { |
| 731 | "name": "SpecificChart", |
| 732 | "value": "Line" |
| 733 | } |
| 734 | ], |
| 735 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 736 | "settings": { |
| 737 | "content": { |
| 738 | "PartTitle": "Application activity", |
| 739 | "PartSubTitle": " " |
| 740 | } |
| 741 | }, |
| 742 | "asset": { |
| 743 | "idInputName": "ComponentId", |
| 744 | "type": "ApplicationInsights" |
| 745 | } |
| 746 | } |
| 747 | }, |
| 748 | "9": { |
| 749 | "position": { |
| 750 | "x": 19, |
| 751 | "y": 9, |
| 752 | "colSpan": 6, |
| 753 | "rowSpan": 4 |
| 754 | }, |
| 755 | "metadata": { |
| 756 | "inputs": [ |
| 757 | { |
| 758 | "name": "ComponentId", |
| 759 | "value": { |
| 760 | "SubscriptionId": "{Subscription_Id}", |
| 761 | "ResourceGroup": "{Resource_Group}", |
| 762 | "Name": "{Workspace_Name}" |
| 763 | } |
| 764 | }, |
| 765 | { |
| 766 | "name": "Query", |
| 767 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| extend initiator= tostring(InitiatedBy.app.displayName)\r\n| where initiator!= \"\" \r\n| summarize Activities = count() by initiator| sort by Activities desc nulls last \r\n" |
| 768 | }, |
| 769 | { |
| 770 | "name": "TimeRange", |
| 771 | "value": "P1D" |
| 772 | }, |
| 773 | { |
| 774 | "name": "Version", |
| 775 | "value": "1.0" |
| 776 | }, |
| 777 | { |
| 778 | "name": "DashboardId", |
| 779 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 780 | }, |
| 781 | { |
| 782 | "name": "PartId", |
| 783 | "value": "f01548dc-8b73-4ceb-b753-2ae86e4a8be1" |
| 784 | }, |
| 785 | { |
| 786 | "name": "PartTitle", |
| 787 | "value": "Analytics" |
| 788 | }, |
| 789 | { |
| 790 | "name": "PartSubTitle", |
| 791 | "value": " " |
| 792 | }, |
| 793 | { |
| 794 | "name": "resourceTypeMode", |
| 795 | "value": "workspace" |
| 796 | }, |
| 797 | { |
| 798 | "name": "ControlType", |
| 799 | "value": "AnalyticsGrid" |
| 800 | }, |
| 801 | { |
| 802 | "name": "Dimensions", |
| 803 | "isOptional": true |
| 804 | }, |
| 805 | { |
| 806 | "name": "SpecificChart", |
| 807 | "isOptional": true |
| 808 | } |
| 809 | ], |
| 810 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 811 | "settings": { |
| 812 | "content": { |
| 813 | "PartTitle": "Top active applications", |
| 814 | "PartSubTitle": " ", |
| 815 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| extend initiator= tostring(InitiatedBy.app.displayName)\n| where initiator!= \"\" \n| summarize Activities = count() by initiator| sort by Activities desc\n" |
| 816 | } |
| 817 | }, |
| 818 | "asset": { |
| 819 | "idInputName": "ComponentId", |
| 820 | "type": "ApplicationInsights" |
| 821 | } |
| 822 | } |
| 823 | }, |
| 824 | "10": { |
| 825 | "position": { |
| 826 | "x": 0, |
| 827 | "y": 13, |
| 828 | "colSpan": 25, |
| 829 | "rowSpan": 1 |
| 830 | }, |
| 831 | "metadata": { |
| 832 | "inputs": [], |
| 833 | "type": "Extension/HubsExtension/PartType/MarkdownPart", |
| 834 | "settings": { |
| 835 | "content": { |
| 836 | "settings": { |
| 837 | "content": "<div style='font-size:300%;'>User management activities</div>", |
| 838 | "title": "", |
| 839 | "subtitle": "" |
| 840 | } |
| 841 | } |
| 842 | } |
| 843 | } |
| 844 | }, |
| 845 | "11": { |
| 846 | "position": { |
| 847 | "x": 0, |
| 848 | "y": 14, |
| 849 | "colSpan": 16, |
| 850 | "rowSpan": 4 |
| 851 | }, |
| 852 | "metadata": { |
| 853 | "inputs": [ |
| 854 | { |
| 855 | "name": "ComponentId", |
| 856 | "value": { |
| 857 | "SubscriptionId": "{Subscription_Id}", |
| 858 | "ResourceGroup": "{Resource_Group}", |
| 859 | "Name": "{Workspace_Name}" |
| 860 | } |
| 861 | }, |
| 862 | { |
| 863 | "name": "Query", |
| 864 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| summarize count() by TimeGenerated, Result\r\n" |
| 865 | }, |
| 866 | { |
| 867 | "name": "TimeRange", |
| 868 | "value": "P1D" |
| 869 | }, |
| 870 | { |
| 871 | "name": "Dimensions", |
| 872 | "value": { |
| 873 | "xAxis": { |
| 874 | "name": "TimeGenerated", |
| 875 | "type": "DateTime" |
| 876 | }, |
| 877 | "yAxis": [ |
| 878 | { |
| 879 | "name": "count_", |
| 880 | "type": "Int64" |
| 881 | } |
| 882 | ], |
| 883 | "splitBy": [ |
| 884 | { |
| 885 | "name": "Result", |
| 886 | "type": "String" |
| 887 | } |
| 888 | ], |
| 889 | "aggregation": "Sum" |
| 890 | } |
| 891 | }, |
| 892 | { |
| 893 | "name": "Version", |
| 894 | "value": "1.0" |
| 895 | }, |
| 896 | { |
| 897 | "name": "DashboardId", |
| 898 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 899 | }, |
| 900 | { |
| 901 | "name": "PartId", |
| 902 | "value": "f2d8bb07-0c70-49ca-9d5d-2b46a51d3447" |
| 903 | }, |
| 904 | { |
| 905 | "name": "PartTitle", |
| 906 | "value": "Analytics" |
| 907 | }, |
| 908 | { |
| 909 | "name": "PartSubTitle", |
| 910 | "value": " " |
| 911 | }, |
| 912 | { |
| 913 | "name": "resourceTypeMode", |
| 914 | "value": "workspace" |
| 915 | }, |
| 916 | { |
| 917 | "name": "ControlType", |
| 918 | "value": "AnalyticsChart" |
| 919 | }, |
| 920 | { |
| 921 | "name": "SpecificChart", |
| 922 | "value": "Area" |
| 923 | } |
| 924 | ], |
| 925 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 926 | "settings": { |
| 927 | "content": { |
| 928 | "PartTitle": "User management events", |
| 929 | "PartSubTitle": " " |
| 930 | } |
| 931 | }, |
| 932 | "asset": { |
| 933 | "idInputName": "ComponentId", |
| 934 | "type": "ApplicationInsights" |
| 935 | } |
| 936 | } |
| 937 | }, |
| 938 | "12": { |
| 939 | "position": { |
| 940 | "x": 16, |
| 941 | "y": 14, |
| 942 | "colSpan": 9, |
| 943 | "rowSpan": 4 |
| 944 | }, |
| 945 | "metadata": { |
| 946 | "inputs": [ |
| 947 | { |
| 948 | "name": "ComponentId", |
| 949 | "value": { |
| 950 | "SubscriptionId": "{Subscription_Id}", |
| 951 | "ResourceGroup": "{Resource_Group}", |
| 952 | "Name": "{Workspace_Name}" |
| 953 | } |
| 954 | }, |
| 955 | { |
| 956 | "name": "Query", |
| 957 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where Result == \"failure\"\r\n| extend initiatingUserPrincipalName = tostring(InitiatedBy.user.userPrincipalName)\r\n| project TimeGenerated, initiatingUserPrincipalName, OperationName, ResultReason \r\n" |
| 958 | }, |
| 959 | { |
| 960 | "name": "TimeRange", |
| 961 | "value": "P1D" |
| 962 | }, |
| 963 | { |
| 964 | "name": "Version", |
| 965 | "value": "1.0" |
| 966 | }, |
| 967 | { |
| 968 | "name": "DashboardId", |
| 969 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 970 | }, |
| 971 | { |
| 972 | "name": "PartId", |
| 973 | "value": "b0873481-1d40-416e-b239-8b67dd6be955" |
| 974 | }, |
| 975 | { |
| 976 | "name": "PartTitle", |
| 977 | "value": "Analytics" |
| 978 | }, |
| 979 | { |
| 980 | "name": "PartSubTitle", |
| 981 | "value": " " |
| 982 | }, |
| 983 | { |
| 984 | "name": "resourceTypeMode", |
| 985 | "value": "workspace" |
| 986 | }, |
| 987 | { |
| 988 | "name": "ControlType", |
| 989 | "value": "AnalyticsGrid" |
| 990 | }, |
| 991 | { |
| 992 | "name": "Dimensions", |
| 993 | "isOptional": true |
| 994 | }, |
| 995 | { |
| 996 | "name": "SpecificChart", |
| 997 | "isOptional": true |
| 998 | } |
| 999 | ], |
| 1000 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1001 | "settings": { |
| 1002 | "content": { |
| 1003 | "PartTitle": "Failed user management activities", |
| 1004 | "PartSubTitle": " " |
| 1005 | } |
| 1006 | }, |
| 1007 | "asset": { |
| 1008 | "idInputName": "ComponentId", |
| 1009 | "type": "ApplicationInsights" |
| 1010 | } |
| 1011 | } |
| 1012 | }, |
| 1013 | "13": { |
| 1014 | "position": { |
| 1015 | "x": 0, |
| 1016 | "y": 18, |
| 1017 | "colSpan": 12, |
| 1018 | "rowSpan": 4 |
| 1019 | }, |
| 1020 | "metadata": { |
| 1021 | "inputs": [ |
| 1022 | { |
| 1023 | "name": "ComponentId", |
| 1024 | "value": { |
| 1025 | "SubscriptionId": "{Subscription_Id}", |
| 1026 | "ResourceGroup": "{Resource_Group}", |
| 1027 | "Name": "{Workspace_Name}" |
| 1028 | } |
| 1029 | }, |
| 1030 | { |
| 1031 | "name": "Query", |
| 1032 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where OperationName !contains \"password\"\r\n| summarize Activities = count() by OperationName, TimeGenerated\r\n" |
| 1033 | }, |
| 1034 | { |
| 1035 | "name": "TimeRange", |
| 1036 | "value": "P1D" |
| 1037 | }, |
| 1038 | { |
| 1039 | "name": "Dimensions", |
| 1040 | "value": { |
| 1041 | "xAxis": { |
| 1042 | "name": "TimeGenerated", |
| 1043 | "type": "DateTime" |
| 1044 | }, |
| 1045 | "yAxis": [ |
| 1046 | { |
| 1047 | "name": "Activities", |
| 1048 | "type": "Int64" |
| 1049 | } |
| 1050 | ], |
| 1051 | "splitBy": [ |
| 1052 | { |
| 1053 | "name": "OperationName", |
| 1054 | "type": "String" |
| 1055 | } |
| 1056 | ], |
| 1057 | "aggregation": "Sum" |
| 1058 | } |
| 1059 | }, |
| 1060 | { |
| 1061 | "name": "Version", |
| 1062 | "value": "1.0" |
| 1063 | }, |
| 1064 | { |
| 1065 | "name": "DashboardId", |
| 1066 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1067 | }, |
| 1068 | { |
| 1069 | "name": "PartId", |
| 1070 | "value": "c1ebc325-f3da-404b-bd0d-022d2538271b" |
| 1071 | }, |
| 1072 | { |
| 1073 | "name": "PartTitle", |
| 1074 | "value": "Analytics" |
| 1075 | }, |
| 1076 | { |
| 1077 | "name": "PartSubTitle", |
| 1078 | "value": " " |
| 1079 | }, |
| 1080 | { |
| 1081 | "name": "resourceTypeMode", |
| 1082 | "value": "workspace" |
| 1083 | }, |
| 1084 | { |
| 1085 | "name": "ControlType", |
| 1086 | "value": "AnalyticsChart" |
| 1087 | }, |
| 1088 | { |
| 1089 | "name": "SpecificChart", |
| 1090 | "value": "Bar" |
| 1091 | } |
| 1092 | ], |
| 1093 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1094 | "settings": { |
| 1095 | "content": { |
| 1096 | "PartTitle": "User management operations", |
| 1097 | "PartSubTitle": " " |
| 1098 | } |
| 1099 | }, |
| 1100 | "asset": { |
| 1101 | "idInputName": "ComponentId", |
| 1102 | "type": "ApplicationInsights" |
| 1103 | } |
| 1104 | } |
| 1105 | }, |
| 1106 | "14": { |
| 1107 | "position": { |
| 1108 | "x": 12, |
| 1109 | "y": 18, |
| 1110 | "colSpan": 5, |
| 1111 | "rowSpan": 4 |
| 1112 | }, |
| 1113 | "metadata": { |
| 1114 | "inputs": [ |
| 1115 | { |
| 1116 | "name": "ComponentId", |
| 1117 | "value": { |
| 1118 | "SubscriptionId": "{Subscription_Id}", |
| 1119 | "ResourceGroup": "{Resource_Group}", |
| 1120 | "Name": "{Workspace_Name}" |
| 1121 | } |
| 1122 | }, |
| 1123 | { |
| 1124 | "name": "Query", |
| 1125 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where OperationName !contains \"password\"\r\n| summarize Activities = count() by OperationName\r\n" |
| 1126 | }, |
| 1127 | { |
| 1128 | "name": "TimeRange", |
| 1129 | "value": "P1D" |
| 1130 | }, |
| 1131 | { |
| 1132 | "name": "Dimensions", |
| 1133 | "value": { |
| 1134 | "xAxis": { |
| 1135 | "name": "OperationName", |
| 1136 | "type": "String" |
| 1137 | }, |
| 1138 | "yAxis": [ |
| 1139 | { |
| 1140 | "name": "Activities", |
| 1141 | "type": "Int64" |
| 1142 | } |
| 1143 | ], |
| 1144 | "splitBy": [], |
| 1145 | "aggregation": "Sum" |
| 1146 | } |
| 1147 | }, |
| 1148 | { |
| 1149 | "name": "Version", |
| 1150 | "value": "1.0" |
| 1151 | }, |
| 1152 | { |
| 1153 | "name": "DashboardId", |
| 1154 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1155 | }, |
| 1156 | { |
| 1157 | "name": "PartId", |
| 1158 | "value": "56fdd088-cc67-4dab-9ec6-2801051ffdec" |
| 1159 | }, |
| 1160 | { |
| 1161 | "name": "PartTitle", |
| 1162 | "value": "Analytics" |
| 1163 | }, |
| 1164 | { |
| 1165 | "name": "PartSubTitle", |
| 1166 | "value": " " |
| 1167 | }, |
| 1168 | { |
| 1169 | "name": "resourceTypeMode", |
| 1170 | "value": "workspace" |
| 1171 | }, |
| 1172 | { |
| 1173 | "name": "ControlType", |
| 1174 | "value": "AnalyticsDonut" |
| 1175 | }, |
| 1176 | { |
| 1177 | "name": "SpecificChart", |
| 1178 | "isOptional": true |
| 1179 | } |
| 1180 | ], |
| 1181 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1182 | "settings": { |
| 1183 | "content": { |
| 1184 | "PartTitle": "User management operations", |
| 1185 | "PartSubTitle": " " |
| 1186 | } |
| 1187 | }, |
| 1188 | "asset": { |
| 1189 | "idInputName": "ComponentId", |
| 1190 | "type": "ApplicationInsights" |
| 1191 | } |
| 1192 | } |
| 1193 | }, |
| 1194 | "15": { |
| 1195 | "position": { |
| 1196 | "x": 17, |
| 1197 | "y": 18, |
| 1198 | "colSpan": 8, |
| 1199 | "rowSpan": 4 |
| 1200 | }, |
| 1201 | "metadata": { |
| 1202 | "inputs": [ |
| 1203 | { |
| 1204 | "name": "ComponentId", |
| 1205 | "value": { |
| 1206 | "SubscriptionId": "{Subscription_Id}", |
| 1207 | "ResourceGroup": "{Resource_Group}", |
| 1208 | "Name": "{Workspace_Name}" |
| 1209 | } |
| 1210 | }, |
| 1211 | { |
| 1212 | "name": "Query", |
| 1213 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| extend initiatingUserPrincipalName = tostring(InitiatedBy.user.userPrincipalName)\r\n| where initiatingUserPrincipalName != \"\" \r\n| summarize Activities = count() by initiatingUserPrincipalName\r\n| sort by Activities desc nulls last \r\n" |
| 1214 | }, |
| 1215 | { |
| 1216 | "name": "TimeRange", |
| 1217 | "value": "P1D" |
| 1218 | }, |
| 1219 | { |
| 1220 | "name": "Version", |
| 1221 | "value": "1.0" |
| 1222 | }, |
| 1223 | { |
| 1224 | "name": "DashboardId", |
| 1225 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1226 | }, |
| 1227 | { |
| 1228 | "name": "PartId", |
| 1229 | "value": "c4167301-8e94-43bf-a4bb-32774122a124" |
| 1230 | }, |
| 1231 | { |
| 1232 | "name": "PartTitle", |
| 1233 | "value": "Analytics" |
| 1234 | }, |
| 1235 | { |
| 1236 | "name": "PartSubTitle", |
| 1237 | "value": " " |
| 1238 | }, |
| 1239 | { |
| 1240 | "name": "resourceTypeMode", |
| 1241 | "value": "workspace" |
| 1242 | }, |
| 1243 | { |
| 1244 | "name": "ControlType", |
| 1245 | "value": "AnalyticsGrid" |
| 1246 | }, |
| 1247 | { |
| 1248 | "name": "Dimensions", |
| 1249 | "isOptional": true |
| 1250 | }, |
| 1251 | { |
| 1252 | "name": "SpecificChart", |
| 1253 | "isOptional": true |
| 1254 | } |
| 1255 | ], |
| 1256 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1257 | "settings": { |
| 1258 | "content": { |
| 1259 | "PartTitle": "Top active users", |
| 1260 | "PartSubTitle": " " |
| 1261 | } |
| 1262 | }, |
| 1263 | "asset": { |
| 1264 | "idInputName": "ComponentId", |
| 1265 | "type": "ApplicationInsights" |
| 1266 | } |
| 1267 | } |
| 1268 | }, |
| 1269 | "16": { |
| 1270 | "position": { |
| 1271 | "x": 0, |
| 1272 | "y": 22, |
| 1273 | "colSpan": 12, |
| 1274 | "rowSpan": 4 |
| 1275 | }, |
| 1276 | "metadata": { |
| 1277 | "inputs": [ |
| 1278 | { |
| 1279 | "name": "ComponentId", |
| 1280 | "value": { |
| 1281 | "SubscriptionId": "{Subscription_Id}", |
| 1282 | "ResourceGroup": "{Resource_Group}", |
| 1283 | "Name": "{Workspace_Name}" |
| 1284 | } |
| 1285 | }, |
| 1286 | { |
| 1287 | "name": "Query", |
| 1288 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| extend initiatingUserPrincipalName = iff(tostring(InitiatedBy.user.userPrincipalName) != \"\", tostring(InitiatedBy.user.userPrincipalName), \"N/A\")\r\n| where OperationName contains \"password\"\r\n| summarize Activities = count() by OperationName, TimeGenerated\r\n" |
| 1289 | }, |
| 1290 | { |
| 1291 | "name": "TimeRange", |
| 1292 | "value": "P1D" |
| 1293 | }, |
| 1294 | { |
| 1295 | "name": "Dimensions", |
| 1296 | "value": { |
| 1297 | "xAxis": { |
| 1298 | "name": "TimeGenerated", |
| 1299 | "type": "DateTime" |
| 1300 | }, |
| 1301 | "yAxis": [ |
| 1302 | { |
| 1303 | "name": "Activities", |
| 1304 | "type": "Int64" |
| 1305 | } |
| 1306 | ], |
| 1307 | "splitBy": [ |
| 1308 | { |
| 1309 | "name": "OperationName", |
| 1310 | "type": "String" |
| 1311 | } |
| 1312 | ], |
| 1313 | "aggregation": "Sum" |
| 1314 | } |
| 1315 | }, |
| 1316 | { |
| 1317 | "name": "Version", |
| 1318 | "value": "1.0" |
| 1319 | }, |
| 1320 | { |
| 1321 | "name": "DashboardId", |
| 1322 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1323 | }, |
| 1324 | { |
| 1325 | "name": "PartId", |
| 1326 | "value": "7c54d051-1636-4ef9-b72d-d6606cd4f044" |
| 1327 | }, |
| 1328 | { |
| 1329 | "name": "PartTitle", |
| 1330 | "value": "Analytics" |
| 1331 | }, |
| 1332 | { |
| 1333 | "name": "PartSubTitle", |
| 1334 | "value": " " |
| 1335 | }, |
| 1336 | { |
| 1337 | "name": "resourceTypeMode", |
| 1338 | "value": "workspace" |
| 1339 | }, |
| 1340 | { |
| 1341 | "name": "ControlType", |
| 1342 | "value": "AnalyticsChart" |
| 1343 | }, |
| 1344 | { |
| 1345 | "name": "SpecificChart", |
| 1346 | "value": "Bar" |
| 1347 | } |
| 1348 | ], |
| 1349 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1350 | "settings": { |
| 1351 | "content": { |
| 1352 | "PartTitle": "User password management operations", |
| 1353 | "PartSubTitle": " ", |
| 1354 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"UserManagement\"\n| where OperationName contains \"password\"\n| summarize Activities = count() by OperationName, TimeGenerated\n" |
| 1355 | } |
| 1356 | }, |
| 1357 | "asset": { |
| 1358 | "idInputName": "ComponentId", |
| 1359 | "type": "ApplicationInsights" |
| 1360 | } |
| 1361 | } |
| 1362 | }, |
| 1363 | "17": { |
| 1364 | "position": { |
| 1365 | "x": 12, |
| 1366 | "y": 22, |
| 1367 | "colSpan": 5, |
| 1368 | "rowSpan": 4 |
| 1369 | }, |
| 1370 | "metadata": { |
| 1371 | "inputs": [ |
| 1372 | { |
| 1373 | "name": "ComponentId", |
| 1374 | "value": { |
| 1375 | "SubscriptionId": "{Subscription_Id}", |
| 1376 | "ResourceGroup": "{Resource_Group}", |
| 1377 | "Name": "{Workspace_Name}" |
| 1378 | } |
| 1379 | }, |
| 1380 | { |
| 1381 | "name": "Query", |
| 1382 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where OperationName contains \"password\"\r\n| summarize Activities = count() by OperationName\r\n" |
| 1383 | }, |
| 1384 | { |
| 1385 | "name": "TimeRange", |
| 1386 | "value": "P1D" |
| 1387 | }, |
| 1388 | { |
| 1389 | "name": "Dimensions", |
| 1390 | "value": { |
| 1391 | "xAxis": { |
| 1392 | "name": "OperationName", |
| 1393 | "type": "String" |
| 1394 | }, |
| 1395 | "yAxis": [ |
| 1396 | { |
| 1397 | "name": "Activities", |
| 1398 | "type": "Int64" |
| 1399 | } |
| 1400 | ], |
| 1401 | "splitBy": [], |
| 1402 | "aggregation": "Sum" |
| 1403 | } |
| 1404 | }, |
| 1405 | { |
| 1406 | "name": "Version", |
| 1407 | "value": "1.0" |
| 1408 | }, |
| 1409 | { |
| 1410 | "name": "DashboardId", |
| 1411 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1412 | }, |
| 1413 | { |
| 1414 | "name": "PartId", |
| 1415 | "value": "4c691280-9025-4828-9934-984814ec896e" |
| 1416 | }, |
| 1417 | { |
| 1418 | "name": "PartTitle", |
| 1419 | "value": "Analytics" |
| 1420 | }, |
| 1421 | { |
| 1422 | "name": "PartSubTitle", |
| 1423 | "value": " " |
| 1424 | }, |
| 1425 | { |
| 1426 | "name": "resourceTypeMode", |
| 1427 | "value": "workspace" |
| 1428 | }, |
| 1429 | { |
| 1430 | "name": "ControlType", |
| 1431 | "value": "AnalyticsDonut" |
| 1432 | }, |
| 1433 | { |
| 1434 | "name": "SpecificChart", |
| 1435 | "isOptional": true |
| 1436 | } |
| 1437 | ], |
| 1438 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1439 | "settings": { |
| 1440 | "content": { |
| 1441 | "PartTitle": "User password management operations", |
| 1442 | "PartSubTitle": " " |
| 1443 | } |
| 1444 | }, |
| 1445 | "asset": { |
| 1446 | "idInputName": "ComponentId", |
| 1447 | "type": "ApplicationInsights" |
| 1448 | } |
| 1449 | } |
| 1450 | }, |
| 1451 | "18": { |
| 1452 | "position": { |
| 1453 | "x": 17, |
| 1454 | "y": 22, |
| 1455 | "colSpan": 8, |
| 1456 | "rowSpan": 4 |
| 1457 | }, |
| 1458 | "metadata": { |
| 1459 | "inputs": [ |
| 1460 | { |
| 1461 | "name": "ComponentId", |
| 1462 | "value": { |
| 1463 | "SubscriptionId": "{Subscription_Id}", |
| 1464 | "ResourceGroup": "{Resource_Group}", |
| 1465 | "Name": "{Workspace_Name}" |
| 1466 | } |
| 1467 | }, |
| 1468 | { |
| 1469 | "name": "Query", |
| 1470 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| extend initiator = tostring(InitiatedBy.app.displayName)\r\n| where initiator != \"\" \r\n| summarize count() by initiator, OperationName\r\n| sort by count_ desc \r\n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiator\r\n" |
| 1471 | }, |
| 1472 | { |
| 1473 | "name": "TimeRange", |
| 1474 | "value": "P1D" |
| 1475 | }, |
| 1476 | { |
| 1477 | "name": "Version", |
| 1478 | "value": "1.0" |
| 1479 | }, |
| 1480 | { |
| 1481 | "name": "DashboardId", |
| 1482 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1483 | }, |
| 1484 | { |
| 1485 | "name": "PartId", |
| 1486 | "value": "ed829606-d9c8-4dbd-8b06-e257c1c8483e" |
| 1487 | }, |
| 1488 | { |
| 1489 | "name": "PartTitle", |
| 1490 | "value": "Analytics" |
| 1491 | }, |
| 1492 | { |
| 1493 | "name": "PartSubTitle", |
| 1494 | "value": " " |
| 1495 | }, |
| 1496 | { |
| 1497 | "name": "resourceTypeMode", |
| 1498 | "value": "workspace" |
| 1499 | }, |
| 1500 | { |
| 1501 | "name": "ControlType", |
| 1502 | "value": "AnalyticsGrid" |
| 1503 | }, |
| 1504 | { |
| 1505 | "name": "Dimensions", |
| 1506 | "isOptional": true |
| 1507 | }, |
| 1508 | { |
| 1509 | "name": "SpecificChart", |
| 1510 | "isOptional": true |
| 1511 | } |
| 1512 | ], |
| 1513 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1514 | "settings": { |
| 1515 | "content": { |
| 1516 | "PartTitle": "Top active applications", |
| 1517 | "PartSubTitle": " ", |
| 1518 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"UserManagement\"\n| extend initiator = tostring(InitiatedBy.app.displayName)\n| where initiator != \"\" \n| summarize count() by initiator, OperationName\n| sort by count_ desc \n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiator\n| sort by NumberOfOperations desc" |
| 1519 | } |
| 1520 | }, |
| 1521 | "asset": { |
| 1522 | "idInputName": "ComponentId", |
| 1523 | "type": "ApplicationInsights" |
| 1524 | } |
| 1525 | } |
| 1526 | }, |
| 1527 | "19": { |
| 1528 | "position": { |
| 1529 | "x": 0, |
| 1530 | "y": 26, |
| 1531 | "colSpan": 25, |
| 1532 | "rowSpan": 1 |
| 1533 | }, |
| 1534 | "metadata": { |
| 1535 | "inputs": [], |
| 1536 | "type": "Extension/HubsExtension/PartType/MarkdownPart", |
| 1537 | "settings": { |
| 1538 | "content": { |
| 1539 | "settings": { |
| 1540 | "content": "<div style='font-size:300%;'>Group management activities</div>", |
| 1541 | "title": "", |
| 1542 | "subtitle": "" |
| 1543 | } |
| 1544 | } |
| 1545 | } |
| 1546 | } |
| 1547 | }, |
| 1548 | "20": { |
| 1549 | "position": { |
| 1550 | "x": 0, |
| 1551 | "y": 27, |
| 1552 | "colSpan": 16, |
| 1553 | "rowSpan": 4 |
| 1554 | }, |
| 1555 | "metadata": { |
| 1556 | "inputs": [ |
| 1557 | { |
| 1558 | "name": "ComponentId", |
| 1559 | "value": { |
| 1560 | "SubscriptionId": "{Subscription_Id}", |
| 1561 | "ResourceGroup": "{Resource_Group}", |
| 1562 | "Name": "{Workspace_Name}" |
| 1563 | } |
| 1564 | }, |
| 1565 | { |
| 1566 | "name": "Query", |
| 1567 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"GroupManagement\"\r\n| summarize count() by TimeGenerated, Result\r\n" |
| 1568 | }, |
| 1569 | { |
| 1570 | "name": "TimeRange", |
| 1571 | "value": "P1D" |
| 1572 | }, |
| 1573 | { |
| 1574 | "name": "Dimensions", |
| 1575 | "value": { |
| 1576 | "xAxis": { |
| 1577 | "name": "TimeGenerated", |
| 1578 | "type": "DateTime" |
| 1579 | }, |
| 1580 | "yAxis": [ |
| 1581 | { |
| 1582 | "name": "count_", |
| 1583 | "type": "Int64" |
| 1584 | } |
| 1585 | ], |
| 1586 | "splitBy": [ |
| 1587 | { |
| 1588 | "name": "Result", |
| 1589 | "type": "String" |
| 1590 | } |
| 1591 | ], |
| 1592 | "aggregation": "Sum" |
| 1593 | } |
| 1594 | }, |
| 1595 | { |
| 1596 | "name": "Version", |
| 1597 | "value": "1.0" |
| 1598 | }, |
| 1599 | { |
| 1600 | "name": "DashboardId", |
| 1601 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1602 | }, |
| 1603 | { |
| 1604 | "name": "PartId", |
| 1605 | "value": "ebe9f0d5-f7c5-42c2-b20a-5d9330f996ec" |
| 1606 | }, |
| 1607 | { |
| 1608 | "name": "PartTitle", |
| 1609 | "value": "Analytics" |
| 1610 | }, |
| 1611 | { |
| 1612 | "name": "PartSubTitle", |
| 1613 | "value": " " |
| 1614 | }, |
| 1615 | { |
| 1616 | "name": "resourceTypeMode", |
| 1617 | "value": "workspace" |
| 1618 | }, |
| 1619 | { |
| 1620 | "name": "ControlType", |
| 1621 | "value": "AnalyticsChart" |
| 1622 | }, |
| 1623 | { |
| 1624 | "name": "SpecificChart", |
| 1625 | "value": "Area" |
| 1626 | } |
| 1627 | ], |
| 1628 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1629 | "settings": { |
| 1630 | "content": { |
| 1631 | "PartTitle": "Group management events", |
| 1632 | "PartSubTitle": " " |
| 1633 | } |
| 1634 | }, |
| 1635 | "asset": { |
| 1636 | "idInputName": "ComponentId", |
| 1637 | "type": "ApplicationInsights" |
| 1638 | } |
| 1639 | } |
| 1640 | }, |
| 1641 | "21": { |
| 1642 | "position": { |
| 1643 | "x": 16, |
| 1644 | "y": 27, |
| 1645 | "colSpan": 9, |
| 1646 | "rowSpan": 4 |
| 1647 | }, |
| 1648 | "metadata": { |
| 1649 | "inputs": [ |
| 1650 | { |
| 1651 | "name": "ComponentId", |
| 1652 | "value": { |
| 1653 | "SubscriptionId": "{Subscription_Id}", |
| 1654 | "ResourceGroup": "{Resource_Group}", |
| 1655 | "Name": "{Workspace_Name}" |
| 1656 | } |
| 1657 | }, |
| 1658 | { |
| 1659 | "name": "Query", |
| 1660 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where Result == \"failure\"\r\n| extend initiatingUserPrincipalName = tostring(InitiatedBy.user.userPrincipalName)\r\n| project TimeGenerated, initiatingUserPrincipalName, OperationName, ResultReason \r\n" |
| 1661 | }, |
| 1662 | { |
| 1663 | "name": "TimeRange", |
| 1664 | "value": "P1D" |
| 1665 | }, |
| 1666 | { |
| 1667 | "name": "Version", |
| 1668 | "value": "1.0" |
| 1669 | }, |
| 1670 | { |
| 1671 | "name": "DashboardId", |
| 1672 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1673 | }, |
| 1674 | { |
| 1675 | "name": "PartId", |
| 1676 | "value": "3ca63e54-7e67-4d67-ba79-6361d75ce8a0" |
| 1677 | }, |
| 1678 | { |
| 1679 | "name": "PartTitle", |
| 1680 | "value": "Analytics" |
| 1681 | }, |
| 1682 | { |
| 1683 | "name": "PartSubTitle", |
| 1684 | "value": " " |
| 1685 | }, |
| 1686 | { |
| 1687 | "name": "resourceTypeMode", |
| 1688 | "value": "workspace" |
| 1689 | }, |
| 1690 | { |
| 1691 | "name": "ControlType", |
| 1692 | "value": "AnalyticsGrid" |
| 1693 | }, |
| 1694 | { |
| 1695 | "name": "Dimensions", |
| 1696 | "isOptional": true |
| 1697 | }, |
| 1698 | { |
| 1699 | "name": "SpecificChart", |
| 1700 | "isOptional": true |
| 1701 | } |
| 1702 | ], |
| 1703 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1704 | "settings": { |
| 1705 | "content": { |
| 1706 | "PartTitle": "Failed group management activities", |
| 1707 | "PartSubTitle": " ", |
| 1708 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"GroupManagement\"\n| where Result == \"failure\"\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\n| project TimeGenerated, initiator, OperationName, ResultReason \n" |
| 1709 | } |
| 1710 | }, |
| 1711 | "asset": { |
| 1712 | "idInputName": "ComponentId", |
| 1713 | "type": "ApplicationInsights" |
| 1714 | } |
| 1715 | } |
| 1716 | }, |
| 1717 | "22": { |
| 1718 | "position": { |
| 1719 | "x": 0, |
| 1720 | "y": 31, |
| 1721 | "colSpan": 19, |
| 1722 | "rowSpan": 4 |
| 1723 | }, |
| 1724 | "metadata": { |
| 1725 | "inputs": [ |
| 1726 | { |
| 1727 | "name": "ComponentId", |
| 1728 | "value": { |
| 1729 | "SubscriptionId": "{Subscription_Id}", |
| 1730 | "ResourceGroup": "{Resource_Group}", |
| 1731 | "Name": "{Workspace_Name}" |
| 1732 | } |
| 1733 | }, |
| 1734 | { |
| 1735 | "name": "Query", |
| 1736 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"GroupManagement\"\r\n| project TimeGenerated, OperationName, initiatingUserPrincipalName = tostring(InitiatedBy.user.userPrincipalName), numTargets = array_length(TargetResources)\r\n| where initiatingUserPrincipalName != \"\" \r\n| summarize sum(numTargets) by OperationName, initiatingUserPrincipalName, TimeGenerated\r\n" |
| 1737 | }, |
| 1738 | { |
| 1739 | "name": "TimeRange", |
| 1740 | "value": "P1D" |
| 1741 | }, |
| 1742 | { |
| 1743 | "name": "Dimensions", |
| 1744 | "value": { |
| 1745 | "xAxis": { |
| 1746 | "name": "TimeGenerated", |
| 1747 | "type": "DateTime" |
| 1748 | }, |
| 1749 | "yAxis": [ |
| 1750 | { |
| 1751 | "name": "sum_numTargets", |
| 1752 | "type": "Int64" |
| 1753 | } |
| 1754 | ], |
| 1755 | "splitBy": [ |
| 1756 | { |
| 1757 | "name": "OperationName", |
| 1758 | "type": "String" |
| 1759 | } |
| 1760 | ], |
| 1761 | "aggregation": "Sum" |
| 1762 | } |
| 1763 | }, |
| 1764 | { |
| 1765 | "name": "Version", |
| 1766 | "value": "1.0" |
| 1767 | }, |
| 1768 | { |
| 1769 | "name": "DashboardId", |
| 1770 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1771 | }, |
| 1772 | { |
| 1773 | "name": "PartId", |
| 1774 | "value": "447d088e-c5bd-4884-b9a9-030ef539dc24" |
| 1775 | }, |
| 1776 | { |
| 1777 | "name": "PartTitle", |
| 1778 | "value": "Analytics" |
| 1779 | }, |
| 1780 | { |
| 1781 | "name": "PartSubTitle", |
| 1782 | "value": " " |
| 1783 | }, |
| 1784 | { |
| 1785 | "name": "resourceTypeMode", |
| 1786 | "value": "workspace" |
| 1787 | }, |
| 1788 | { |
| 1789 | "name": "ControlType", |
| 1790 | "value": "AnalyticsChart" |
| 1791 | }, |
| 1792 | { |
| 1793 | "name": "SpecificChart", |
| 1794 | "value": "Bar" |
| 1795 | } |
| 1796 | ], |
| 1797 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1798 | "settings": { |
| 1799 | "content": { |
| 1800 | "PartTitle": "Group management operations", |
| 1801 | "PartSubTitle": " " |
| 1802 | } |
| 1803 | }, |
| 1804 | "asset": { |
| 1805 | "idInputName": "ComponentId", |
| 1806 | "type": "ApplicationInsights" |
| 1807 | } |
| 1808 | } |
| 1809 | }, |
| 1810 | "23": { |
| 1811 | "position": { |
| 1812 | "x": 19, |
| 1813 | "y": 31, |
| 1814 | "colSpan": 6, |
| 1815 | "rowSpan": 4 |
| 1816 | }, |
| 1817 | "metadata": { |
| 1818 | "inputs": [ |
| 1819 | { |
| 1820 | "name": "ComponentId", |
| 1821 | "value": { |
| 1822 | "SubscriptionId": "{Subscription_Id}", |
| 1823 | "ResourceGroup": "{Resource_Group}", |
| 1824 | "Name": "{Workspace_Name}" |
| 1825 | } |
| 1826 | }, |
| 1827 | { |
| 1828 | "name": "Query", |
| 1829 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"GroupManagement\"\r\n| summarize count() by OperationName\r\n" |
| 1830 | }, |
| 1831 | { |
| 1832 | "name": "TimeRange", |
| 1833 | "value": "P1D" |
| 1834 | }, |
| 1835 | { |
| 1836 | "name": "Dimensions", |
| 1837 | "value": { |
| 1838 | "xAxis": { |
| 1839 | "name": "OperationName", |
| 1840 | "type": "String" |
| 1841 | }, |
| 1842 | "yAxis": [ |
| 1843 | { |
| 1844 | "name": "count_", |
| 1845 | "type": "Int64" |
| 1846 | } |
| 1847 | ], |
| 1848 | "splitBy": [], |
| 1849 | "aggregation": "Sum" |
| 1850 | } |
| 1851 | }, |
| 1852 | { |
| 1853 | "name": "Version", |
| 1854 | "value": "1.0" |
| 1855 | }, |
| 1856 | { |
| 1857 | "name": "DashboardId", |
| 1858 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1859 | }, |
| 1860 | { |
| 1861 | "name": "PartId", |
| 1862 | "value": "79b5c96e-59ae-432b-8d27-0abd701a0ab3" |
| 1863 | }, |
| 1864 | { |
| 1865 | "name": "PartTitle", |
| 1866 | "value": "Analytics" |
| 1867 | }, |
| 1868 | { |
| 1869 | "name": "PartSubTitle", |
| 1870 | "value": " " |
| 1871 | }, |
| 1872 | { |
| 1873 | "name": "resourceTypeMode", |
| 1874 | "value": "workspace" |
| 1875 | }, |
| 1876 | { |
| 1877 | "name": "ControlType", |
| 1878 | "value": "AnalyticsDonut" |
| 1879 | }, |
| 1880 | { |
| 1881 | "name": "SpecificChart", |
| 1882 | "isOptional": true |
| 1883 | } |
| 1884 | ], |
| 1885 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1886 | "settings": { |
| 1887 | "content": { |
| 1888 | "PartTitle": "Group management operations", |
| 1889 | "PartSubTitle": " " |
| 1890 | } |
| 1891 | }, |
| 1892 | "asset": { |
| 1893 | "idInputName": "ComponentId", |
| 1894 | "type": "ApplicationInsights" |
| 1895 | } |
| 1896 | } |
| 1897 | }, |
| 1898 | "24": { |
| 1899 | "position": { |
| 1900 | "x": 0, |
| 1901 | "y": 35, |
| 1902 | "colSpan": 13, |
| 1903 | "rowSpan": 4 |
| 1904 | }, |
| 1905 | "metadata": { |
| 1906 | "inputs": [ |
| 1907 | { |
| 1908 | "name": "ComponentId", |
| 1909 | "value": { |
| 1910 | "SubscriptionId": "{Subscription_Id}", |
| 1911 | "ResourceGroup": "{Resource_Group}", |
| 1912 | "Name": "{Workspace_Name}" |
| 1913 | } |
| 1914 | }, |
| 1915 | { |
| 1916 | "name": "Query", |
| 1917 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"GroupManagement\"\r\n| extend initiatingUserPrincipalName = tostring(InitiatedBy.user.userPrincipalName)\r\n| where initiatingUserPrincipalName != \"\" \r\n| summarize count() by initiatingUserPrincipalName, OperationName\r\n| sort by count_ desc \r\n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiatingUserPrincipalName\r\n" |
| 1918 | }, |
| 1919 | { |
| 1920 | "name": "TimeRange", |
| 1921 | "value": "P1D" |
| 1922 | }, |
| 1923 | { |
| 1924 | "name": "Version", |
| 1925 | "value": "1.0" |
| 1926 | }, |
| 1927 | { |
| 1928 | "name": "DashboardId", |
| 1929 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 1930 | }, |
| 1931 | { |
| 1932 | "name": "PartId", |
| 1933 | "value": "4d196303-23db-4cc5-b889-6145023282c8" |
| 1934 | }, |
| 1935 | { |
| 1936 | "name": "PartTitle", |
| 1937 | "value": "Analytics" |
| 1938 | }, |
| 1939 | { |
| 1940 | "name": "PartSubTitle", |
| 1941 | "value": " " |
| 1942 | }, |
| 1943 | { |
| 1944 | "name": "resourceTypeMode", |
| 1945 | "value": "workspace" |
| 1946 | }, |
| 1947 | { |
| 1948 | "name": "ControlType", |
| 1949 | "value": "AnalyticsGrid" |
| 1950 | }, |
| 1951 | { |
| 1952 | "name": "Dimensions", |
| 1953 | "isOptional": true |
| 1954 | }, |
| 1955 | { |
| 1956 | "name": "SpecificChart", |
| 1957 | "isOptional": true |
| 1958 | } |
| 1959 | ], |
| 1960 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 1961 | "settings": { |
| 1962 | "content": { |
| 1963 | "PartTitle": "Top active users", |
| 1964 | "PartSubTitle": " ", |
| 1965 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"GroupManagement\"\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\n| where initiator!= \"\" \n| summarize count() by initiator, OperationName\n| sort by count_ desc \n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiator\n| sort by NumberOfOperations desc" |
| 1966 | } |
| 1967 | }, |
| 1968 | "asset": { |
| 1969 | "idInputName": "ComponentId", |
| 1970 | "type": "ApplicationInsights" |
| 1971 | } |
| 1972 | } |
| 1973 | }, |
| 1974 | "25": { |
| 1975 | "position": { |
| 1976 | "x": 13, |
| 1977 | "y": 35, |
| 1978 | "colSpan": 12, |
| 1979 | "rowSpan": 4 |
| 1980 | }, |
| 1981 | "metadata": { |
| 1982 | "inputs": [ |
| 1983 | { |
| 1984 | "name": "ComponentId", |
| 1985 | "value": { |
| 1986 | "SubscriptionId": "{Subscription_Id}", |
| 1987 | "ResourceGroup": "{Resource_Group}", |
| 1988 | "Name": "{Workspace_Name}" |
| 1989 | } |
| 1990 | }, |
| 1991 | { |
| 1992 | "name": "Query", |
| 1993 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"GroupManagement\"\r\n| extend initiator = tostring(InitiatedBy.app.displayName)\r\n| where initiator != \"\" \r\n| summarize count() by initiator, OperationName\r\n| sort by count_ desc \r\n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiator\r\n" |
| 1994 | }, |
| 1995 | { |
| 1996 | "name": "TimeRange", |
| 1997 | "value": "P1D" |
| 1998 | }, |
| 1999 | { |
| 2000 | "name": "Version", |
| 2001 | "value": "1.0" |
| 2002 | }, |
| 2003 | { |
| 2004 | "name": "DashboardId", |
| 2005 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2006 | }, |
| 2007 | { |
| 2008 | "name": "PartId", |
| 2009 | "value": "e9bc2106-70f3-4d57-9dfb-ff006ddaddbf" |
| 2010 | }, |
| 2011 | { |
| 2012 | "name": "PartTitle", |
| 2013 | "value": "Analytics" |
| 2014 | }, |
| 2015 | { |
| 2016 | "name": "PartSubTitle", |
| 2017 | "value": " " |
| 2018 | }, |
| 2019 | { |
| 2020 | "name": "resourceTypeMode", |
| 2021 | "value": "workspace" |
| 2022 | }, |
| 2023 | { |
| 2024 | "name": "ControlType", |
| 2025 | "value": "AnalyticsGrid" |
| 2026 | }, |
| 2027 | { |
| 2028 | "name": "Dimensions", |
| 2029 | "isOptional": true |
| 2030 | }, |
| 2031 | { |
| 2032 | "name": "SpecificChart", |
| 2033 | "isOptional": true |
| 2034 | } |
| 2035 | ], |
| 2036 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2037 | "settings": { |
| 2038 | "content": { |
| 2039 | "PartTitle": "Top active applications", |
| 2040 | "PartSubTitle": " ", |
| 2041 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"GroupManagement\"\n| extend initiator = tostring(InitiatedBy.app.displayName)\n| where initiator != \"\" \n| summarize count() by initiator, OperationName\n| sort by count_ desc \n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiator\n| sort by NumberOfOperations desc" |
| 2042 | } |
| 2043 | }, |
| 2044 | "asset": { |
| 2045 | "idInputName": "ComponentId", |
| 2046 | "type": "ApplicationInsights" |
| 2047 | } |
| 2048 | } |
| 2049 | }, |
| 2050 | "26": { |
| 2051 | "position": { |
| 2052 | "x": 0, |
| 2053 | "y": 39, |
| 2054 | "colSpan": 25, |
| 2055 | "rowSpan": 1 |
| 2056 | }, |
| 2057 | "metadata": { |
| 2058 | "inputs": [], |
| 2059 | "type": "Extension/HubsExtension/PartType/MarkdownPart", |
| 2060 | "settings": { |
| 2061 | "content": { |
| 2062 | "settings": { |
| 2063 | "content": "<div style='font-size:300%;'>Role management activities</div>", |
| 2064 | "title": "", |
| 2065 | "subtitle": "" |
| 2066 | } |
| 2067 | } |
| 2068 | } |
| 2069 | } |
| 2070 | }, |
| 2071 | "27": { |
| 2072 | "position": { |
| 2073 | "x": 0, |
| 2074 | "y": 40, |
| 2075 | "colSpan": 16, |
| 2076 | "rowSpan": 4 |
| 2077 | }, |
| 2078 | "metadata": { |
| 2079 | "inputs": [ |
| 2080 | { |
| 2081 | "name": "ComponentId", |
| 2082 | "value": { |
| 2083 | "SubscriptionId": "{Subscription_Id}", |
| 2084 | "ResourceGroup": "{Resource_Group}", |
| 2085 | "Name": "{Workspace_Name}" |
| 2086 | } |
| 2087 | }, |
| 2088 | { |
| 2089 | "name": "Query", |
| 2090 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"RoleManagement\"\r\n| summarize count() by Result, TimeGenerated\r\n" |
| 2091 | }, |
| 2092 | { |
| 2093 | "name": "TimeRange", |
| 2094 | "value": "P1D" |
| 2095 | }, |
| 2096 | { |
| 2097 | "name": "Dimensions", |
| 2098 | "value": { |
| 2099 | "xAxis": { |
| 2100 | "name": "TimeGenerated", |
| 2101 | "type": "DateTime" |
| 2102 | }, |
| 2103 | "yAxis": [ |
| 2104 | { |
| 2105 | "name": "count_", |
| 2106 | "type": "Int64" |
| 2107 | } |
| 2108 | ], |
| 2109 | "splitBy": [ |
| 2110 | { |
| 2111 | "name": "Result", |
| 2112 | "type": "String" |
| 2113 | } |
| 2114 | ], |
| 2115 | "aggregation": "Sum" |
| 2116 | } |
| 2117 | }, |
| 2118 | { |
| 2119 | "name": "Version", |
| 2120 | "value": "1.0" |
| 2121 | }, |
| 2122 | { |
| 2123 | "name": "DashboardId", |
| 2124 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2125 | }, |
| 2126 | { |
| 2127 | "name": "PartId", |
| 2128 | "value": "b799e7f3-9930-448f-9600-a3dcf8ccc7cb" |
| 2129 | }, |
| 2130 | { |
| 2131 | "name": "PartTitle", |
| 2132 | "value": "Analytics" |
| 2133 | }, |
| 2134 | { |
| 2135 | "name": "PartSubTitle", |
| 2136 | "value": " " |
| 2137 | }, |
| 2138 | { |
| 2139 | "name": "resourceTypeMode", |
| 2140 | "value": "workspace" |
| 2141 | }, |
| 2142 | { |
| 2143 | "name": "ControlType", |
| 2144 | "value": "AnalyticsChart" |
| 2145 | }, |
| 2146 | { |
| 2147 | "name": "SpecificChart", |
| 2148 | "value": "Line" |
| 2149 | } |
| 2150 | ], |
| 2151 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2152 | "settings": { |
| 2153 | "content": { |
| 2154 | "PartTitle": "Role management events", |
| 2155 | "PartSubTitle": " " |
| 2156 | } |
| 2157 | }, |
| 2158 | "asset": { |
| 2159 | "idInputName": "ComponentId", |
| 2160 | "type": "ApplicationInsights" |
| 2161 | } |
| 2162 | } |
| 2163 | }, |
| 2164 | "28": { |
| 2165 | "position": { |
| 2166 | "x": 16, |
| 2167 | "y": 40, |
| 2168 | "colSpan": 9, |
| 2169 | "rowSpan": 4 |
| 2170 | }, |
| 2171 | "metadata": { |
| 2172 | "inputs": [ |
| 2173 | { |
| 2174 | "name": "ComponentId", |
| 2175 | "value": { |
| 2176 | "SubscriptionId": "{Subscription_Id}", |
| 2177 | "ResourceGroup": "{Resource_Group}", |
| 2178 | "Name": "{Workspace_Name}" |
| 2179 | } |
| 2180 | }, |
| 2181 | { |
| 2182 | "name": "Query", |
| 2183 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where Result == \"failure\"\r\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\r\n| project TimeGenerated, initiator, OperationName, ResultReason \r\n" |
| 2184 | }, |
| 2185 | { |
| 2186 | "name": "TimeRange", |
| 2187 | "value": "P1D" |
| 2188 | }, |
| 2189 | { |
| 2190 | "name": "Version", |
| 2191 | "value": "1.0" |
| 2192 | }, |
| 2193 | { |
| 2194 | "name": "DashboardId", |
| 2195 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2196 | }, |
| 2197 | { |
| 2198 | "name": "PartId", |
| 2199 | "value": "27700183-94e7-4fbf-a6bd-c0ff0b9fb20d" |
| 2200 | }, |
| 2201 | { |
| 2202 | "name": "PartTitle", |
| 2203 | "value": "Analytics" |
| 2204 | }, |
| 2205 | { |
| 2206 | "name": "PartSubTitle", |
| 2207 | "value": " " |
| 2208 | }, |
| 2209 | { |
| 2210 | "name": "resourceTypeMode", |
| 2211 | "value": "workspace" |
| 2212 | }, |
| 2213 | { |
| 2214 | "name": "ControlType", |
| 2215 | "value": "AnalyticsGrid" |
| 2216 | }, |
| 2217 | { |
| 2218 | "name": "Dimensions", |
| 2219 | "isOptional": true |
| 2220 | }, |
| 2221 | { |
| 2222 | "name": "SpecificChart", |
| 2223 | "isOptional": true |
| 2224 | } |
| 2225 | ], |
| 2226 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2227 | "settings": { |
| 2228 | "content": { |
| 2229 | "PartTitle": "Failed role management activities", |
| 2230 | "PartSubTitle": " ", |
| 2231 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"RoleManagement\"\n| where Result == \"failure\"\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\n| project TimeGenerated, initiator, OperationName, ResultReason \n" |
| 2232 | } |
| 2233 | }, |
| 2234 | "asset": { |
| 2235 | "idInputName": "ComponentId", |
| 2236 | "type": "ApplicationInsights" |
| 2237 | } |
| 2238 | } |
| 2239 | }, |
| 2240 | "29": { |
| 2241 | "position": { |
| 2242 | "x": 0, |
| 2243 | "y": 44, |
| 2244 | "colSpan": 20, |
| 2245 | "rowSpan": 4 |
| 2246 | }, |
| 2247 | "metadata": { |
| 2248 | "inputs": [ |
| 2249 | { |
| 2250 | "name": "ComponentId", |
| 2251 | "value": { |
| 2252 | "SubscriptionId": "{Subscription_Id}", |
| 2253 | "ResourceGroup": "{Resource_Group}", |
| 2254 | "Name": "{Workspace_Name}" |
| 2255 | } |
| 2256 | }, |
| 2257 | { |
| 2258 | "name": "Query", |
| 2259 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"RoleManagement\"\r\n| summarize count() by OperationName, TimeGenerated\r\n" |
| 2260 | }, |
| 2261 | { |
| 2262 | "name": "TimeRange", |
| 2263 | "value": "P1D" |
| 2264 | }, |
| 2265 | { |
| 2266 | "name": "Dimensions", |
| 2267 | "value": { |
| 2268 | "xAxis": { |
| 2269 | "name": "TimeGenerated", |
| 2270 | "type": "DateTime" |
| 2271 | }, |
| 2272 | "yAxis": [ |
| 2273 | { |
| 2274 | "name": "count_", |
| 2275 | "type": "Int64" |
| 2276 | } |
| 2277 | ], |
| 2278 | "splitBy": [ |
| 2279 | { |
| 2280 | "name": "OperationName", |
| 2281 | "type": "String" |
| 2282 | } |
| 2283 | ], |
| 2284 | "aggregation": "Sum" |
| 2285 | } |
| 2286 | }, |
| 2287 | { |
| 2288 | "name": "Version", |
| 2289 | "value": "1.0" |
| 2290 | }, |
| 2291 | { |
| 2292 | "name": "DashboardId", |
| 2293 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2294 | }, |
| 2295 | { |
| 2296 | "name": "PartId", |
| 2297 | "value": "fe9345f6-783c-4a17-94a7-ccebfeb68735" |
| 2298 | }, |
| 2299 | { |
| 2300 | "name": "PartTitle", |
| 2301 | "value": "Analytics" |
| 2302 | }, |
| 2303 | { |
| 2304 | "name": "PartSubTitle", |
| 2305 | "value": " " |
| 2306 | }, |
| 2307 | { |
| 2308 | "name": "resourceTypeMode", |
| 2309 | "value": "workspace" |
| 2310 | }, |
| 2311 | { |
| 2312 | "name": "ControlType", |
| 2313 | "value": "AnalyticsChart" |
| 2314 | }, |
| 2315 | { |
| 2316 | "name": "SpecificChart", |
| 2317 | "value": "Bar" |
| 2318 | } |
| 2319 | ], |
| 2320 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2321 | "settings": { |
| 2322 | "content": { |
| 2323 | "PartTitle": "Role management operations", |
| 2324 | "PartSubTitle": " " |
| 2325 | } |
| 2326 | }, |
| 2327 | "asset": { |
| 2328 | "idInputName": "ComponentId", |
| 2329 | "type": "ApplicationInsights" |
| 2330 | } |
| 2331 | } |
| 2332 | }, |
| 2333 | "30": { |
| 2334 | "position": { |
| 2335 | "x": 20, |
| 2336 | "y": 44, |
| 2337 | "colSpan": 5, |
| 2338 | "rowSpan": 4 |
| 2339 | }, |
| 2340 | "metadata": { |
| 2341 | "inputs": [ |
| 2342 | { |
| 2343 | "name": "ComponentId", |
| 2344 | "value": { |
| 2345 | "SubscriptionId": "{Subscription_Id}", |
| 2346 | "ResourceGroup": "{Resource_Group}", |
| 2347 | "Name": "{Workspace_Name}" |
| 2348 | } |
| 2349 | }, |
| 2350 | { |
| 2351 | "name": "Query", |
| 2352 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"RoleManagement\"\r\n| summarize count() by OperationName\r\n" |
| 2353 | }, |
| 2354 | { |
| 2355 | "name": "TimeRange", |
| 2356 | "value": "P1D" |
| 2357 | }, |
| 2358 | { |
| 2359 | "name": "Dimensions", |
| 2360 | "value": { |
| 2361 | "xAxis": { |
| 2362 | "name": "OperationName", |
| 2363 | "type": "String" |
| 2364 | }, |
| 2365 | "yAxis": [ |
| 2366 | { |
| 2367 | "name": "count_", |
| 2368 | "type": "Int64" |
| 2369 | } |
| 2370 | ], |
| 2371 | "splitBy": [], |
| 2372 | "aggregation": "Sum" |
| 2373 | } |
| 2374 | }, |
| 2375 | { |
| 2376 | "name": "Version", |
| 2377 | "value": "1.0" |
| 2378 | }, |
| 2379 | { |
| 2380 | "name": "DashboardId", |
| 2381 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2382 | }, |
| 2383 | { |
| 2384 | "name": "PartId", |
| 2385 | "value": "b3859a1f-3d8c-49ce-a32a-33d1a9b4294a" |
| 2386 | }, |
| 2387 | { |
| 2388 | "name": "PartTitle", |
| 2389 | "value": "Analytics" |
| 2390 | }, |
| 2391 | { |
| 2392 | "name": "PartSubTitle", |
| 2393 | "value": " " |
| 2394 | }, |
| 2395 | { |
| 2396 | "name": "resourceTypeMode", |
| 2397 | "value": "workspace" |
| 2398 | }, |
| 2399 | { |
| 2400 | "name": "ControlType", |
| 2401 | "value": "AnalyticsDonut" |
| 2402 | }, |
| 2403 | { |
| 2404 | "name": "SpecificChart", |
| 2405 | "isOptional": true |
| 2406 | } |
| 2407 | ], |
| 2408 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2409 | "settings": { |
| 2410 | "content": { |
| 2411 | "PartTitle": "Role management operations", |
| 2412 | "PartSubTitle": " " |
| 2413 | } |
| 2414 | }, |
| 2415 | "asset": { |
| 2416 | "idInputName": "ComponentId", |
| 2417 | "type": "ApplicationInsights" |
| 2418 | } |
| 2419 | } |
| 2420 | }, |
| 2421 | "31": { |
| 2422 | "position": { |
| 2423 | "x": 0, |
| 2424 | "y": 48, |
| 2425 | "colSpan": 13, |
| 2426 | "rowSpan": 4 |
| 2427 | }, |
| 2428 | "metadata": { |
| 2429 | "inputs": [ |
| 2430 | { |
| 2431 | "name": "ComponentId", |
| 2432 | "value": { |
| 2433 | "SubscriptionId": "{Subscription_Id}", |
| 2434 | "ResourceGroup": "{Resource_Group}", |
| 2435 | "Name": "{Workspace_Name}" |
| 2436 | } |
| 2437 | }, |
| 2438 | { |
| 2439 | "name": "Query", |
| 2440 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"RoleManagement\"\r\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\r\n| where initiator!= \"\" \r\n| summarize Activities = count() by initiator, OperationName\r\n| sort by Activities desc\r\n| summarize NumberOfOperations = sum(Activities), Top3Operations = makelist(OperationName, 3) by initiator\r\n| sort by NumberOfOperations desc\n" |
| 2441 | }, |
| 2442 | { |
| 2443 | "name": "TimeRange", |
| 2444 | "value": "P1D" |
| 2445 | }, |
| 2446 | { |
| 2447 | "name": "Version", |
| 2448 | "value": "1.0" |
| 2449 | }, |
| 2450 | { |
| 2451 | "name": "DashboardId", |
| 2452 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2453 | }, |
| 2454 | { |
| 2455 | "name": "PartId", |
| 2456 | "value": "5ffd6c0e-4bf0-4a91-93d1-f4b65867abb9" |
| 2457 | }, |
| 2458 | { |
| 2459 | "name": "PartTitle", |
| 2460 | "value": "Analytics" |
| 2461 | }, |
| 2462 | { |
| 2463 | "name": "PartSubTitle", |
| 2464 | "value": " " |
| 2465 | }, |
| 2466 | { |
| 2467 | "name": "resourceTypeMode", |
| 2468 | "value": "workspace" |
| 2469 | }, |
| 2470 | { |
| 2471 | "name": "ControlType", |
| 2472 | "value": "AnalyticsGrid" |
| 2473 | }, |
| 2474 | { |
| 2475 | "name": "Dimensions", |
| 2476 | "isOptional": true |
| 2477 | }, |
| 2478 | { |
| 2479 | "name": "SpecificChart", |
| 2480 | "isOptional": true |
| 2481 | } |
| 2482 | ], |
| 2483 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2484 | "settings": { |
| 2485 | "content": { |
| 2486 | "PartTitle": "Top active users", |
| 2487 | "PartSubTitle": " " |
| 2488 | } |
| 2489 | }, |
| 2490 | "asset": { |
| 2491 | "idInputName": "ComponentId", |
| 2492 | "type": "ApplicationInsights" |
| 2493 | } |
| 2494 | } |
| 2495 | }, |
| 2496 | "32": { |
| 2497 | "position": { |
| 2498 | "x": 13, |
| 2499 | "y": 48, |
| 2500 | "colSpan": 12, |
| 2501 | "rowSpan": 4 |
| 2502 | }, |
| 2503 | "metadata": { |
| 2504 | "inputs": [ |
| 2505 | { |
| 2506 | "name": "ComponentId", |
| 2507 | "value": { |
| 2508 | "SubscriptionId": "{Subscription_Id}", |
| 2509 | "ResourceGroup": "{Resource_Group}", |
| 2510 | "Name": "{Workspace_Name}" |
| 2511 | } |
| 2512 | }, |
| 2513 | { |
| 2514 | "name": "Query", |
| 2515 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| extend initiator = tostring(InitiatedBy.app.displayName)\r\n| where initiator != \"\" \r\n| summarize count() by initiator, OperationName\r\n| sort by count_ desc \r\n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiator\r\n| sort by NumberOfOperations desc\n" |
| 2516 | }, |
| 2517 | { |
| 2518 | "name": "TimeRange", |
| 2519 | "value": "P1D" |
| 2520 | }, |
| 2521 | { |
| 2522 | "name": "Version", |
| 2523 | "value": "1.0" |
| 2524 | }, |
| 2525 | { |
| 2526 | "name": "DashboardId", |
| 2527 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2528 | }, |
| 2529 | { |
| 2530 | "name": "PartId", |
| 2531 | "value": "6abf0b4a-9901-4396-8d3b-97d1ae1ee59c" |
| 2532 | }, |
| 2533 | { |
| 2534 | "name": "PartTitle", |
| 2535 | "value": "Analytics" |
| 2536 | }, |
| 2537 | { |
| 2538 | "name": "PartSubTitle", |
| 2539 | "value": " " |
| 2540 | }, |
| 2541 | { |
| 2542 | "name": "resourceTypeMode", |
| 2543 | "value": "workspace" |
| 2544 | }, |
| 2545 | { |
| 2546 | "name": "ControlType", |
| 2547 | "value": "AnalyticsGrid" |
| 2548 | }, |
| 2549 | { |
| 2550 | "name": "Dimensions", |
| 2551 | "isOptional": true |
| 2552 | }, |
| 2553 | { |
| 2554 | "name": "SpecificChart", |
| 2555 | "isOptional": true |
| 2556 | } |
| 2557 | ], |
| 2558 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2559 | "settings": { |
| 2560 | "content": { |
| 2561 | "PartTitle": "Top active applications", |
| 2562 | "PartSubTitle": " ", |
| 2563 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"RoleManagement\"\n| extend initiator = tostring(InitiatedBy.app.displayName)\n| where initiator != \"\" \n| summarize count() by initiator, OperationName\n| sort by count_ desc \n| summarize NumberOfOperations = sum(count_), Top3Operations = makelist(OperationName, 3) by initiator\n| sort by NumberOfOperations desc\n" |
| 2564 | } |
| 2565 | }, |
| 2566 | "asset": { |
| 2567 | "idInputName": "ComponentId", |
| 2568 | "type": "ApplicationInsights" |
| 2569 | } |
| 2570 | } |
| 2571 | }, |
| 2572 | "33": { |
| 2573 | "position": { |
| 2574 | "x": 0, |
| 2575 | "y": 52, |
| 2576 | "colSpan": 25, |
| 2577 | "rowSpan": 1 |
| 2578 | }, |
| 2579 | "metadata": { |
| 2580 | "inputs": [], |
| 2581 | "type": "Extension/HubsExtension/PartType/MarkdownPart", |
| 2582 | "settings": { |
| 2583 | "content": { |
| 2584 | "settings": { |
| 2585 | "content": "<div style='font-size:300%;'>Application management activities</div>", |
| 2586 | "title": "", |
| 2587 | "subtitle": "" |
| 2588 | } |
| 2589 | } |
| 2590 | } |
| 2591 | } |
| 2592 | }, |
| 2593 | "34": { |
| 2594 | "position": { |
| 2595 | "x": 0, |
| 2596 | "y": 53, |
| 2597 | "colSpan": 16, |
| 2598 | "rowSpan": 4 |
| 2599 | }, |
| 2600 | "metadata": { |
| 2601 | "inputs": [ |
| 2602 | { |
| 2603 | "name": "ComponentId", |
| 2604 | "value": { |
| 2605 | "SubscriptionId": "{Subscription_Id}", |
| 2606 | "ResourceGroup": "{Resource_Group}", |
| 2607 | "Name": "{Workspace_Name}" |
| 2608 | } |
| 2609 | }, |
| 2610 | { |
| 2611 | "name": "Query", |
| 2612 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"ApplicationManagement\"\r\n| summarize count() by Result, TimeGenerated\r\n" |
| 2613 | }, |
| 2614 | { |
| 2615 | "name": "TimeRange", |
| 2616 | "value": "P1D" |
| 2617 | }, |
| 2618 | { |
| 2619 | "name": "Dimensions", |
| 2620 | "value": { |
| 2621 | "xAxis": { |
| 2622 | "name": "TimeGenerated", |
| 2623 | "type": "DateTime" |
| 2624 | }, |
| 2625 | "yAxis": [ |
| 2626 | { |
| 2627 | "name": "count_", |
| 2628 | "type": "Int64" |
| 2629 | } |
| 2630 | ], |
| 2631 | "splitBy": [ |
| 2632 | { |
| 2633 | "name": "Result", |
| 2634 | "type": "String" |
| 2635 | } |
| 2636 | ], |
| 2637 | "aggregation": "Sum" |
| 2638 | } |
| 2639 | }, |
| 2640 | { |
| 2641 | "name": "Version", |
| 2642 | "value": "1.0" |
| 2643 | }, |
| 2644 | { |
| 2645 | "name": "DashboardId", |
| 2646 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2647 | }, |
| 2648 | { |
| 2649 | "name": "PartId", |
| 2650 | "value": "230277cd-700b-49ae-a653-668ae7aed55f" |
| 2651 | }, |
| 2652 | { |
| 2653 | "name": "PartTitle", |
| 2654 | "value": "Analytics" |
| 2655 | }, |
| 2656 | { |
| 2657 | "name": "PartSubTitle", |
| 2658 | "value": " " |
| 2659 | }, |
| 2660 | { |
| 2661 | "name": "resourceTypeMode", |
| 2662 | "value": "workspace" |
| 2663 | }, |
| 2664 | { |
| 2665 | "name": "ControlType", |
| 2666 | "value": "AnalyticsChart" |
| 2667 | }, |
| 2668 | { |
| 2669 | "name": "SpecificChart", |
| 2670 | "value": "Line" |
| 2671 | } |
| 2672 | ], |
| 2673 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2674 | "settings": { |
| 2675 | "content": { |
| 2676 | "PartTitle": "Application management events", |
| 2677 | "PartSubTitle": " " |
| 2678 | } |
| 2679 | }, |
| 2680 | "asset": { |
| 2681 | "idInputName": "ComponentId", |
| 2682 | "type": "ApplicationInsights" |
| 2683 | } |
| 2684 | } |
| 2685 | }, |
| 2686 | "35": { |
| 2687 | "position": { |
| 2688 | "x": 16, |
| 2689 | "y": 53, |
| 2690 | "colSpan": 9, |
| 2691 | "rowSpan": 4 |
| 2692 | }, |
| 2693 | "metadata": { |
| 2694 | "inputs": [ |
| 2695 | { |
| 2696 | "name": "ComponentId", |
| 2697 | "value": { |
| 2698 | "SubscriptionId": "{Subscription_Id}", |
| 2699 | "ResourceGroup": "{Resource_Group}", |
| 2700 | "Name": "{Workspace_Name}" |
| 2701 | } |
| 2702 | }, |
| 2703 | { |
| 2704 | "name": "Query", |
| 2705 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where Result == \"failure\"\r\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\r\n| project TimeGenerated, initiator, OperationName, ResultReason \r\n" |
| 2706 | }, |
| 2707 | { |
| 2708 | "name": "TimeRange", |
| 2709 | "value": "P1D" |
| 2710 | }, |
| 2711 | { |
| 2712 | "name": "Version", |
| 2713 | "value": "1.0" |
| 2714 | }, |
| 2715 | { |
| 2716 | "name": "DashboardId", |
| 2717 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2718 | }, |
| 2719 | { |
| 2720 | "name": "PartId", |
| 2721 | "value": "e6e78f98-c5a7-4651-aeea-427030e1ae4c" |
| 2722 | }, |
| 2723 | { |
| 2724 | "name": "PartTitle", |
| 2725 | "value": "Analytics" |
| 2726 | }, |
| 2727 | { |
| 2728 | "name": "PartSubTitle", |
| 2729 | "value": " " |
| 2730 | }, |
| 2731 | { |
| 2732 | "name": "resourceTypeMode", |
| 2733 | "value": "workspace" |
| 2734 | }, |
| 2735 | { |
| 2736 | "name": "ControlType", |
| 2737 | "value": "AnalyticsGrid" |
| 2738 | }, |
| 2739 | { |
| 2740 | "name": "Dimensions", |
| 2741 | "isOptional": true |
| 2742 | }, |
| 2743 | { |
| 2744 | "name": "SpecificChart", |
| 2745 | "isOptional": true |
| 2746 | } |
| 2747 | ], |
| 2748 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2749 | "settings": { |
| 2750 | "content": { |
| 2751 | "PartTitle": "Failed application management activities", |
| 2752 | "PartSubTitle": " ", |
| 2753 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"ApplicationManagement\"\n| where Result == \"failure\"\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\n| project TimeGenerated, initiator, OperationName, ResultReason \n" |
| 2754 | } |
| 2755 | }, |
| 2756 | "asset": { |
| 2757 | "idInputName": "ComponentId", |
| 2758 | "type": "ApplicationInsights" |
| 2759 | } |
| 2760 | } |
| 2761 | }, |
| 2762 | "36": { |
| 2763 | "position": { |
| 2764 | "x": 0, |
| 2765 | "y": 57, |
| 2766 | "colSpan": 19, |
| 2767 | "rowSpan": 4 |
| 2768 | }, |
| 2769 | "metadata": { |
| 2770 | "inputs": [ |
| 2771 | { |
| 2772 | "name": "ComponentId", |
| 2773 | "value": { |
| 2774 | "SubscriptionId": "{Subscription_Id}", |
| 2775 | "ResourceGroup": "{Resource_Group}", |
| 2776 | "Name": "{Workspace_Name}" |
| 2777 | } |
| 2778 | }, |
| 2779 | { |
| 2780 | "name": "Query", |
| 2781 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"ApplicationManagement\"\r\n| summarize count() by OperationName, TimeGenerated\r\n" |
| 2782 | }, |
| 2783 | { |
| 2784 | "name": "TimeRange", |
| 2785 | "value": "P1D" |
| 2786 | }, |
| 2787 | { |
| 2788 | "name": "Dimensions", |
| 2789 | "value": { |
| 2790 | "xAxis": { |
| 2791 | "name": "TimeGenerated", |
| 2792 | "type": "DateTime" |
| 2793 | }, |
| 2794 | "yAxis": [ |
| 2795 | { |
| 2796 | "name": "count_", |
| 2797 | "type": "Int64" |
| 2798 | } |
| 2799 | ], |
| 2800 | "splitBy": [ |
| 2801 | { |
| 2802 | "name": "OperationName", |
| 2803 | "type": "String" |
| 2804 | } |
| 2805 | ], |
| 2806 | "aggregation": "Sum" |
| 2807 | } |
| 2808 | }, |
| 2809 | { |
| 2810 | "name": "Version", |
| 2811 | "value": "1.0" |
| 2812 | }, |
| 2813 | { |
| 2814 | "name": "DashboardId", |
| 2815 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2816 | }, |
| 2817 | { |
| 2818 | "name": "PartId", |
| 2819 | "value": "2870a1c5-22dc-4f96-9d34-694a43335140" |
| 2820 | }, |
| 2821 | { |
| 2822 | "name": "PartTitle", |
| 2823 | "value": "Analytics" |
| 2824 | }, |
| 2825 | { |
| 2826 | "name": "PartSubTitle", |
| 2827 | "value": " " |
| 2828 | }, |
| 2829 | { |
| 2830 | "name": "resourceTypeMode", |
| 2831 | "value": "workspace" |
| 2832 | }, |
| 2833 | { |
| 2834 | "name": "ControlType", |
| 2835 | "value": "AnalyticsChart" |
| 2836 | }, |
| 2837 | { |
| 2838 | "name": "SpecificChart", |
| 2839 | "value": "Bar" |
| 2840 | } |
| 2841 | ], |
| 2842 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2843 | "settings": { |
| 2844 | "content": { |
| 2845 | "PartTitle": "Application management operations", |
| 2846 | "PartSubTitle": " " |
| 2847 | } |
| 2848 | }, |
| 2849 | "asset": { |
| 2850 | "idInputName": "ComponentId", |
| 2851 | "type": "ApplicationInsights" |
| 2852 | } |
| 2853 | } |
| 2854 | }, |
| 2855 | "37": { |
| 2856 | "position": { |
| 2857 | "x": 19, |
| 2858 | "y": 57, |
| 2859 | "colSpan": 6, |
| 2860 | "rowSpan": 4 |
| 2861 | }, |
| 2862 | "metadata": { |
| 2863 | "inputs": [ |
| 2864 | { |
| 2865 | "name": "ComponentId", |
| 2866 | "value": { |
| 2867 | "SubscriptionId": "{Subscription_Id}", |
| 2868 | "ResourceGroup": "{Resource_Group}", |
| 2869 | "Name": "{Workspace_Name}" |
| 2870 | } |
| 2871 | }, |
| 2872 | { |
| 2873 | "name": "Query", |
| 2874 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"ApplicationManagement\"\r\n| summarize count() by OperationName\r\n" |
| 2875 | }, |
| 2876 | { |
| 2877 | "name": "TimeRange", |
| 2878 | "value": "P1D" |
| 2879 | }, |
| 2880 | { |
| 2881 | "name": "Dimensions", |
| 2882 | "value": { |
| 2883 | "xAxis": { |
| 2884 | "name": "OperationName", |
| 2885 | "type": "String" |
| 2886 | }, |
| 2887 | "yAxis": [ |
| 2888 | { |
| 2889 | "name": "count_", |
| 2890 | "type": "Int64" |
| 2891 | } |
| 2892 | ], |
| 2893 | "splitBy": [], |
| 2894 | "aggregation": "Sum" |
| 2895 | } |
| 2896 | }, |
| 2897 | { |
| 2898 | "name": "Version", |
| 2899 | "value": "1.0" |
| 2900 | }, |
| 2901 | { |
| 2902 | "name": "DashboardId", |
| 2903 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 2904 | }, |
| 2905 | { |
| 2906 | "name": "PartId", |
| 2907 | "value": "f61f0ce9-f717-4881-a66d-fa40d91a1457" |
| 2908 | }, |
| 2909 | { |
| 2910 | "name": "PartTitle", |
| 2911 | "value": "Analytics" |
| 2912 | }, |
| 2913 | { |
| 2914 | "name": "PartSubTitle", |
| 2915 | "value": " " |
| 2916 | }, |
| 2917 | { |
| 2918 | "name": "resourceTypeMode", |
| 2919 | "value": "workspace" |
| 2920 | }, |
| 2921 | { |
| 2922 | "name": "ControlType", |
| 2923 | "value": "AnalyticsDonut" |
| 2924 | }, |
| 2925 | { |
| 2926 | "name": "SpecificChart", |
| 2927 | "isOptional": true |
| 2928 | } |
| 2929 | ], |
| 2930 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 2931 | "settings": { |
| 2932 | "content": { |
| 2933 | "PartTitle": "Application management operations", |
| 2934 | "PartSubTitle": " " |
| 2935 | } |
| 2936 | }, |
| 2937 | "asset": { |
| 2938 | "idInputName": "ComponentId", |
| 2939 | "type": "ApplicationInsights" |
| 2940 | } |
| 2941 | } |
| 2942 | }, |
| 2943 | "38": { |
| 2944 | "position": { |
| 2945 | "x": 0, |
| 2946 | "y": 61, |
| 2947 | "colSpan": 25, |
| 2948 | "rowSpan": 1 |
| 2949 | }, |
| 2950 | "metadata": { |
| 2951 | "inputs": [], |
| 2952 | "type": "Extension/HubsExtension/PartType/MarkdownPart", |
| 2953 | "settings": { |
| 2954 | "content": { |
| 2955 | "settings": { |
| 2956 | "content": "<div style='font-size:300%;'>Device activities</div>", |
| 2957 | "title": "", |
| 2958 | "subtitle": "" |
| 2959 | } |
| 2960 | } |
| 2961 | } |
| 2962 | } |
| 2963 | }, |
| 2964 | "39": { |
| 2965 | "position": { |
| 2966 | "x": 0, |
| 2967 | "y": 62, |
| 2968 | "colSpan": 16, |
| 2969 | "rowSpan": 4 |
| 2970 | }, |
| 2971 | "metadata": { |
| 2972 | "inputs": [ |
| 2973 | { |
| 2974 | "name": "ComponentId", |
| 2975 | "value": { |
| 2976 | "SubscriptionId": "{Subscription_Id}", |
| 2977 | "ResourceGroup": "{Resource_Group}", |
| 2978 | "Name": "{Workspace_Name}" |
| 2979 | } |
| 2980 | }, |
| 2981 | { |
| 2982 | "name": "Query", |
| 2983 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"Device\"\r\n| summarize count() by Result, TimeGenerated\r\n" |
| 2984 | }, |
| 2985 | { |
| 2986 | "name": "TimeRange", |
| 2987 | "value": "P1D" |
| 2988 | }, |
| 2989 | { |
| 2990 | "name": "Dimensions", |
| 2991 | "value": { |
| 2992 | "xAxis": { |
| 2993 | "name": "TimeGenerated", |
| 2994 | "type": "DateTime" |
| 2995 | }, |
| 2996 | "yAxis": [ |
| 2997 | { |
| 2998 | "name": "count_", |
| 2999 | "type": "Int64" |
| 3000 | } |
| 3001 | ], |
| 3002 | "splitBy": [ |
| 3003 | { |
| 3004 | "name": "Result", |
| 3005 | "type": "String" |
| 3006 | } |
| 3007 | ], |
| 3008 | "aggregation": "Sum" |
| 3009 | } |
| 3010 | }, |
| 3011 | { |
| 3012 | "name": "Version", |
| 3013 | "value": "1.0" |
| 3014 | }, |
| 3015 | { |
| 3016 | "name": "DashboardId", |
| 3017 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 3018 | }, |
| 3019 | { |
| 3020 | "name": "PartId", |
| 3021 | "value": "28fa792d-4749-4783-ac8b-060325f42ee1" |
| 3022 | }, |
| 3023 | { |
| 3024 | "name": "PartTitle", |
| 3025 | "value": "Analytics" |
| 3026 | }, |
| 3027 | { |
| 3028 | "name": "PartSubTitle", |
| 3029 | "value": " " |
| 3030 | }, |
| 3031 | { |
| 3032 | "name": "resourceTypeMode", |
| 3033 | "value": "workspace" |
| 3034 | }, |
| 3035 | { |
| 3036 | "name": "ControlType", |
| 3037 | "value": "AnalyticsChart" |
| 3038 | }, |
| 3039 | { |
| 3040 | "name": "SpecificChart", |
| 3041 | "value": "Line" |
| 3042 | } |
| 3043 | ], |
| 3044 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 3045 | "settings": { |
| 3046 | "content": { |
| 3047 | "PartTitle": "Device events", |
| 3048 | "PartSubTitle": " " |
| 3049 | } |
| 3050 | }, |
| 3051 | "asset": { |
| 3052 | "idInputName": "ComponentId", |
| 3053 | "type": "ApplicationInsights" |
| 3054 | } |
| 3055 | } |
| 3056 | }, |
| 3057 | "40": { |
| 3058 | "position": { |
| 3059 | "x": 16, |
| 3060 | "y": 62, |
| 3061 | "colSpan": 9, |
| 3062 | "rowSpan": 4 |
| 3063 | }, |
| 3064 | "metadata": { |
| 3065 | "inputs": [ |
| 3066 | { |
| 3067 | "name": "ComponentId", |
| 3068 | "value": { |
| 3069 | "SubscriptionId": "{Subscription_Id}", |
| 3070 | "ResourceGroup": "{Resource_Group}", |
| 3071 | "Name": "{Workspace_Name}" |
| 3072 | } |
| 3073 | }, |
| 3074 | { |
| 3075 | "name": "Query", |
| 3076 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"UserManagement\"\r\n| where Result == \"failure\"\r\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\r\n| project TimeGenerated, initiator, OperationName, ResultReason \r\n" |
| 3077 | }, |
| 3078 | { |
| 3079 | "name": "TimeRange", |
| 3080 | "value": "P1D" |
| 3081 | }, |
| 3082 | { |
| 3083 | "name": "Version", |
| 3084 | "value": "1.0" |
| 3085 | }, |
| 3086 | { |
| 3087 | "name": "DashboardId", |
| 3088 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 3089 | }, |
| 3090 | { |
| 3091 | "name": "PartId", |
| 3092 | "value": "3a34af7d-ef42-4329-b60b-45d223441a5b" |
| 3093 | }, |
| 3094 | { |
| 3095 | "name": "PartTitle", |
| 3096 | "value": "Analytics" |
| 3097 | }, |
| 3098 | { |
| 3099 | "name": "PartSubTitle", |
| 3100 | "value": " " |
| 3101 | }, |
| 3102 | { |
| 3103 | "name": "resourceTypeMode", |
| 3104 | "value": "workspace" |
| 3105 | }, |
| 3106 | { |
| 3107 | "name": "ControlType", |
| 3108 | "value": "AnalyticsGrid" |
| 3109 | }, |
| 3110 | { |
| 3111 | "name": "Dimensions", |
| 3112 | "isOptional": true |
| 3113 | }, |
| 3114 | { |
| 3115 | "name": "SpecificChart", |
| 3116 | "isOptional": true |
| 3117 | } |
| 3118 | ], |
| 3119 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 3120 | "settings": { |
| 3121 | "content": { |
| 3122 | "PartTitle": "Failed device operations", |
| 3123 | "PartSubTitle": " ", |
| 3124 | "Query": "AuditLogs\n| where SourceSystem == \"Azure AD\"\n| where Category == \"Device\"\n| where Result == \"failure\"\n| extend initiator= tostring(InitiatedBy.user.userPrincipalName)\n| project TimeGenerated, initiator, OperationName, ResultReason \n" |
| 3125 | } |
| 3126 | }, |
| 3127 | "asset": { |
| 3128 | "idInputName": "ComponentId", |
| 3129 | "type": "ApplicationInsights" |
| 3130 | } |
| 3131 | } |
| 3132 | }, |
| 3133 | "41": { |
| 3134 | "position": { |
| 3135 | "x": 0, |
| 3136 | "y": 66, |
| 3137 | "colSpan": 19, |
| 3138 | "rowSpan": 4 |
| 3139 | }, |
| 3140 | "metadata": { |
| 3141 | "inputs": [ |
| 3142 | { |
| 3143 | "name": "ComponentId", |
| 3144 | "value": { |
| 3145 | "SubscriptionId": "{Subscription_Id}", |
| 3146 | "ResourceGroup": "{Resource_Group}", |
| 3147 | "Name": "{Workspace_Name}" |
| 3148 | } |
| 3149 | }, |
| 3150 | { |
| 3151 | "name": "Query", |
| 3152 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"Device\"\r\n| summarize count() by OperationName, TimeGenerated\r\n" |
| 3153 | }, |
| 3154 | { |
| 3155 | "name": "TimeRange", |
| 3156 | "value": "P1D" |
| 3157 | }, |
| 3158 | { |
| 3159 | "name": "Dimensions", |
| 3160 | "value": { |
| 3161 | "xAxis": { |
| 3162 | "name": "TimeGenerated", |
| 3163 | "type": "DateTime" |
| 3164 | }, |
| 3165 | "yAxis": [ |
| 3166 | { |
| 3167 | "name": "count_", |
| 3168 | "type": "Int64" |
| 3169 | } |
| 3170 | ], |
| 3171 | "splitBy": [ |
| 3172 | { |
| 3173 | "name": "OperationName", |
| 3174 | "type": "String" |
| 3175 | } |
| 3176 | ], |
| 3177 | "aggregation": "Sum" |
| 3178 | } |
| 3179 | }, |
| 3180 | { |
| 3181 | "name": "Version", |
| 3182 | "value": "1.0" |
| 3183 | }, |
| 3184 | { |
| 3185 | "name": "DashboardId", |
| 3186 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 3187 | }, |
| 3188 | { |
| 3189 | "name": "PartId", |
| 3190 | "value": "f2fe31fb-f411-4857-9425-8d3b1caa9d3e" |
| 3191 | }, |
| 3192 | { |
| 3193 | "name": "PartTitle", |
| 3194 | "value": "Analytics" |
| 3195 | }, |
| 3196 | { |
| 3197 | "name": "PartSubTitle", |
| 3198 | "value": " " |
| 3199 | }, |
| 3200 | { |
| 3201 | "name": "resourceTypeMode", |
| 3202 | "value": "workspace" |
| 3203 | }, |
| 3204 | { |
| 3205 | "name": "ControlType", |
| 3206 | "value": "AnalyticsChart" |
| 3207 | }, |
| 3208 | { |
| 3209 | "name": "SpecificChart", |
| 3210 | "value": "Bar" |
| 3211 | } |
| 3212 | ], |
| 3213 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 3214 | "settings": { |
| 3215 | "content": { |
| 3216 | "PartTitle": "Device operations", |
| 3217 | "PartSubTitle": " " |
| 3218 | } |
| 3219 | }, |
| 3220 | "asset": { |
| 3221 | "idInputName": "ComponentId", |
| 3222 | "type": "ApplicationInsights" |
| 3223 | } |
| 3224 | } |
| 3225 | }, |
| 3226 | "42": { |
| 3227 | "position": { |
| 3228 | "x": 19, |
| 3229 | "y": 66, |
| 3230 | "colSpan": 6, |
| 3231 | "rowSpan": 4 |
| 3232 | }, |
| 3233 | "metadata": { |
| 3234 | "inputs": [ |
| 3235 | { |
| 3236 | "name": "ComponentId", |
| 3237 | "value": { |
| 3238 | "SubscriptionId": "{Subscription_Id}", |
| 3239 | "ResourceGroup": "{Resource_Group}", |
| 3240 | "Name": "{Workspace_Name}" |
| 3241 | } |
| 3242 | }, |
| 3243 | { |
| 3244 | "name": "Query", |
| 3245 | "value": "AuditLogs\r\n| where SourceSystem == \"Azure AD\"\r\n| where Category == \"Device\"\r\n| summarize count() by OperationName\r\n" |
| 3246 | }, |
| 3247 | { |
| 3248 | "name": "TimeRange", |
| 3249 | "value": "P1D" |
| 3250 | }, |
| 3251 | { |
| 3252 | "name": "Dimensions", |
| 3253 | "value": { |
| 3254 | "xAxis": { |
| 3255 | "name": "OperationName", |
| 3256 | "type": "String" |
| 3257 | }, |
| 3258 | "yAxis": [ |
| 3259 | { |
| 3260 | "name": "count_", |
| 3261 | "type": "Int64" |
| 3262 | } |
| 3263 | ], |
| 3264 | "splitBy": [], |
| 3265 | "aggregation": "Sum" |
| 3266 | } |
| 3267 | }, |
| 3268 | { |
| 3269 | "name": "Version", |
| 3270 | "value": "1.0" |
| 3271 | }, |
| 3272 | { |
| 3273 | "name": "DashboardId", |
| 3274 | "value": "/subscriptions/{Subscription_Id}/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/AzureADAuditLogsDashboard_{Workspace_Name}" |
| 3275 | }, |
| 3276 | { |
| 3277 | "name": "PartId", |
| 3278 | "value": "72e7db1f-646f-4aa7-9e07-a3516e8f51ec" |
| 3279 | }, |
| 3280 | { |
| 3281 | "name": "PartTitle", |
| 3282 | "value": "Analytics" |
| 3283 | }, |
| 3284 | { |
| 3285 | "name": "PartSubTitle", |
| 3286 | "value": " " |
| 3287 | }, |
| 3288 | { |
| 3289 | "name": "resourceTypeMode", |
| 3290 | "value": "workspace" |
| 3291 | }, |
| 3292 | { |
| 3293 | "name": "ControlType", |
| 3294 | "value": "AnalyticsDonut" |
| 3295 | }, |
| 3296 | { |
| 3297 | "name": "SpecificChart", |
| 3298 | "isOptional": true |
| 3299 | } |
| 3300 | ], |
| 3301 | "type": "Extension/AppInsightsExtension/PartType/AnalyticsPart", |
| 3302 | "settings": { |
| 3303 | "content": { |
| 3304 | "PartTitle": "Device operations", |
| 3305 | "PartSubTitle": " " |
| 3306 | } |
| 3307 | }, |
| 3308 | "asset": { |
| 3309 | "idInputName": "ComponentId", |
| 3310 | "type": "ApplicationInsights" |
| 3311 | } |
| 3312 | } |
| 3313 | }, |
| 3314 | "43": { |
| 3315 | "position": { |
| 3316 | "x": 0, |
| 3317 | "y": 0, |
| 3318 | "colSpan": 1, |
| 3319 | "rowSpan": 1 |
| 3320 | }, |
| 3321 | "metadata": { |
| 3322 | "inputs": [ |
| 3323 | { |
| 3324 | "name": "subscriptionId", |
| 3325 | "value": "{Subscription_Id}" |
| 3326 | }, |
| 3327 | { |
| 3328 | "name": "resourceGroup", |
| 3329 | "value": "{Resource_Group}" |
| 3330 | }, |
| 3331 | { |
| 3332 | "name": "workspaceName", |
| 3333 | "value": "{Workspace_Name}" |
| 3334 | }, |
| 3335 | { |
| 3336 | "name": "dashboardName", |
| 3337 | "value": "AzureADAuditlogsDashboard" |
| 3338 | }, |
| 3339 | { |
| 3340 | "name": "menuItemToOpen", |
| 3341 | "value": "Dashboards" |
| 3342 | } |
| 3343 | ], |
| 3344 | "type": "Extension/Microsoft_Azure_Security_Insights/PartType/AsiOverviewPart", |
| 3345 | "defaultMenuItemId": "0" |
| 3346 | } |
| 3347 | }, |
| 3348 | "44": { |
| 3349 | "position": { |
| 3350 | "x": 23, |
| 3351 | "y": 0, |
| 3352 | "colSpan": 2, |
| 3353 | "rowSpan": 1 |
| 3354 | }, |
| 3355 | "metadata": { |
| 3356 | "inputs": [], |
| 3357 | "type": "Extension/HubsExtension/PartType/MarkdownPart", |
| 3358 | "settings": { |
| 3359 | "content": { |
| 3360 | "settings": { |
| 3361 | "content": "<div style=\"max-width: 50px\">\n<svg viewBox=\"0 0 50 50\" class=\"fxs-portal-svg\" role=\"presentation\" focusable=\"false\" xmlns:svg=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"FxSymbol0-03c\" width=\"100%\" height=\"100%\"><g><title></title><path d=\"M25.001 50.001a4.575 4.575 0 0 1-3.261-1.352L1.351 28.261A4.64 4.64 0 0 1 0 25c0-1.214.492-2.402 1.351-3.26L21.74 1.352A4.578 4.578 0 0 1 25.001 0c1.231 0 2.39.48 3.261 1.352L48.648 21.74A4.565 4.565 0 0 1 50 25a4.574 4.574 0 0 1-1.353 3.263L28.262 48.649a4.578 4.578 0 0 1-3.261 1.352\" class=\"msportalfx-svg-c15\"></path><path d=\"M38.614 21.093a3.91 3.91 0 0 0-3.91 3.909c0 .792.239 1.527.645 2.143l-7.744 7.744a4.55 4.55 0 0 0-.656-.373V14.759c1.167-.676 1.961-1.924 1.961-3.37a3.91 3.91 0 0 0-7.818 0c0 1.446.794 2.694 1.96 3.37v19.756a4.48 4.48 0 0 0-.632.353l-7.753-7.753a3.88 3.88 0 0 0 .628-2.113 3.909 3.909 0 1 0-3.908 3.909 3.88 3.88 0 0 0 1.274-.23l8.15 8.15a4.552 4.552 0 1 0 8.387.032l8.173-8.172c.392.132.804.22 1.241.22a3.909 3.909 0 0 0 .002-7.818z\" class=\"msportalfx-svg-c01\"></path><path opacity=\".5\" d=\"M40.471 24.983l-1.784 1.785L24.065 12.15l1.784-1.784z\" class=\"msportalfx-svg-c01\"></path><path opacity=\".5\" d=\"M24.166 10.377l1.784 1.785-14.62 14.62-1.785-1.784z\" class=\"msportalfx-svg-c01\"></path><path d=\"M27.665 38.614a2.71 2.71 0 1 1-5.42-.002 2.71 2.71 0 0 1 5.42.002m-.491-27.225a2.174 2.174 0 1 1-4.347 0 2.174 2.174 0 0 1 4.347 0M13.563 25.001a2.175 2.175 0 1 1-4.35-.002 2.175 2.175 0 0 1 4.35.002m27.225 0a2.175 2.175 0 1 1-4.35-.002 2.175 2.175 0 0 1 4.35.002\" class=\"msportalfx-svg-c13\"></path><path opacity=\".1\" d=\"M28.262 1.352A4.578 4.578 0 0 0 25.001 0c-1.231 0-2.389.48-3.26 1.352L1.352 21.74A4.635 4.635 0 0 0 0 25c0 1.215.492 2.403 1.352 3.261l11.543 11.544L34.61 7.699l-6.348-6.347z\" class=\"msportalfx-svg-c01\"></path></g></svg>\n</div>", |
| 3362 | "title": "", |
| 3363 | "subtitle": "" |
| 3364 | } |
| 3365 | } |
| 3366 | } |
| 3367 | } |
| 3368 | } |
| 3369 | } |
| 3370 | } |
| 3371 | } |
| 3372 | } |
| 3373 | } |