Files
codeql/go/ql/lib/ext
sauyon 00427d204c Go: Model log/slog as a logging sink
The standard-library structured logger `log/slog` (Go 1.21+) was not
modeled, so `go/log-injection` and `go/clear-text-logging` were blind to
any code that logs through it.

Model its logging functions and `*slog.Logger` methods — `Debug`, `Info`,
`Warn`, `Error`, their `Context` variants, and `Log`/`LogAttrs` — as
`log-injection` sinks (the kind that feeds `LoggerCall`, powering both
queries). Adds `log/slog` cases to the `LoggerCall` library test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 20:02:29 -07:00
..
2026-02-10 22:32:30 +00:00
2026-02-10 22:32:30 +00:00
2025-01-07 21:14:25 -05:00
2026-02-10 22:32:30 +00:00
2024-11-19 11:18:11 +00:00
2025-01-07 22:08:21 -05:00
2024-11-19 11:22:36 +00:00
2025-07-21 21:53:35 +00:00