Skip to content

Commit 617ab27

Browse files
committed
Python: Add test showing default active threat-models
1 parent 766dcc4 commit 617ab27

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
| default |
2+
| remote |
3+
| request |
4+
| response |
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
private import codeql.threatmodels.ThreatModels
2+
3+
from string kind
4+
where
5+
knownThreatModel(kind) and
6+
currentThreatModel(kind)
7+
select kind

0 commit comments

Comments
 (0)