Skip to content

Commit 8d9e4d3

Browse files
Dave Bartolomeomichaelnebel
andauthored
Update shared/threat-models/codeql/threatmodels/ThreatModels.qll
Co-authored-by: Michael Nebel <[email protected]>
1 parent b3e5b86 commit 8d9e4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/threat-models/codeql/threatmodels/ThreatModels.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private boolean threatModelExplicitState(string kind) {
7070
*/
7171
bindingset[kind]
7272
predicate currentThreatModel(string kind) {
73-
knownThreatModel(kind) and threatModelExplicitState(kind) = true
73+
knownThreatModel(kind) and threatModelEnabled(kind)
7474
or
7575
// For any threat model kind not mentioned in the configuration or grouping tables, its state of
7676
// enablement is controlled only by the entries that specifiy the "all" kind.

0 commit comments

Comments
 (0)