The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(ci): add custom CodeQL workflow to replace expensive default setup
Julio Quinteros Pro53f3123030ed
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.ymlnew file mode 100644index 00000000000..9b6be27ab8e--- /dev/null+++ b/.github/codeql/codeql-config.yml@@ -0,0 +1,15 @@+name: "LiteLLM CodeQL config"++# Exclude queries that produce result sets > 2 GiB on this codebase,+# causing 49+ minute runs that fail and block CI resources.+query-filters:+ - exclude:+ id: py/clear-text-logging-sensitive-data # CWE-312/CleartextLogging.ql — result set > 2 GiB+ - exclude:+ id: py/polynomial-redos # CWE-730/PolynomialReDoS.ql — result set > 2 GiB++paths-ignore:+ - tests+ - docs+ - "**/*.md"+ - litellm/proxy/_experimental/outdiff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlnew file mode 100644index 00000000000..2fea0c000f9--- /dev/null+++ b/.github/workflows/codeql.yml@@ -0,0 +1,54 @@+name: "CodeQL"++on:+ push:+ branches: [main]+ pull_request:+ branches: [main]+ schedule:+ # Run weekly on Sundays at 04:00 UTC+ - cron: "0 4 * * 0"++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++jobs:+ analyze:+ name: Analyze (${{ matrix.language }})+ runs-on: ubuntu-latest+ timeout-minutes: 30+ permissions:+ security-events: write+ packages: read+ actions: read+ contents: read++ strategy:+ fail-fast: false+ matrix:+ include:+ - language: actions+ build-mode: none+ - language: javascript-typescript+ build-mode: none+ - language: python+ build-mode: none+ - language: ruby+ build-mode: none++ steps:+ - name: Checkout repository+ uses: actions/checkout@v4++ - name: Initialize CodeQL+ uses: github/codeql-action/init@v3+ with:+ languages: ${{ matrix.language }}+ build-mode: ${{ matrix.build-mode }}+ config-file: ./.github/codeql/codeql-config.yml++ - name: Perform CodeQL Analysis+ uses: github/codeql-action/analyze@v3+ with:+ category: "/language:${{ matrix.language }}"