Skip to content

INFRA: Expand Trivy CVE scan to all bundle and runtime modules#16291

Merged
kevinjqliu merged 3 commits into
apache:mainfrom
kevinjqliu:kevinjqliu/cve-scan-for-all-distributions
May 11, 2026
Merged

INFRA: Expand Trivy CVE scan to all bundle and runtime modules#16291
kevinjqliu merged 3 commits into
apache:mainfrom
kevinjqliu:kevinjqliu/cve-scan-for-all-distributions

Conversation

@kevinjqliu
Copy link
Copy Markdown
Contributor

Extends the Kafka Connect CVE scan from #15430 into a unified cve-scan.yml workflow that covers all bundled distributions:

  • Kafka Connect runtime (distZip + unpack)
  • Cloud bundles: aws-bundle, azure-bundle, gcp-bundle
  • Spark runtimes: 3.4, 3.5, 4.0, 4.1
  • Flink runtimes: 1.20, 2.0, 2.1
  • REST fixture: open-api

Each distribution is a separate matrix entry so failures are isolated. The scan runs on push to main/release branches and RC tags, uploads SARIF to the GitHub Security tab, and is informational only (exit-code 0).

Also renames kafka-connect-cve-scan.ymlcve-scan.yml and updates all CI path-ignore references accordingly.

@github-actions github-actions Bot added the INFRA label May 11, 2026
Comment thread .github/workflows/cve-scan.yml Outdated
Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

@huaxingao huaxingao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kevinjqliu kevinjqliu merged commit 3d682a3 into apache:main May 11, 2026
37 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/cve-scan-for-all-distributions branch May 11, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants