community icon indicating copy to clipboard operation
community copied to clipboard

Proposal for CSV export of vulnerability data from Harbor

Open prahaladdarkin opened this issue 4 years ago • 5 comments

Detailed technical proposal for exporting vulnerability scan data as CSV.

prahaladdarkin avatar Aug 16 '21 10:08 prahaladdarkin

@goharbor/all-maintainers can someone check that please

OrlinVasilev avatar Nov 10 '21 12:11 OrlinVasilev

@prahaladdarkin any updates on your proposal?

Vad1mo avatar Jun 13 '22 12:06 Vad1mo

@Vad1mo apologize for this delayed response. This proposal was under developement and had a dependency on the completion of the system artifact manager: https://github.com/goharbor/community/pull/181.

The development work for the system artifact manager and the integration has completed. I will be updating this proposal with the latest and greatest of the design changes.

prahaladdarkin avatar Jun 27 '22 06:06 prahaladdarkin

Maybe it's also possible to add the function for exporting as PDF to sending these PDF file to Managers or other persons which don't have access to harbor and only needs the vulnerability informations? Thanks in advanced.

pthoelken avatar Jul 04 '22 06:07 pthoelken

@pthoelken thank you for your input and indeed we can also generate PDF reports. However, the current scope of the implementation is restricted to generating the CSV data for the vulnerability information. CSV files also have the additional advantage of being able to be consumed in downstream analytics tools (including spreadsheet software like MS Excel). Please feel free to open an enhancement issue for PDF data and that can be prioritized based on discussions in the community :)

prahaladdarkin avatar Jul 13 '22 11:07 prahaladdarkin

Any news when this feature would be available?

616b2f avatar Sep 28 '22 07:09 616b2f

@616b2f Hi, this feature was delivered in the Harbor v2.6.

cc @prahaladdarkin I think we need to merge this pr.

chlins avatar Sep 28 '22 08:09 chlins

@Vad1mo, any idea by when this feature will be available ?

Udayendu avatar Oct 16 '23 10:10 Udayendu

@OrlinVasilev / @prahaladdarkin,

I am using v2.10.1 with trivy v0.49.1 but still can't see the export pdf button under the Vulnerabilities tab. Only the following options are available.

image

As per @chlins , this feature was delivered in Harbor v2.6. Not sure why its not visible in the UI, am I missing anything ??

Udayendu avatar Apr 03 '24 05:04 Udayendu

@OrlinVasilev / @prahaladdarkin,

I am using v2.10.1 with trivy v0.49.1 but still can't see the export pdf button under the Vulnerabilities tab. Only the following options are available.

image

As per @chlins , this feature was delivered in Harbor v2.6. Not sure why its not visible in the UI, am I missing anything ??

Version 2.10.2 without too

dpetiz avatar May 16 '24 09:05 dpetiz

This feature was implemented to generate CSV exports only and can be triggered from the Projects page as an Action. Although the pdf report would have been a nice addition, and the API has it as a format type, it doesn't work and gives back a csv.

hajnalmt avatar Jun 12 '24 09:06 hajnalmt