Skip to content

ROX-34133: Use ImageVulnerabilityReportConfiguration for feature work#19970

Merged
pedrottimark merged 5 commits intomasterfrom
ROX-34133-ImageVulnerabilityReportConfiguration
Apr 16, 2026
Merged

ROX-34133: Use ImageVulnerabilityReportConfiguration for feature work#19970
pedrottimark merged 5 commits intomasterfrom
ROX-34133-ImageVulnerabilityReportConfiguration

Conversation

@pedrottimark
Copy link
Copy Markdown
Contributor

@pedrottimark pedrottimark commented Apr 13, 2026

Description

Frontend counterpart to backend proto changes in #19699

Additional changes:

  • Omit includeWhatever properties, because all columns become required.

  • Rename Parameters as Filters (decided in cross-team meeting).

    Decision about Destinations is pending.

Objective

Provide equivalent filter for scheduled reports as view-based reports.

Analysis

Find in Files ReportConfiguraiton with Match Whole Word has 39 results in 12 files

Solution

  1. Move EntityScope and associated types to src/services/ReportService.ts file.

  2. Add ImageVulnerabilityReportConfiguration type in imageVulnerabilityReports.types.ts file for feature work.

    When we delete ROX_VULNERABILITY_REPORTS_ENHANCED_FILTERING feature flag, either delete ReportConfiguration or factor minimal common properties.

  3. Add corresponding subset of changes for NodeVulnerabilityReportConfiguration type in NodeVulnerabilityReports.types.ts file for future work.

Residue

  1. After cross-team decision about Delivery versus alternatives, factor out it and Detail type and files.

User-facing documentation

  • CHANGELOG.md update is not needed
  • documentation PR is not needed

Testing and quality

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.

@pedrottimark pedrottimark requested a review from a team as a code owner April 13, 2026 18:53
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 13, 2026

🚀 Build Images Ready

Images are ready for commit 745a6ff. To use with deploy scripts:

export MAIN_IMAGE_TAG=4.11.x-673-g745a6ff070

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.65%. Comparing base (ee5bfc4) to head (f48a627).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19970   +/-   ##
=======================================
  Coverage   49.65%   49.65%           
=======================================
  Files        2765     2765           
  Lines      208823   208823           
=======================================
  Hits       103698   103698           
  Misses      97458    97458           
  Partials     7667     7667           
Flag Coverage Δ
go-unit-tests 49.65% <ø> (ø)

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.

@sachaudh sachaudh self-requested a review April 14, 2026 19:39
@sachaudh
Copy link
Copy Markdown
Contributor

I'll take a look at this early tomorrow. Held up on a few things today. Thanks for your patience 🙏🏼

Copy link
Copy Markdown
Contributor

@sachaudh sachaudh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, LGTM 👍🏼 Left a few thoughts, too.

@pedrottimark pedrottimark force-pushed the ROX-34133-ImageVulnerabilityReportConfiguration branch from 7d67346 to f48a627 Compare April 16, 2026 15:09
@pedrottimark pedrottimark merged commit 745a6ff into master Apr 16, 2026
94 checks passed
@pedrottimark pedrottimark deleted the ROX-34133-ImageVulnerabilityReportConfiguration branch April 16, 2026 17:38
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.

2 participants