eBPF-based security platform
ci: scan the Python sources with CodeQL too
Daniel Borkmannfc34d3fb3856
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex 6e980353..552dfbe3 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -11,25 +11,34 @@ permissions:jobs:analyze:- name: Analyze (C)+ name: Analyze (${{ matrix.name }})runs-on: ubuntu-latestpermissions:actions: readcontents: readsecurity-events: write+ strategy:+ fail-fast: false+ matrix:+ include:+ - language: c-cpp+ name: C+ - language: python+ name: Python+steps:- name: Check out repositoryuses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1# The full build needs the BTF of a bpf-next kernel for vmlinux.h and- # an OpenSSL 3.5 toolchain, neither of which the runner has, so the- # sources are extracted without a build. The vendored libbpf is left- # to its own project's scans.+ # an OpenSSL 3.5 toolchain, neither of which the runner has, so the C+ # sources are extracted without a build, as Python always is. The+ # vendored libbpf is left to its own project's scans.- name: Initialize CodeQLuses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0with:- languages: c-cpp+ languages: ${{ matrix.language }}build-mode: nonequeries: +security-extended,security-and-qualityconfig-file: ./.github/codeql/codeql-config.yml@@ -37,4 +46,4 @@ jobs:- name: Perform CodeQL analysisuses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0with:- category: /language:c-cpp+ category: /language:${{ matrix.language }}