Skip to content

[Feat] CSV report - Image details#444

Merged
xingzhang-suse merged 5 commits intoneuvector:mainfrom
rushk014:main
Feb 25, 2026
Merged

[Feat] CSV report - Image details#444
xingzhang-suse merged 5 commits intoneuvector:mainfrom
rushk014:main

Conversation

@rushk014
Copy link
Contributor

Implements updated CSV reports for Image details page based on Sample Output.

Modifies Image details Download full report functionality to select structure/data based on active tab (Image detail report / Workload report).
Screenshot 2026-02-24 at 9 01 21 AM

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

❌ Patch coverage is 71.74888% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.68%. Comparing base (2c4a399) to head (cf662ff).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #444      +/-   ##
==========================================
- Coverage   85.71%   85.68%   -0.04%     
==========================================
  Files          97       97              
  Lines       14103    14213     +110     
  Branches     1064     1112      +48     
==========================================
+ Hits        12089    12178      +89     
- Misses       1985     2002      +17     
- Partials       29       33       +4     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@xingzhang-suse xingzhang-suse left a comment

Choose a reason for hiding this comment

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

Minor value change is needed

`"${ imageMetadata?.repository || '' }"`,
`"${ imageMetadata?.platform || '' }"`,
`"${ imageMetadata?.digest || '' }"`,
`"${ this.workloadCount > 0 ? 'TRUE' : 'FALSE' }"`,
Copy link
Contributor

Choose a reason for hiding this comment

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

We are using "Yes" / "No" for the "in used" value in the filter and Image overview report

Modifies report CSV structure for both Vulnerabilities and Workloads views on the Image Details page, aligning headers and exported fields across reports (for example image/reference metadata and workload context columns).
Updates Download Full Report behavior to be tab-aware, so the primary action exports the CSV corresponding to the active tab.
Introduces shared typed CSV header/constants utilities to validate report schemas.
@xingzhang-suse xingzhang-suse merged commit 05e369e into neuvector:main Feb 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants