Skip to content

ci(security): drop HTML/email report, go artifact-only - #171

Merged
vikrantpuppala merged 1 commit into
mainfrom
sec/osv-scan-artifact-only
Jul 17, 2026
Merged

vikrantpuppala merged 1 commit into
mainfrom
sec/osv-scan-artifact-only

Conversation

@vikrantpuppala

Copy link
Copy Markdown
Collaborator

Summary

The kernel's OSV securityScan.yml was already fail-closed and hardened (PR #118), and its Send Email step was already commented out (SMTP creds never provisioned). This removes the now-dead email machinery entirely for parity with the Go / Node / Python / JDBC gates, which moved to artifact-only for the planned cross-repo findings collator:

  • Remove the Compose email body step (built an HTML report only the disabled email used).
  • Remove the commented-out Send Email block.
  • Stop uploading security-scan-report.html; upload the machine-readable osv-out.json + all-findings.json (plus the SBOMs) instead.

The scheduled run still fails red on any finding. No change to the scan, the fail-closed gate logic, the fail-on-any policy, or the severity resolution — only the notification/report path.

Test plan

  • YAML validated.
  • No dangling security-scan-report.html / email references remain.
  • Confirmed all-findings.json is produced by the Collect findings step, so the upload path is real.

This pull request and its description were written by Isaac.

The Send Email step was already commented out (SMTP creds never
provisioned). Remove the now-dead email machinery entirely -- the
`Compose email body` step and the commented-out `Send Email` block --
and stop uploading the composed HTML report.

The scheduled run now uploads only the machine-readable osv-out.json /
all-findings.json for the planned cross-repo findings collator, matching
the Go / Node / Python / JDBC gates. It still fails red on any finding.

No change to the scan, the fail-closed gate logic, or the fail-on-any
policy -- only the notification/report path.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
@vikrantpuppala
vikrantpuppala added this pull request to the merge queue Jul 17, 2026
Merged via the queue into main with commit bdceb4e Jul 17, 2026
12 of 13 checks passed
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.

2 participants