Repository navigation
Conversation
nickrolfe
marked this pull request as ready for review
November 10, 2026 14:49
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The generic secret scan did not complete, leaving potential secret exposure unverified and requiring human review.
No open issues 🎉
What changed in this PR
This PR migrates Go’s CodeQL data extensions from YAML to JSON to use the faster loading supported by CLI 2.27.3, without intending to change analysis behavior.
Changes:
- Converts library models to JSON while retaining their model tuples and explanatory comments.
- Converts test-specific extensions for threat models, data flow, inheritance, and request forgery.
- Adds JSON model discovery alongside the existing YAML pattern in the Go library pack.
| File | Description |
|---|---|
go/ql/test/query-tests/Security/CWE-918/RequestForgery.ext.yml |
Removes YAML request-forgery fixture. |
go/ql/test/query-tests/Security/CWE-918/RequestForgery.ext.json |
Adds JSON request-forgery fixture. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest6.ext.yml |
Removes YAML threat-model fixture 6. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest6.ext.json |
Adds JSON local/environment configuration. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest5.ext.yml |
Removes YAML threat-model fixture 5. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest5.ext.json |
Adds JSON environment/arguments configuration. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest4.ext.yml |
Removes YAML threat-model fixture 4. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest4.ext.json |
Adds JSON all-threats configuration. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest3.ext.yml |
Removes YAML threat-model fixture 3. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest3.ext.json |
Adds JSON local-threat configuration. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest2.ext.yml |
Removes YAML threat-model fixture 2. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest2.ext.json |
Adds JSON database-threat configuration. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest1.ext.yml |
Removes YAML threat-model fixture 1. |
go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest1.ext.json |
Adds JSON default configuration and sources. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/stdin/test.ext.yml |
Removes YAML stdin test configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/stdin/test.ext.json |
Adds JSON stdin test configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/stdin/source.ext.yml |
Removes YAML stdin source configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/stdin/source.ext.json |
Adds JSON stdin source configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/file/test.ext.yml |
Removes YAML file-source configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/file/test.ext.json |
Adds JSON file-source configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/environment/test.ext.yml |
Removes YAML environment-source configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/environment/test.ext.json |
Adds JSON environment-source configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/test.ext.yml |
Removes YAML database test models. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/test.ext.json |
Adds JSON database test models. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/source.ext.yml |
Removes YAML database source models. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/database/source.ext.json |
Adds JSON database source models. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/commandargs/test.ext.yml |
Removes YAML command-argument configuration. |
go/ql/test/library-tests/semmle/go/dataflow/flowsources/local/commandargs/test.ext.json |
Adds JSON command-argument configuration. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalValueFlow/srcs.ext.yml |
Removes YAML value-flow sources. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalValueFlow/srcs.ext.json |
Adds JSON value-flow sources. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalValueFlow/sinks.ext.yml |
Removes YAML value-flow sinks. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalValueFlow/sinks.ext.json |
Adds JSON value-flow sinks. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalTaintFlow/srcs.ext.yml |
Removes YAML taint-flow sources. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalTaintFlow/srcs.ext.json |
Adds JSON taint-flow sources. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalTaintFlow/sinks.ext.yml |
Removes YAML taint-flow sinks. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalTaintFlow/sinks.ext.json |
Adds JSON taint-flow sinks. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowVarArgs/Flows.ext.yml |
Removes YAML variadic-flow summaries. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowVarArgs/Flows.ext.json |
Adds JSON variadic-flow summaries. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SImplEmbedS2_subtypes_true.ext.yml |
Removes YAML SImplEmbedS2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SImplEmbedS2_subtypes_true.ext.json |
Adds JSON SImplEmbedS2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SImplEmbedS1_subtypes_true.ext.yml |
Removes YAML SImplEmbedS1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SImplEmbedI2_subtypes_true.ext.yml |
Removes YAML SImplEmbedI2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SImplEmbedI2_subtypes_true.ext.json |
Adds JSON SImplEmbedI2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SImplEmbedI1_subtypes_true.ext.yml |
Removes YAML SImplEmbedI1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedS2_subtypes_true.ext.yml |
Removes YAML SEmbedS2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedS2_subtypes_true.ext.json |
Adds JSON SEmbedS2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedS1_subtypes_true.ext.yml |
Removes YAML SEmbedS1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedPtrS2_subtypes_true.ext.yml |
Removes YAML SEmbedPtrS2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedPtrS2_subtypes_true.ext.json |
Adds JSON SEmbedPtrS2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedPtrS1_subtypes_true.ext.yml |
Removes YAML SEmbedPtrS1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedPtrP2_subtypes_true.ext.yml |
Removes YAML SEmbedPtrP2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedPtrP2_subtypes_true.ext.json |
Adds JSON SEmbedPtrP2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedPtrP1_subtypes_true.ext.yml |
Removes YAML SEmbedPtrP1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedP2_subtypes_true.ext.yml |
Removes YAML SEmbedP2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedP2_subtypes_true.ext.json |
Adds JSON SEmbedP2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedP1_subtypes_true.ext.yml |
Removes YAML SEmbedP1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedI2_subtypes_true.ext.yml |
Removes YAML SEmbedI2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedI2_subtypes_true.ext.json |
Adds JSON SEmbedI2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_SEmbedI1_subtypes_true.ext.yml |
Removes YAML SEmbedI1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_S1_subtypes_true.ext.yml |
Removes YAML S1 subtype-enabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_S1_subtypes_false.ext.yml |
Removes YAML S1 subtype-disabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_PImplEmbedI2_subtypes_true.ext.yml |
Removes YAML PImplEmbedI2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_PImplEmbedI2_subtypes_true.ext.json |
Adds JSON PImplEmbedI2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_PImplEmbedI1_subtypes_true.ext.yml |
Removes YAML PImplEmbedI1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_IEmbedI2_subtypes_true.ext.yml |
Removes YAML IEmbedI2 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_IEmbedI2_subtypes_true.ext.json |
Adds JSON IEmbedI2 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_IEmbedI1_subtypes_true.ext.yml |
Removes YAML IEmbedI1 models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_IEmbedI1_subtypes_true.ext.json |
Adds JSON IEmbedI1 subtype models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I2_subtypes_true.ext.yml |
Removes YAML I2 subtype-enabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I2_subtypes_true.ext.json |
Adds JSON I2 subtype-enabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I2_subtypes_false.ext.yml |
Removes YAML I2 subtype-disabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I2_subtypes_false.ext.json |
Adds JSON I2 subtype-disabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I1_subtypes_true.ext.yml |
Removes YAML I1 subtype-enabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I1_subtypes_true.ext.json |
Adds JSON I1 subtype-enabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I1_subtypes_false.ext.yml |
Removes YAML I1 subtype-disabled models. |
go/ql/test/library-tests/semmle/go/dataflow/ExternalFlowInheritance/mad_I1_subtypes_false.ext.json |
Adds JSON I1 subtype-disabled models. |
go/ql/test/library-tests/semmle/go/controlflow/Guards/Guards.ext.yml |
Removes YAML barrier-guard fixture. |
go/ql/lib/qlpack.yml |
Discovers JSON and YAML models. |
go/ql/lib/ext/weak.model.yml |
Removes YAML weak-pointer summaries. |
go/ql/lib/ext/weak.model.json |
Adds JSON weak-pointer summaries. |
go/ql/lib/ext/text.template.model.yml |
Removes YAML text-template summaries. |
go/ql/lib/ext/text.template.model.json |
Adds JSON summaries and retains comments. |
go/ql/lib/ext/text.tabwriter.model.yml |
Removes YAML tabwriter summary. |
go/ql/lib/ext/text.tabwriter.model.json |
Adds JSON tabwriter summary. |
go/ql/lib/ext/text.scanner.model.yml |
Removes YAML scanner summaries. |
go/ql/lib/ext/text.scanner.model.json |
Adds JSON scanner summaries. |
go/ql/lib/ext/sync.model.yml |
Removes YAML synchronization summaries. |
go/ql/lib/ext/sync.model.json |
Adds JSON map and pool summaries. |
go/ql/lib/ext/strconv.model.yml |
Removes YAML string-conversion summaries. |
go/ql/lib/ext/strconv.model.json |
Adds JSON string-conversion summaries. |
go/ql/lib/ext/sort.model.yml |
Removes YAML reverse-sort summary. |
go/ql/lib/ext/sort.model.json |
Adds JSON reverse-sort summary. |
go/ql/lib/ext/path.model.yml |
Removes YAML path summaries. |
go/ql/lib/ext/path.model.json |
Adds JSON path summaries. |
go/ql/lib/ext/os.exec.model.yml |
Removes YAML command-injection sinks. |
go/ql/lib/ext/os.exec.model.json |
Adds JSON command-injection sinks. |
go/ql/lib/ext/net.mail.model.yml |
Removes YAML mail summaries. |
go/ql/lib/ext/net.mail.model.json |
Adds JSON mail summaries. |
go/ql/lib/ext/net.http.httputil.model.yml |
Removes YAML HTTP utility summaries. |
go/ql/lib/ext/mime.quotedprintable.model.yml |
Removes YAML quoted-printable summary. |
go/ql/lib/ext/mime.quotedprintable.model.json |
Adds JSON quoted-printable summary. |
go/ql/lib/ext/mime.model.yml |
Removes YAML MIME summaries. |
go/ql/lib/ext/mime.model.json |
Adds JSON MIME summaries. |
go/ql/lib/ext/math.big.model.yml |
Removes YAML big-integer summary. |
go/ql/lib/ext/math.big.model.json |
Adds JSON big-integer summary. |
go/ql/lib/ext/maps.model.yml |
Removes YAML map summaries. |
go/ql/lib/ext/maps.model.json |
Adds JSON summaries and retains iterator notes. |
go/ql/lib/ext/k8s.io.api.core.model.yml |
Removes YAML Kubernetes secret summaries. |
go/ql/lib/ext/io.ioutil.model.yml |
Removes YAML I/O utility models. |
go/ql/lib/ext/html.template.model.yml |
Removes YAML HTML-template summaries. |
go/ql/lib/ext/html.template.model.json |
Adds JSON HTML-template summaries. |
go/ql/lib/ext/html.model.yml |
Removes YAML HTML escaping summaries. |
go/ql/lib/ext/html.model.json |
Adds JSON HTML escaping summaries. |
go/ql/lib/ext/gopkg.in.yaml.model.yml |
Removes YAML serialization summaries. |
go/ql/lib/ext/google.golang.org.protobuf.reflect.protoreflect.model.yml |
Removes YAML protobuf reflection summary. |
go/ql/lib/ext/google.golang.org.protobuf.reflect.protoreflect.model.json |
Adds JSON protobuf reflection summary. |
go/ql/lib/ext/google.golang.org.protobuf.proto.model.yml |
Removes YAML protobuf summaries. |
go/ql/lib/ext/google.golang.org.protobuf.proto.model.json |
Adds JSON protobuf summaries. |
go/ql/lib/ext/google.golang.org.protobuf.internal.impl.model.yml |
Removes YAML protobuf internal summaries. |
go/ql/lib/ext/google.golang.org.protobuf.internal.impl.model.json |
Adds JSON protobuf internal summaries. |
go/ql/lib/ext/google.golang.org.protobuf.internal.encoding.text.model.yml |
Removes YAML protobuf token summary. |
go/ql/lib/ext/google.golang.org.protobuf.internal.encoding.text.model.json |
Adds JSON protobuf token summary. |
go/ql/lib/ext/golang.org.x.net.websocket.model.yml |
Removes YAML WebSocket sources. |
go/ql/lib/ext/golang.org.x.net.websocket.model.json |
Adds JSON WebSocket sources. |
go/ql/lib/ext/golang.org.x.net.context.model.yml |
Removes YAML extended-context summaries. |
go/ql/lib/ext/golang.org.x.net.context.model.json |
Adds JSON extended-context summaries. |
go/ql/lib/ext/golang.org.x.crypto.ssh.model.yml |
Removes YAML SSH command sinks. |
go/ql/lib/ext/golang.org.x.crypto.ssh.model.json |
Adds JSON SSH command sinks. |
go/ql/lib/ext/github.com.sendgrid.sendgrid-go.helpers.mail.model.yml |
Removes YAML SendGrid content summary. |
go/ql/lib/ext/github.com.sendgrid.sendgrid-go.helpers.mail.model.json |
Adds JSON SendGrid content summary. |
go/ql/lib/ext/github.com.santhosh-tekuri.xpathparser.model.yml |
Removes YAML XPath parser sinks. |
go/ql/lib/ext/github.com.santhosh-tekuri.xpathparser.model.json |
Adds JSON XPath parser sinks. |
go/ql/lib/ext/github.com.ory.fosite.token.jwt.model.yml |
Removes YAML Fosite signing-key sinks. |
go/ql/lib/ext/github.com.ory.fosite.token.jwt.model.json |
Adds JSON Fosite signing-key sinks. |
go/ql/lib/ext/github.com.moovweb.gokogiri.xpath.model.yml |
Removes YAML Gokogiri XPath models. |
go/ql/lib/ext/github.com.moovweb.gokogiri.xpath.model.json |
Adds JSON XPath grouping and sink. |
go/ql/lib/ext/github.com.moovweb.gokogiri.xml.model.yml |
Removes YAML Gokogiri XML models. |
go/ql/lib/ext/github.com.moovweb.gokogiri.xml.model.json |
Adds JSON XML grouping and sinks. |
go/ql/lib/ext/github.com.lestrrat.go-jwx.jwk.model.yml |
Removes YAML legacy JWK key sink. |
go/ql/lib/ext/github.com.lestrrat.go-jwx.jwk.model.json |
Adds JSON legacy JWK key sink. |
go/ql/lib/ext/github.com.lestrrat-go.libxml2.parser.model.yml |
Removes YAML libxml2 parser sinks. |
go/ql/lib/ext/github.com.lestrrat-go.libxml2.parser.model.json |
Adds JSON libxml2 parser sinks. |
go/ql/lib/ext/github.com.lestrrat-go.jwx.model.yml |
Removes YAML JWX key sink. |
go/ql/lib/ext/github.com.lestrrat-go.jwx.model.json |
Adds JSON JWX key sink. |
go/ql/lib/ext/github.com.lestrrat-go.jwx.jwk.model.yml |
Removes YAML JWK key sink. |
go/ql/lib/ext/github.com.lestrrat-go.jwx.jwk.model.json |
Adds JSON JWK key sink. |
go/ql/lib/ext/github.com.kelseyhightower.envconfig.model.yml |
Removes YAML envconfig sources. |
go/ql/lib/ext/github.com.kelseyhightower.envconfig.model.json |
Adds JSON envconfig sources. |
go/ql/lib/ext/github.com.kataras.jwt.model.yml |
Removes YAML Kataras signing-key sinks. |
go/ql/lib/ext/github.com.kataras.jwt.model.json |
Adds JSON Kataras signing-key sinks. |
go/ql/lib/ext/github.com.kataras.iris.middleware.jwt.model.yml |
Removes YAML Iris signing-key sinks. |
go/ql/lib/ext/github.com.kataras.iris.middleware.jwt.model.json |
Adds JSON Iris signing-key sinks. |
go/ql/lib/ext/github.com.kataras.iris.context.model.yml |
Removes YAML Iris context models. |
go/ql/lib/ext/github.com.kataras.iris.context.model.json |
Adds JSON grouping and path sinks. |
go/ql/lib/ext/github.com.json-iterator.go.model.yml |
Removes YAML JSON-iterator summaries. |
go/ql/lib/ext/github.com.json-iterator.go.model.json |
Adds JSON JSON-iterator summaries. |
go/ql/lib/ext/github.com.joho.godotenv.model.yml |
Removes YAML godotenv sources. |
go/ql/lib/ext/github.com.joho.godotenv.model.json |
Adds JSON godotenv sources. |
go/ql/lib/ext/github.com.hashicorp.go-envparse.model.yml |
Removes YAML envparse source. |
go/ql/lib/ext/github.com.hashicorp.go-envparse.model.json |
Adds JSON envparse source. |
go/ql/lib/ext/github.com.gorilla.websocket.model.yml |
Removes YAML Gorilla WebSocket sources. |
go/ql/lib/ext/github.com.gorilla.websocket.model.json |
Adds JSON Gorilla WebSocket sources. |
go/ql/lib/ext/github.com.gorilla.mux.model.yml |
Removes YAML Gorilla Mux source. |
go/ql/lib/ext/github.com.gorilla.mux.model.json |
Adds JSON source and retains access-path note. |
go/ql/lib/ext/github.com.golang.protobuf.proto.model.yml |
Removes YAML legacy protobuf summaries. |
go/ql/lib/ext/github.com.golang.protobuf.proto.model.json |
Adds JSON legacy protobuf summaries. |
go/ql/lib/ext/github.com.gogf.gf-jwt.model.yml |
Removes YAML GoFrame key sink. |
go/ql/lib/ext/github.com.gogf.gf-jwt.model.json |
Adds JSON GoFrame key sink. |
go/ql/lib/ext/github.com.gofiber.fiber.model.yml |
Removes YAML Fiber sinks. |
go/ql/lib/ext/github.com.gofiber.fiber.model.json |
Adds JSON sinks and retains comments. |
go/ql/lib/ext/github.com.gobwas.ws.model.yml |
Removes YAML Gobwas WebSocket sources. |
go/ql/lib/ext/github.com.gobwas.ws.model.json |
Adds JSON Gobwas WebSocket sources. |
go/ql/lib/ext/github.com.gobuffalo.envy.model.yml |
Removes YAML Envy environment sources. |
go/ql/lib/ext/github.com.gobuffalo.envy.model.json |
Adds JSON Envy environment sources. |
go/ql/lib/ext/github.com.go-xmlpath.xmlpath.model.yml |
Removes YAML XMLPath models. |
go/ql/lib/ext/github.com.go-xmlpath.xmlpath.model.json |
Adds JSON XMLPath grouping and sinks. |
go/ql/lib/ext/github.com.go-pg.pg.orm.model.yml |
Removes YAML go-pg formatter summaries. |
go/ql/lib/ext/github.com.go-pg.pg.orm.model.json |
Adds JSON go-pg formatter summaries. |
go/ql/lib/ext/github.com.go-kit.kit.auth.jwt.model.yml |
Removes YAML Go kit signing-key sink. |
go/ql/lib/ext/github.com.go-kit.kit.auth.jwt.model.json |
Adds JSON Go kit signing-key sink. |
go/ql/lib/ext/github.com.go-jose.go-jose.model.yml |
Removes YAML JOSE key models. |
go/ql/lib/ext/github.com.go-jose.go-jose.model.json |
Adds JSON JOSE grouping and key sinks. |
go/ql/lib/ext/github.com.go-jose.go-jose.jwt.model.yml |
Removes YAML JOSE token models. |
go/ql/lib/ext/github.com.go-chi.jwtauth.model.yml |
Removes YAML Chi authentication key sink. |
go/ql/lib/ext/github.com.go-chi.jwtauth.model.json |
Adds JSON Chi authentication key sink. |
go/ql/lib/ext/github.com.go-chi.chi.model.yml |
Removes YAML Chi URL-parameter sources. |
go/ql/lib/ext/github.com.go-chi.chi.model.json |
Adds JSON Chi URL-parameter sources. |
go/ql/lib/ext/github.com.form3tech-oss.jwt-go.model.yml |
Removes YAML Form3 signing-key sinks. |
go/ql/lib/ext/github.com.form3tech-oss.jwt-go.model.json |
Adds JSON Form3 signing-key sinks. |
go/ql/lib/ext/github.com.emicklei.go-restful.model.yml |
Removes YAML go-restful sources. |
go/ql/lib/ext/github.com.emicklei.go-restful.model.json |
Adds JSON sources and retains access-path notes. |
go/ql/lib/ext/github.com.elazarl.goproxy.model.yml |
Removes YAML proxy data-flow models. |
go/ql/lib/ext/github.com.davecgh.go-spew.spew.model.yml |
Removes YAML Spew logging sinks. |
go/ql/lib/ext/github.com.cristalhq.jwt.model.yml |
Removes YAML Cristal signing-key sink. |
go/ql/lib/ext/github.com.cristalhq.jwt.model.json |
Adds JSON Cristal signing-key sink. |
go/ql/lib/ext/github.com.codeskyblue.go-sh.model.yml |
Removes YAML shell-command sinks. |
go/ql/lib/ext/github.com.codeskyblue.go-sh.model.json |
Adds JSON shell-command sinks. |
go/ql/lib/ext/github.com.coder.websocket.model.yml |
Removes YAML Coder WebSocket models. |
go/ql/lib/ext/github.com.coder.websocket.model.json |
Adds JSON WebSocket grouping and sources. |
go/ql/lib/ext/github.com.christrenkamp.goxpath.model.yml |
Removes YAML goxpath sinks. |
go/ql/lib/ext/github.com.christrenkamp.goxpath.model.json |
Adds JSON goxpath sinks. |
go/ql/lib/ext/github.com.caarlos0.env.model.yml |
Removes YAML environment parsing models. |
go/ql/lib/ext/github.com.caarlos0.env.model.json |
Adds JSON environment sources and summaries. |
go/ql/lib/ext/github.com.appleboy.gin-jwt.model.yml |
Removes YAML Gin authentication key sink. |
go/ql/lib/ext/github.com.appleboy.gin-jwt.model.json |
Adds JSON Gin authentication key sink. |
go/ql/lib/ext/github.com.antchfx.xpath.model.yml |
Removes YAML Antch XPath sinks. |
go/ql/lib/ext/github.com.antchfx.xpath.model.json |
Adds JSON Antch XPath sinks. |
go/ql/lib/ext/github.com.antchfx.xmlquery.model.yml |
Removes YAML XML query sinks. |
go/ql/lib/ext/github.com.antchfx.xmlquery.model.json |
Adds JSON XML query sinks. |
go/ql/lib/ext/github.com.antchfx.jsonquery.model.yml |
Removes YAML JSON query sinks. |
go/ql/lib/ext/github.com.antchfx.jsonquery.model.json |
Adds JSON JSON-query sinks. |
go/ql/lib/ext/github.com.antchfx.htmlquery.model.yml |
Removes YAML HTML query sinks. |
go/ql/lib/ext/github.com.antchfx.htmlquery.model.json |
Adds JSON HTML query sinks. |
go/ql/lib/ext/expvar.model.yml |
Removes YAML exported-variable summaries. |
go/ql/lib/ext/expvar.model.json |
Adds JSON exported-variable summaries. |
go/ql/lib/ext/errors.model.yml |
Removes YAML error summaries. |
go/ql/lib/ext/errors.model.json |
Adds JSON error summaries. |
go/ql/lib/ext/encoding.pem.model.yml |
Removes YAML PEM encoding summaries. |
go/ql/lib/ext/encoding.pem.model.json |
Adds JSON PEM encoding summaries. |
go/ql/lib/ext/encoding.model.yml |
Removes YAML encoding-interface summaries. |
go/ql/lib/ext/encoding.model.json |
Adds JSON encoding-interface summaries. |
go/ql/lib/ext/encoding.hex.model.yml |
Removes YAML hexadecimal decoding summaries. |
go/ql/lib/ext/encoding.hex.model.json |
Adds JSON hexadecimal decoding summaries. |
go/ql/lib/ext/encoding.gob.model.yml |
Removes YAML Gob encoding summaries. |
go/ql/lib/ext/encoding.gob.model.json |
Adds JSON Gob encoding summaries. |
go/ql/lib/ext/encoding.csv.model.yml |
Removes YAML CSV summaries. |
go/ql/lib/ext/encoding.csv.model.json |
Adds JSON CSV summaries. |
go/ql/lib/ext/encoding.binary.model.yml |
Removes YAML binary I/O summaries. |
go/ql/lib/ext/encoding.binary.model.json |
Adds JSON binary I/O summaries. |
go/ql/lib/ext/encoding.base64.model.yml |
Removes YAML Base64 decoding summaries. |
go/ql/lib/ext/encoding.base64.model.json |
Adds JSON Base64 decoding summaries. |
go/ql/lib/ext/encoding.base32.model.yml |
Removes YAML Base32 decoding summaries. |
go/ql/lib/ext/encoding.base32.model.json |
Adds JSON Base32 decoding summaries. |
go/ql/lib/ext/encoding.asn1.model.yml |
Removes YAML ASN.1 encoding summaries. |
go/ql/lib/ext/encoding.asn1.model.json |
Adds JSON ASN.1 encoding summaries. |
go/ql/lib/ext/encoding.ascii85.model.yml |
Removes YAML ASCII85 decoding summaries. |
go/ql/lib/ext/encoding.ascii85.model.json |
Adds JSON ASCII85 decoding summaries. |
go/ql/lib/ext/empty.model.yml |
Removes YAML empty predicate definitions. |
go/ql/lib/ext/crypto.x509.model.yml |
Removes YAML PEM decryption summary. |
go/ql/lib/ext/crypto.x509.model.json |
Adds JSON PEM decryption summary. |
go/ql/lib/ext/crypto.tls.model.yml |
Removes YAML TLS connection summaries. |
go/ql/lib/ext/crypto.tls.model.json |
Adds JSON TLS connection summaries. |
go/ql/lib/ext/crypto.rsa.model.yml |
Removes YAML RSA decryption summaries. |
go/ql/lib/ext/crypto.rsa.model.json |
Adds JSON RSA decryption summaries. |
go/ql/lib/ext/crypto.model.yml |
Removes YAML decrypter-interface summary. |
go/ql/lib/ext/crypto.model.json |
Adds JSON decrypter-interface summary. |
go/ql/lib/ext/crypto.cipher.model.yml |
Removes YAML cipher decryption summaries. |
go/ql/lib/ext/crypto.cipher.model.json |
Adds JSON cipher decryption summaries. |
go/ql/lib/ext/context.model.yml |
Removes YAML context summaries. |
go/ql/lib/ext/context.model.json |
Adds JSON context summaries. |
go/ql/lib/ext/container.ring.model.yml |
Removes YAML ring-container summaries. |
go/ql/lib/ext/container.ring.model.json |
Adds JSON ring-container summaries. |
go/ql/lib/ext/container.heap.model.yml |
Removes YAML heap-container summaries. |
go/ql/lib/ext/container.heap.model.json |
Adds JSON heap-container summaries. |
go/ql/lib/ext/compress.zlib.model.yml |
Removes YAML zlib summaries. |
go/ql/lib/ext/compress.zlib.model.json |
Adds JSON zlib summaries. |
go/ql/lib/ext/compress.lzw.model.yml |
Removes YAML LZW reader summary. |
go/ql/lib/ext/compress.lzw.model.json |
Adds JSON LZW reader summary. |
go/ql/lib/ext/compress.gzip.model.yml |
Removes YAML gzip summaries. |
go/ql/lib/ext/compress.gzip.model.json |
Adds JSON gzip summaries. |
go/ql/lib/ext/compress.flate.model.yml |
Removes YAML DEFLATE summaries. |
go/ql/lib/ext/compress.flate.model.json |
Adds JSON DEFLATE summaries. |
go/ql/lib/ext/compress.bzip2.model.yml |
Removes YAML bzip2 reader summary. |
go/ql/lib/ext/compress.bzip2.model.json |
Adds JSON bzip2 reader summary. |
go/ql/lib/ext/cloud.google.com.go.bigquery.model.yml |
Removes YAML BigQuery SQL sink. |
go/ql/lib/ext/cloud.google.com.go.bigquery.model.json |
Adds JSON BigQuery SQL sink. |
go/ql/lib/ext/clevergo.tech.clevergo.model.yml |
Removes YAML CleverGo redirect models. |
go/ql/lib/ext/clevergo.tech.clevergo.model.json |
Adds JSON grouping and redirect sink. |
go/ql/lib/ext/builtin.model.yml |
Removes YAML built-in function summaries. |
go/ql/lib/ext/archive.zip.model.yml |
Removes YAML ZIP archive summaries. |
go/ql/lib/ext/archive.zip.model.json |
Adds JSON ZIP archive summaries. |
go/ql/lib/ext/archive.tar.model.yml |
Removes YAML TAR archive summaries. |
go/ql/lib/ext/archive.tar.model.json |
Adds JSON TAR archive summaries. |
Review effort: Balanced (auto)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CodeQL CLI 2.27.3 supports JSON data extensions (aka MaD models), and can load them significantly faster than YAML. This PR converts those in Go's library pack (first commit), along with
$TEST.ext.ymlfiles (second commit). The conversions were automated by an LLM-generated Python script (which I will add in a separate PR).Although JSON is preferred going forward,
go/ql/lib/qlpack.ymlnow has patterns that will pick up both.model.ymland.model.jsonfiles, so that any YAML files that do get checked in won't get silently dropped.To verify successful conversion in the first commit, I cherry-picked it onto #23078, which has a temporary test that enumerates all tuples from data extensions. The test still passes after conversion.