File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
shared/threat-models/codeql/threatmodels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ private string getParentThreatModel(string child) {
50
50
* whose `kind` column includes the specified threat model kind.
51
51
*/
52
52
private predicate threatModelEnabled ( string kind ) {
53
- // Find the highest-oriority configuration row whose `kind` column includes the specified threat
53
+ // Find the highest-priority configuration row whose `kind` column includes the specified threat
54
54
// model kind. If such a row exists and its `enabled` column is `true`, then the threat model is
55
55
// enabled.
56
56
knownThreatModel ( kind ) and
@@ -69,7 +69,7 @@ private predicate threatModelEnabled(string kind) {
69
69
*/
70
70
bindingset [ kind]
71
71
predicate currentThreatModel ( string kind ) {
72
- knownThreatModel ( kind ) and threatModelEnabled ( kind )
72
+ threatModelEnabled ( kind )
73
73
or
74
74
// For any threat model kind not mentioned in the configuration or grouping tables, its state of
75
75
// enablement is controlled only by the entries that specifiy the "all" kind.
You can’t perform that action at this time.
0 commit comments