Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding functionality to download component table data as a csv #993

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

nvcastelli
Copy link

@nvcastelli nvcastelli commented Sep 12, 2024

Description

Addressed Issue

Closes #500

Additional Details

Used the api to pull all component records for a project. With that information, grab the fields shown in the UI and pus them into a .csv file.

Additionally, functionality is provided to easily add the ability to download as other files should those file types be needed.

Checklist

@nvcastelli nvcastelli changed the title Adding functionality to d ownload component table data as a csv Adding functionality to download component table data as a csv Sep 12, 2024
@nscuro nscuro added the enhancement New feature or request label Sep 24, 2024
Nicholas Castelli added 2 commits September 24, 2024 11:29
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

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

Thanks @nvcastelli!

Works as expected. However, I think it would be nice to eventually have the CSV columns align with what is selected in the UI. Hardcoding the columns is fine for an MVP though.

@nscuro nscuro added this to the 4.12 milestone Sep 26, 2024
@nscuro nscuro merged commit d2172f2 into DependencyTrack:master Sep 26, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export functionality to download metrics from components and vulnerabilities
2 participants