You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bdceb4e
Browse filesBrowse the repository at this point in the historyBrowse files
ci(security): drop HTML/email report, go artifact-only (#171)
## 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
- [x] YAML validated.
- [x] No dangling `security-scan-report.html` / email references remain.
- [x] 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.
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
echo "::error::${{ steps.findings.outputs.total_findings }} unsuppressed OSV finding(s) on main. Download the security-scan-reports artifact for the HTML report."
306
+
echo "::error::${{ steps.findings.outputs.total_findings }} unsuppressed OSV finding(s) on main. Download the security-scan-reports artifact for the raw findings."
359
307
exit 1
360
308
361
309
- name: Upload reports
@@ -365,8 +313,8 @@ jobs:
365
313
name: security-scan-reports
366
314
path: |
367
315
/tmp/osv-out.json
316
+
/tmp/all-findings.json
368
317
/tmp/sboms/
369
-
security-scan-report.html
370
318
if-no-files-found: ignore
371
319
# SBOMs/reports stick around long enough to triage a finding
372
320
# without being part of the 90-day default retention.
0 commit comments