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

feat!(scanner/rpm): change queryformat (add sourcerpm) #2074

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

MaineK00n
Copy link
Collaborator

@MaineK00n MaineK00n commented Dec 6, 2024

What did you implement:

collect source package from rpm package manager

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

results.zip

alma 8

before

$ vuls report --format-one-line-text 2024-12-07T09-18-39+0900
[Dec  7 09:53:17]  INFO [localhost] vuls-v0.27.0-build-20241206_201629_1ab4c79
...

One Line Summary
================
vagrant	Total: 1994 (Critical:19 High:955 Medium:982 Low:37 ?:1)	1309/1994 Fixed	547 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

after

$ vuls report --format-one-line-text 2024-12-07T09-22-52+0900
[Dec  7 09:53:04]  INFO [localhost] vuls-v0.27.0-build-20241207_091638_97dc992
...

One Line Summary
================
vagrant	Total: 1994 (Critical:19 High:955 Medium:982 Low:37 ?:1)	1309/1994 Fixed	547 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

alma 9

before

$ vuls report --format-one-line-text 2024-12-07T09-29-41+0900
[Dec  7 09:56:07]  INFO [localhost] vuls-v0.27.0-build-20241206_201629_1ab4c79
...


One Line Summary
================
vagrant	Total: 2168 (Critical:3 High:562 Medium:1566 Low:30 ?:7)	1222/2168 Fixed	620 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

after

$ vuls report --format-one-line-text 2024-12-07T09-29-48+0900
[Dec  7 09:56:24]  INFO [localhost] vuls-v0.27.0-build-20241207_091638_97dc992
...


One Line Summary
================
vagrant	Total: 2168 (Critical:3 High:562 Medium:1566 Low:30 ?:7)	1222/2168 Fixed	620 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

rocky 8

before

$ vuls report --format-one-line-text 2024-12-07T09-33-54+0900
[Dec  7 09:57:43]  INFO [localhost] vuls-v0.27.0-build-20241206_201629_1ab4c79
...


One Line Summary
================
vagrant	Total: 1935 (Critical:13 High:893 Medium:992 Low:36 ?:1)	1238/1935 Fixed	474 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

after

$ vuls report --format-one-line-text 2024-12-07T09-34-00+0900
[Dec  7 09:57:54]  INFO [localhost] vuls-v0.27.0-build-20241207_091638_97dc992
...


One Line Summary
================
vagrant	Total: 1935 (Critical:13 High:893 Medium:992 Low:36 ?:1)	1238/1935 Fixed	474 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

rocky 9

before

$ vuls report --format-one-line-text 2024-12-07T09-37-21+0900
[Dec  7 09:59:08]  INFO [localhost] vuls-v0.27.0-build-20241206_201629_1ab4c79
...


One Line Summary
================
vagrant	Total: 2081 (Critical:3 High:507 Medium:1518 Low:46 ?:7)	1078/2081 Fixed	495 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

after

$ vuls report --format-one-line-text 2024-12-07T09-37-31+0900
[Dec  7 09:59:24]  INFO [localhost] vuls-v0.27.0-build-20241207_091638_97dc992
...


One Line Summary
================
vagrant	Total: 2081 (Critical:3 High:507 Medium:1518 Low:46 ?:7)	1078/2081 Fixed	495 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

redhat 7

before

$ vuls report --format-one-line-text 2024-12-07T09-41-08+0900
[Dec  7 10:00:29]  INFO [localhost] vuls-v0.27.0-build-20241206_201629_1ab4c79
...


One Line Summary
================
vagrant	Total: 3760 (Critical:29 High:934 Medium:2623 Low:162 ?:12)	957/3760 Fixed	405 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

Warning for vagrant: [Standard OS support is EOL(End-of-Life). Purchase extended support if available or Upgrading your OS is strongly recommended. Extended support available until 2026-06-30. Check the vendor site.]

after

$ vuls report --format-one-line-text 2024-12-07T09-41-17+0900
[Dec  7 10:00:44]  INFO [localhost] vuls-v0.27.0-build-20241207_091638_97dc992
...


One Line Summary
================
vagrant	Total: 3760 (Critical:29 High:934 Medium:2623 Low:162 ?:12)	957/3760 Fixed	405 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

Warning for vagrant: [Standard OS support is EOL(End-of-Life). Purchase extended support if available or Upgrading your OS is strongly recommended. Extended support available until 2026-06-30. Check the vendor site.]

redhat 8

before

$ vuls report --format-one-line-text 2024-12-07T09-44-39+0900
[Dec  7 10:01:45]  INFO [localhost] vuls-v0.27.0-build-20241206_201629_1ab4c79
...

One Line Summary
================
vagrant	Total: 1345 (Critical:2 High:516 Medium:797 Low:29 ?:1)	654/1345 Fixed	509 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

after

$ vuls report --format-one-line-text 2024-12-07T09-44-45+0900
[Dec  7 10:01:58]  INFO [localhost] vuls-v0.27.0-build-20241207_091638_97dc992
...

One Line Summary
================
vagrant	Total: 1345 (Critical:2 High:516 Medium:797 Low:29 ?:1)	654/1345 Fixed	509 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

redhat 9

before

$ vuls report --format-one-line-text 2024-12-07T09-49-34+0900
[Dec  7 10:02:42]  INFO [localhost] vuls-v0.27.0-build-20241206_201629_1ab4c79
...

One Line Summary
================
vagrant	Total: 2224 (Critical:3 High:592 Medium:1590 Low:32 ?:7)	1237/2224 Fixed	524 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

after

$ vuls report --format-one-line-text 2024-12-07T09-49-40+0900
[Dec  7 10:03:01]  INFO [localhost] vuls-v0.27.0-build-20241207_091638_97dc992
...

One Line Summary
================
vagrant	Total: 2224 (Critical:3 High:592 Medium:1590 Low:32 ?:7)	1237/2224 Fixed	524 installed	0 poc	0 exploits	0 kevs	uscert: 0, jpcert: 0 alerts

Checklist:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES

Reference

@MaineK00n MaineK00n self-assigned this Dec 6, 2024
@MaineK00n MaineK00n force-pushed the MaineK00n/patch-1 branch 2 times, most recently from 97dc992 to 3591397 Compare December 7, 2024 02:24
@MaineK00n MaineK00n marked this pull request as ready for review December 7, 2024 02:25
@MaineK00n MaineK00n requested a review from shino December 7, 2024 02:31
Copy link
Collaborator

@shino shino left a comment

Choose a reason for hiding this comment

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

Great!!

@MaineK00n MaineK00n merged commit 5502e1c into master Dec 7, 2024
7 checks passed
@MaineK00n MaineK00n deleted the MaineK00n/patch-1 branch December 7, 2024 08:07
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