Skip to content

Commit

Permalink
Add a readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
dbartol committed Oct 19, 2023
1 parent fb1b41b commit 15e9838
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shared/threat-models-ext/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This directory contains an extension pack for each supported threat model. Each pack should have the
same layout. To add a new threat model, just copy one of the existing packs, and update the following:

- In `qlpack.yml`, update the `name` to `codeql/threat-$name`, where `$name` is the name of the threat model.
- In `threat.model.yml`, change the single row of the `data` property to `- ["$name"]`

If creating these by copying and pasting becomes a burder, we can always automate the process with a script.

0 comments on commit 15e9838

Please sign in to comment.