ROX-36081: remove curl, vim from scanner-db image - #3602
Conversation
Expand rpm -e glob patterns to match curl-minimal/libcurl-minimal, vim-minimal, and python3 packages that are not needed at runtime and carry HIGH CVEs flagged in GovCloud compliance scans. Mirrors the fix applied to central-db and scanner-v4-db in stackrox/stackrox#22269. Partially generated by AI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe RHEL image cleanup commands now remove additional ChangesRHEL package cleanup
Estimated code review effort: 1 (Trivial) | ~2 minutes Mergeability Score: 🔵 Low · up to The image changes remove curl, vim, and Python packages from three scanner database variants; if a remaining runtime, startup, or upgrade path depends on them, the image could fail in use. The PR is mergeable with explicit owner verification of package consumers across all variants. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Remove python3 from removal list (needed by postgresql-upgrade). Add libcurl and vim to removal list (carry unfixable CVEs). Use glob pattern 'curl*' to match curl-minimal. Add comments explaining removal rationale. Partially generated by AI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
/retest scanner-on-push |
|
@github-actions[bot]: The Use DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Expand rpm -e glob patterns to match curl-minimal/libcurl-minimal, vim-minimal, and python3 packages that are not needed at runtime and carry HIGH CVEs flagged in GovCloud compliance scans.
Mirrors the fix applied to central-db and scanner-v4-db in stackrox/stackrox#22269.
Partially generated by AI.