Skip to content

ROX-34133: Use ImageVulnerabilityReportConfiguration for feature work#19970

Open
pedrottimark wants to merge 1 commit intomasterfrom
ROX-34133-ImageVulnerabilityReportConfiguration
Open

ROX-34133: Use ImageVulnerabilityReportConfiguration for feature work#19970
pedrottimark wants to merge 1 commit intomasterfrom
ROX-34133-ImageVulnerabilityReportConfiguration

Conversation

@pedrottimark
Copy link
Copy Markdown
Contributor

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 b23e547. To use with deploy scripts:

export MAIN_IMAGE_TAG=4.11.x-636-gb23e547dd4

@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.56%. Comparing base (75d765a) to head (b23e547).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19970      +/-   ##
==========================================
- Coverage   49.56%   49.56%   -0.01%     
==========================================
  Files        2764     2764              
  Lines      208422   208422              
==========================================
- Hits       103310   103309       -1     
- Misses      97457    97458       +1     
  Partials     7655     7655              
Flag Coverage Δ
go-unit-tests 49.56% <ø> (-0.01%) ⬇️

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.

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.

1 participant