mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
List the MaD provenance as "ai-generated" rather than "manual"
See https://github.com/github/codeql/pull/12228
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user