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

List CVEs in Reverse Order by Year and Number #3

Closed
princechaddha opened this issue Mar 31, 2023 · 2 comments · Fixed by #27 or #44
Closed

List CVEs in Reverse Order by Year and Number #3

princechaddha opened this issue Mar 31, 2023 · 2 comments · Fixed by #27 or #44
Assignees
Labels
sweep Assigns Sweep to an issue or pull request. Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@princechaddha
Copy link
Member

princechaddha commented Mar 31, 2023

It would be helpful while creating a release to list the CVEs in reverse order based on the year added and the number of the CVEs. This would allow users to easily find the most recent and impactful CVEs at the top of the release.

Also print the result in this format:

For example:

  • ManageEngine OpManager - Directory Traversal (CVE-2023-47211) by @gy741
  • Node-Red - Default Login (nodered-default-login) by @savik
@princechaddha princechaddha added the Type: Enhancement Most issues will probably ask for additions or changes. label Mar 31, 2023
@ehsandeep ehsandeep added the sweep Assigns Sweep to an issue or pull request. label Jun 2, 2023
@sweep-ai
Copy link
Contributor

sweep-ai bot commented Jun 2, 2023

@princechaddha, I have started working on this PR. To implement sorting CVEs in reverse chronological order, I will modify the printCVEs() function in main.go to sort the cves slice by year and CVE number in descending order before printing. This should achieve the desired result and allow users to see the most recent CVEs at the top.

Give me a minute!


I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind!

@ehsandeep ehsandeep added sweep Assigns Sweep to an issue or pull request. and removed sweep Assigns Sweep to an issue or pull request. labels Jun 2, 2023
@sweep-ai
Copy link
Contributor

sweep-ai bot commented Jun 2, 2023

@princechaddha, I have started working on this PR. To implement sorting CVEs in reverse chronological order, I will need to modify the main.go file. Specifically, in the printCVEs() function, I will sort the cves slice by year and CVE number in descending order before printing. This should achieve the desired result of listing the most recent CVEs first.

Give me a minute!


I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep Assigns Sweep to an issue or pull request. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
3 participants