Commit 7401885
committed
feat(cli): render full ThreatMap.v1 dataflow in findings show
renderThreatMap collapsed each path to a single [source] -> [sink] line,
discarding the transforms (the actual dataflow), per-path confidence,
bypassable guards, and the summary block that omv threat-map init now
writes. Complete the read side to match the producer:
- Multi-line rendering per path: source, each transform, sink, guard
(present/missing, bypassable flag), confidence in the path header.
- Optional summary line (path_count, confirmed_paths, highest_confidence).
- describeThreatNode now surfaces location alongside the label.
- Updated the pinned read test to the richer format and added a test
covering transforms, confidence, bypassable guard, and summary.
37 tests pass; full validate green.1 parent 3c60e87 commit 7401885
3 files changed
Lines changed: 96 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
360 | 421 | | |
361 | 422 | | |
362 | 423 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | | - | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1042 | 1044 | | |
1043 | | - | |
| 1045 | + | |
| 1046 | + | |
1044 | 1047 | | |
1045 | | - | |
1046 | | - | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
1047 | 1056 | | |
1048 | 1057 | | |
1049 | | - | |
1050 | | - | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
1051 | 1061 | | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
1052 | 1075 | | |
1053 | 1076 | | |
1054 | 1077 | | |
1055 | 1078 | | |
1056 | | - | |
| 1079 | + | |
1057 | 1080 | | |
1058 | 1081 | | |
1059 | 1082 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
1063 | 1086 | | |
1064 | 1087 | | |
1065 | 1088 | | |
| |||
0 commit comments