Commit 74a2a63
fix(infra): apply DCR review feedback from PR #244 (ADO #43311)
Address review comments from @Harsh-Microsoft on PR #244:
- xPathQueries: broaden the Windows Security filter to use the audit
Keywords bitmask (0x30000000000000 = AuditSuccess|AuditFailure) and
exclude the very high-volume EventID 4624 (successful logon). The new
filter captures all audit success and audit failure events (which is
what the SFI item actually asks for), not just 4624/4625, while
keeping ingestion cost sane.
- dataSources: add a small Microsoft-Perf set (CPU, memory, disk, network)
to the same DCR so the jumpbox VM also produces a baseline VM health
signal alongside the security audit stream.
- dcrLogAnalyticsDestinationName: extract the destination name to a
variable (\la-<lawName>-destination\) and reference it from the
destinations.logAnalytics entry and both dataFlows (SecurityEvent and
Perf) so the name is defined once.
Applied to both infra/main.bicep and infra/main_custom.bicep, and
regenerated infra/main.json from main.bicep.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e9215d2 commit 74a2a63
3 files changed
Lines changed: 112 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
442 | 446 | | |
443 | 447 | | |
444 | 448 | | |
445 | 449 | | |
| 450 | + | |
446 | 451 | | |
447 | 452 | | |
448 | 453 | | |
| |||
460 | 465 | | |
461 | 466 | | |
462 | 467 | | |
463 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
464 | 487 | | |
465 | 488 | | |
466 | 489 | | |
| |||
469 | 492 | | |
470 | 493 | | |
471 | 494 | | |
472 | | - | |
| 495 | + | |
473 | 496 | | |
474 | 497 | | |
475 | 498 | | |
| |||
479 | 502 | | |
480 | 503 | | |
481 | 504 | | |
482 | | - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
483 | 514 | | |
484 | 515 | | |
485 | 516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
17209 | 17210 | | |
17210 | 17211 | | |
17211 | 17212 | | |
17212 | | - | |
| 17213 | + | |
| 17214 | + | |
| 17215 | + | |
| 17216 | + | |
| 17217 | + | |
| 17218 | + | |
| 17219 | + | |
| 17220 | + | |
| 17221 | + | |
| 17222 | + | |
| 17223 | + | |
| 17224 | + | |
| 17225 | + | |
| 17226 | + | |
| 17227 | + | |
| 17228 | + | |
| 17229 | + | |
| 17230 | + | |
| 17231 | + | |
17213 | 17232 | | |
17214 | 17233 | | |
17215 | 17234 | | |
| |||
17218 | 17237 | | |
17219 | 17238 | | |
17220 | 17239 | | |
17221 | | - | |
| 17240 | + | |
17222 | 17241 | | |
17223 | 17242 | | |
17224 | 17243 | | |
| |||
17228 | 17247 | | |
17229 | 17248 | | |
17230 | 17249 | | |
17231 | | - | |
| 17250 | + | |
| 17251 | + | |
| 17252 | + | |
| 17253 | + | |
| 17254 | + | |
| 17255 | + | |
| 17256 | + | |
| 17257 | + | |
| 17258 | + | |
17232 | 17259 | | |
17233 | 17260 | | |
17234 | 17261 | | |
| |||
35134 | 35161 | | |
35135 | 35162 | | |
35136 | 35163 | | |
35137 | | - | |
35138 | 35164 | | |
| 35165 | + | |
35139 | 35166 | | |
35140 | 35167 | | |
35141 | 35168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
420 | 424 | | |
421 | 425 | | |
422 | 426 | | |
423 | 427 | | |
| 428 | + | |
424 | 429 | | |
425 | 430 | | |
426 | 431 | | |
| |||
438 | 443 | | |
439 | 444 | | |
440 | 445 | | |
441 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
442 | 465 | | |
443 | 466 | | |
444 | 467 | | |
| |||
447 | 470 | | |
448 | 471 | | |
449 | 472 | | |
450 | | - | |
| 473 | + | |
451 | 474 | | |
452 | 475 | | |
453 | 476 | | |
| |||
457 | 480 | | |
458 | 481 | | |
459 | 482 | | |
460 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
461 | 492 | | |
462 | 493 | | |
463 | 494 | | |
| |||
0 commit comments