ci(codeql): enable security-extended suite and align ignore paths (#22245)
Enable the security-extended query suite for C/C++ so the scan includes taint-based memory-safety queries (cpp/uncontrolled-arithmetic, cpp/overflow-buffer, cpp/static-buffer-overflow, etc.) that are not part of the default suite. Align paths-ignore with the patterns excluded from Coverity so vendored and external dependencies stop producing alerts we do not own: - build/** build artifacts and CMake _deps (protobuf, absl, ...) - externaldeps/** bundled third-party sources - **/vendored/** all vendored libraries (libjudy, sqlite3, json, libsensors, ...) in one catch-all glob Also remove the stale httpd/h2o entry; that directory no longer exists.
Costa Tsaousis committed
Apr 22, 2026 at 16:53 UTC
5ccfcb1b37ee9399f682eb49ccf93dbf7daa9f7d
1 file changed
+6
-3
.github/codeql/c-cpp-config.yml
+6
-3
@@ -1,4 +1,7 @@
1
+queries:
2
+ - uses: security-extended
3
+
4
paths-ignore:
2
- - build/*
3
- - httpd/h2o
4
- - src/collectors/debugfs.plugin/libsensors/vendored
5
+ - build/**
6
+ - externaldeps/**
7
+ - "**/vendored/**"