Skip to content

ROX-30733: Omit include in optional columns and add CISA KEV comments#16633

Merged
pedrottimark merged 2 commits intomasterfrom
ROX-30733-VulnerabilityReporting
Sep 3, 2025
Merged

ROX-30733: Omit include in optional columns and add CISA KEV comments#16633
pedrottimark merged 2 commits intomasterfrom
ROX-30733-VulnerabilityReporting

Conversation

@pedrottimark
Copy link
Contributor

@pedrottimark pedrottimark commented Sep 2, 2025

Description

Prerequisite for Ross to add optional column for CISA KEV.

  1. Follow up on suggestion during sneak peek at sprint demos to simplify checkbox text.
    The less the delta to add an optional column, the better.
    I had already omitted Include from ReportParameterDetails in ROX-29513: Replace CSV report preview with Non-optional columns #15467
  2. Add // Ross CISA KEV comments because several files need consistent changes.

Residue

  1. Inform docs team about change, because it affects:
    https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_security_for_kubernetes/4.8/html/operating/managing-vulnerabilities#vulnerability-management20-creating-report_vulnerability-reporting
  2. Ask team about apparent inconsistency between optional columns for view-based and existing vulnerability reports.

User-facing documentation

  • CHANGELOG.md update is not needed
  • documentation PR not needed and informed docs team

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

  1. npm run tsc in ui/apps/platform folder.
  2. npm run lint:fast-dev in ui/apps/platform folder.
  3. npm run start in ui/apps/platform folder with staging demo as central.

Manual testing

  1. Visit /main/vulnerabilities/reports/configuration?action=create

    Before changes, see presence of Include
    ReportParametersForm_presence

    After changes, see absence of Include
    Also Advisory Name and Advisory Link for consistency with column headings in CSV file
    Advisory_Name_and_Advisory_Link

@pedrottimark pedrottimark requested a review from a team as a code owner September 2, 2025 17:16
@rhacs-bot
Copy link
Contributor

rhacs-bot commented Sep 2, 2025

Images are ready for the commit at d7b4769.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.9.x-652-gd7b4769c5c.

@codecov
Copy link

codecov bot commented Sep 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.64%. Comparing base (d616685) to head (d7b4769).
⚠️ Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16633      +/-   ##
==========================================
- Coverage   48.72%   48.64%   -0.08%     
==========================================
  Files        2658     2662       +4     
  Lines      198307   199093     +786     
==========================================
+ Hits        96625    96851     +226     
- Misses      94112    94654     +542     
- Partials     7570     7588      +18     
Flag Coverage Δ
go-unit-tests 48.64% <ø> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@openshift-ci
Copy link

openshift-ci bot commented Sep 3, 2025

@pedrottimark: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ocp-4-18-nongroovy-e2e-tests d7b4769 link false /test ocp-4-18-nongroovy-e2e-tests

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@pedrottimark pedrottimark merged commit 32c219e into master Sep 3, 2025
88 of 89 checks passed
@pedrottimark pedrottimark deleted the ROX-30733-VulnerabilityReporting branch September 3, 2025 17:42
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