Skip to content

Commit 15e9838

Browse files
author
Dave Bartolomeo
committed
Add a readme file
1 parent fb1b41b commit 15e9838

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

shared/threat-models-ext/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This directory contains an extension pack for each supported threat model. Each pack should have the
2+
same layout. To add a new threat model, just copy one of the existing packs, and update the following:
3+
4+
- In `qlpack.yml`, update the `name` to `codeql/threat-$name`, where `$name` is the name of the threat model.
5+
- In `threat.model.yml`, change the single row of the `data` property to `- ["$name"]`
6+
7+
If creating these by copying and pasting becomes a burder, we can always automate the process with a script.

0 commit comments

Comments
 (0)