Skip to content

eBPF-based security platform

ci: analyze Java and TypeScript with CodeQL

Daniel Borkmann3fd278276fca
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
index 03e5b13a..2903bf2b 100644
--- a/.github/codeql/codeql-config.yml
+++ b/.github/codeql/codeql-config.yml
@@ -1,7 +1,10 @@
name: shirudo CodeQL configuration
+# The application of java-sql-inj builds its query from its argument on
+# purpose: it is what the package's upatch is shown to stop.
paths-ignore:
- vendor
+ - upatches/java-sql-inj/app
# Rules the tree's style contradicts: option parsers advance their index
# inside the loop, and the coding style keeps comments to what the code
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 4f7063a4..fbf26b99 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -114,6 +114,10 @@ jobs:
include:
- language: python
name: Python
+ - language: java-kotlin
+ name: Java
+ - language: javascript-typescript
+ name: TypeScript
- language: actions
name: Actions
@@ -121,7 +125,7 @@ jobs:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- # Python and the workflows are read without a build.
+ # Python, Java, TypeScript and the workflows are read without a build.
- name: Initialize CodeQL
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with: