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

Components - Sort Vulnerabilities by Severity #708

Closed
ThunderSon opened this issue Jun 22, 2020 · 3 comments · Fixed by DependencyTrack/frontend#907
Closed

Components - Sort Vulnerabilities by Severity #708

ThunderSon opened this issue Jun 22, 2020 · 3 comments · Fixed by DependencyTrack/frontend#907
Labels
enhancement New feature or request good first issue Good for newcomers p3 Nice-to-have features size/S Small effort

Comments

@ThunderSon
Copy link
Contributor

The enhancement may already be reported! Please search for the enhancement before creating one.

Current Behavior:

No sorting behavior exists in the Components' Vulnerability tab on the Severity, like in the Projects tab.

Proposed Behavior:

Implementation of the severity sorting mechanism as seen in other parts of the project.

@ThunderSon ThunderSon added the enhancement New feature or request label Jun 22, 2020
@nscuro
Copy link
Member

nscuro commented Apr 28, 2024

Pre v4.11, this was not possible to do since the severity was not stored in the database (#2474). This has changed as of v4.11, so the enhancement is now unblocked.

@nscuro nscuro added p3 Nice-to-have features good first issue Good for newcomers size/S Small effort labels Apr 28, 2024
@fupgang
Copy link

fupgang commented Jun 14, 2024

This seems to be a simple change in the frontend, that is toggle the sortable field to true:
https://github.com/DependencyTrack/frontend/blob/af17196c0144258ceba99b7325a50c91b99fecc7/src/views/portfolio/projects/ComponentVulnerabilities.vue#L102

This can probably be done for other columns, too, e.g. "CWE".

I could create a PR.
Which tests are to be implemented for this change? Frontend and / or API server?

Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2024
netomi pushed a commit to netomi/frontend that referenced this issue Aug 8, 2024
Resolves DependencyTrack/dependency-track#708

Signed-off-by: fupgang <75629871+fupgang@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers p3 Nice-to-have features size/S Small effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants