Skip to content

Commit e2bc115

Browse files
committed
Shared: Accept the ai threat model as a source kind in model validation
ModelOutput::getAWarning reports source models whose kind is not listed in ValidSourceKind. The list did not include ai, added to the threat models in #22810, so the rows of this PR showed up as warnings in library-tests/frameworks/data.
1 parent 20c6662 commit e2bc115

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎shared/mad/codeql/mad/ModelValidation.qll‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ module KindValidation<KindValidationConfigSig Config> {
126126
[
127127
// shared
128128
"local", "remote", "file", "commandargs", "database", "environment", "reverse-dns",
129-
"stdin",
129+
"stdin", "ai",
130130
// Java
131131
"android-external-storage-dir", "contentprovider",
132132
// C#

0 commit comments

Comments
 (0)