From 91109c826d1429859ebce8502b628e024f35a78e Mon Sep 17 00:00:00 2001 From: tiferet Date: Tue, 21 Feb 2023 12:17:15 -0800 Subject: [PATCH] List the MaD `provenance` as "ai-generated" rather than "manual" See https://github.com/github/codeql/pull/12228 --- .../adaptivethreatmodeling/EndpointCharacteristics.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll b/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll index 5d4d0a9c8ba..2cce1372252 100644 --- a/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll +++ b/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll @@ -112,7 +112,7 @@ predicate hasMetadata(DataFlow::Node n, string metadata) { name = callee.getName() and // TODO: Will this work for constructors? signature = paramsString(callee) and // TODO: Why are brackets being escaped (`\[\]` vs `[]`)? ext = "" and // see https://github.slack.com/archives/CP9127VUK/p1673979477496069 - provenance = "manual" and // TODO + provenance = "ai-generated" and (if callee.isPublic() then isPublic = true else isPublic = false) and ( if n instanceof ExternalAPIs::ExternalApiDataNode