Python: Add test showing default active threat-models

This commit is contained in:
Rasmus Wriedt Larsen
2024-08-09 11:24:37 +02:00
parent 766dcc4dd6
commit 617ab27c75
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
| default |
| remote |
| request |
| response |

View File

@@ -0,0 +1,7 @@
private import codeql.threatmodels.ThreatModels
from string kind
where
knownThreatModel(kind) and
currentThreatModel(kind)
select kind