mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Update shared/threat-models/codeql/threatmodels/ThreatModels.qll
Co-authored-by: Michael Nebel <michaelnebel@github.com>
This commit is contained in:
@@ -70,7 +70,7 @@ private boolean threatModelExplicitState(string kind) {
|
||||
*/
|
||||
bindingset[kind]
|
||||
predicate currentThreatModel(string kind) {
|
||||
knownThreatModel(kind) and threatModelExplicitState(kind) = true
|
||||
knownThreatModel(kind) and threatModelEnabled(kind)
|
||||
or
|
||||
// For any threat model kind not mentioned in the configuration or grouping tables, its state of
|
||||
// enablement is controlled only by the entries that specifiy the "all" kind.
|
||||
|
||||
Reference in New Issue
Block a user