Skip to content

Commit 157d0b7

Browse files
committed
ThreatModels: Add stdin kind
None of the current local subgroups precisely captures stdin, so although it's much like both commandargs and file, a separate kind seems better.
1 parent 7d61d92 commit 157d0b7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

shared/mad/codeql/mad/ModelValidation.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ module KindValidation<KindValidationConfigSig Config> {
119119
[
120120
// shared
121121
"local", "remote", "file", "commandargs", "database", "environment", "reverse-dns",
122+
"stdin",
122123
// Java
123124
"android-external-storage-dir", "contentprovider",
124125
// C#

shared/threat-models/ext/threat-model-grouping.model.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ extensions:
1515
- ["database", "local"]
1616
- ["commandargs", "local"]
1717
- ["environment", "local"]
18+
- ["stdin", "local"]
1819
- ["file", "local"]
1920
- ["windows-registry", "local"]
2021

0 commit comments

Comments
 (0)