File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
test/query-tests/diagnostics Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,18 +56,18 @@ where
56
56
or
57
57
key = "Macro calls - unresolved" and value = count ( MacroCall mc | not mc .hasExpanded ( ) )
58
58
or
59
- key = "Taint sources - total" and value = count ( ThreatModelSource s )
60
- or
61
59
key = "Taint sources - active" and value = count ( ActiveThreatModelSource s )
62
60
or
61
+ key = "Taint sources - disabled" and value = count ( ThreatModelSource s | not s instanceof ActiveThreatModelSource )
62
+ or
63
+ key = "Taint sources - sensitive data" and value = count ( SensitiveData d )
64
+ or
63
65
key = "Taint edges - number of edges" and value = getTaintEdgesCount ( )
64
66
or
65
67
key = "Taint reach - nodes tainted" and value = getTaintedNodesCount ( )
66
68
or
67
69
key = "Taint reach - per million nodes" and value = getTaintReach ( ) .floor ( )
68
70
or
69
- key = "Sensitive data" and value = count ( SensitiveData d )
70
- or
71
71
key = "Taint sinks - query sinks" and value = getQuerySinksCount ( )
72
72
or
73
73
key = "Taint sinks - cryptographic operations" and
Original file line number Diff line number Diff line change 14
14
| Macro calls - resolved | 8 |
15
15
| Macro calls - total | 9 |
16
16
| Macro calls - unresolved | 1 |
17
- | Sensitive data | 0 |
18
17
| Taint edges - number of edges | 2 |
19
18
| Taint reach - nodes tainted | 0 |
20
19
| Taint reach - per million nodes | 0 |
21
20
| Taint sinks - cryptographic operations | 0 |
22
21
| Taint sinks - query sinks | 0 |
23
22
| Taint sources - active | 0 |
24
- | Taint sources - total | 0 |
23
+ | Taint sources - disabled | 0 |
24
+ | Taint sources - sensitive data | 0 |
You can’t perform that action at this time.
0 commit comments