Skip to content

Publish Dependency-Check findings in GitHub - #19393

Closed
HTHou wants to merge 2 commits into
apache:masterfrom
HTHou:codex/dependency-check-code-scanning
Closed

HTHou wants to merge 2 commits into
apache:masterfrom
HTHou:codex/dependency-check-code-scanning

Conversation

@HTHou

@HTHou HTHou commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

The weekly Dependency-Check run now shows the dependency counts and findings by severity on the Actions Summary, with a link to the full HTML report.

The Apache IoTDB workflow also publishes OWASP Dependency-Check findings to GitHub Security → Code scanning. Alerts include the affected package and link to a tracked Maven POM. The upload job has its own security-events: write permission.

For example, if a scan reports one high-severity finding for the hypothetical package org.example:widget:1.2.3 used by DataNode, the current workflow shows it in the downloaded HTML report. With this change, the Actions Summary shows one high finding, and Code scanning shows an alert for the package linked to iotdb-core/datanode/pom.xml.

Validation

  • Passed actionlint for the updated workflow and git diff --check.
  • Tested summary counts and the artifact link, including empty and failed scans.
  • Validated converted SARIF against the schema used by GitHub's upload action. Checked module POM links, stable fingerprints across runner paths, and an empty SARIF report.
  • The live SARIF upload will be exercised when the updated workflow runs on apache/iotdb.

@HTHou HTHou closed this Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant