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(os): support RHEL 9, CentOS Stream 9, Alma Linux 9 #1465

Merged
merged 2 commits into from
Jun 8, 2022

Conversation

MaineK00n
Copy link
Collaborator

@MaineK00n MaineK00n commented May 20, 2022

What did you implement:

support RHEL9, CentOS Stream 9, Alma Linux 9.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

$ vuls scan
[May 27 22:32:17]  INFO [localhost] vuls-v0.19.7-build-20220527_220436_0a2c687b
[May 27 22:32:17]  INFO [localhost] Start scanning
[May 27 22:32:17]  INFO [localhost] config: /home/mainek00n/github/github.com/MaineK00n/vuls/config.toml
[May 27 22:32:17]  INFO [localhost] Validating config...
[May 27 22:32:17]  INFO [localhost] Detecting Server/Container OS... 
[May 27 22:32:17]  INFO [localhost] Detecting OS of servers... 
[May 27 22:32:18]  INFO [localhost] (1/3) Detected: vuls-target2: alma 9.0
[May 27 22:32:18]  INFO [localhost] (2/3) Detected: vuls-target3: centos stream9
[May 27 22:32:18]  INFO [localhost] (3/3) Detected: vuls-target: redhat 9.0
[May 27 22:32:18]  INFO [localhost] Detecting OS of containers... 
[May 27 22:32:18]  INFO [localhost] Checking Scan Modes... 
[May 27 22:32:18]  INFO [localhost] Detecting Platforms... 
[May 27 22:32:19]  INFO [localhost] (1/3) vuls-target3 is running on other
[May 27 22:32:19]  INFO [localhost] (2/3) vuls-target2 is running on other
[May 27 22:32:19]  INFO [localhost] (3/3) vuls-target is running on other
[May 27 22:32:19]  INFO [vuls-target2] Scanning OS pkg in fast mode
[May 27 22:32:19]  INFO [vuls-target3] Scanning OS pkg in fast mode
[May 27 22:32:19]  INFO [vuls-target] Scanning OS pkg in fast mode


Scan Summary
================
vuls-target 	redhat9.0    	496 installed             
vuls-target3	centosstream9	167 installed, 0 updatable
vuls-target2	alma9.0      	169 installed, 0 updatable





To view the detail, vuls tui is useful.
To send a report, run vuls report -h.

$ vuls report -format-one-line-text
[May 27 22:33:18]  INFO [localhost] vuls-v0.19.7-build-20220527_220436_0a2c687b
[May 27 22:33:18]  INFO [localhost] Validating config...
[May 27 22:33:18]  INFO [localhost] cveDict.type=sqlite3, cveDict.url=, cveDict.SQLite3Path=/usr/share/vuls-data/cve.sqlite3
[May 27 22:33:18]  INFO [localhost] ovalDict.type=sqlite3, ovalDict.url=, ovalDict.SQLite3Path=/usr/share/vuls-data/oval.sqlite3
[May 27 22:33:18]  INFO [localhost] gost.type=sqlite3, gost.url=, gost.SQLite3Path=/usr/share/vuls-data/gost.sqlite3
[May 27 22:33:18]  INFO [localhost] exploit.type=sqlite3, exploit.url=, exploit.SQLite3Path=/usr/share/vuls-data/go-exploitdb.sqlite3
[May 27 22:33:18]  INFO [localhost] metasploit.type=sqlite3, metasploit.url=, metasploit.SQLite3Path=/usr/share/vuls-data/go-msfdb.sqlite3
[May 27 22:33:18]  INFO [localhost] kevuln.type=sqlite3, kevuln.url=, kevuln.SQLite3Path=/usr/share/vuls-data/go-kev.sqlite3
[May 27 22:33:18]  INFO [localhost] Loaded: /home/mainek00n/github/github.com/MaineK00n/vuls/results/2022-05-27T22:32:19+09:00
[May 27 22:33:18]  INFO [localhost] No need to refresh
[May 27 22:33:18]  INFO [localhost] No need to refresh
[May 27 22:33:18]  INFO [localhost] No need to refresh
[May 27 22:33:18]  INFO [localhost] vuls-target: total 152 CVEs detected
[May 27 22:33:18]  INFO [localhost] vuls-target: 0 CVEs filtered by --confidence-over=80
[May 27 22:33:18]  INFO [localhost] vuls-target2: total 46 CVEs detected
[May 27 22:33:18]  INFO [localhost] vuls-target2: 0 CVEs filtered by --confidence-over=80
[May 27 22:33:18]  INFO [localhost] vuls-target3: total 43 CVEs detected
[May 27 22:33:18]  INFO [localhost] vuls-target3: 0 CVEs filtered by --confidence-over=80


One Line Summary
================
vuls-target 	Total: 152 (Critical:14 High:61 Medium:72 Low:4 ?:1)	1/152 Fixed	496 installed	41 poc	0 exploits	cisa: 0, uscert: 0, jpcert: 1 alerts
vuls-target2	Total: 46 (Critical:11 High:22 Medium:13 Low:0 ?:0) 	1/46 Fixed 	169 installed	11 poc	0 exploits	cisa: 0, uscert: 0, jpcert: 1 alerts
vuls-target3	Total: 43 (Critical:10 High:21 Medium:12 Low:0 ?:0) 	0/43 Fixed 	167 installed	10 poc	0 exploits	cisa: 0, uscert: 0, jpcert: 1 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 May 20, 2022
@MaineK00n MaineK00n marked this pull request as ready for review May 20, 2022 06:12
@MaineK00n MaineK00n changed the title feat(os): support RHEL 9 feat(os): support RHEL 9, CentOS Stream 9, Alma Linux 9 May 27, 2022
@kotakanbe kotakanbe self-requested a review June 8, 2022 21:37
@kotakanbe kotakanbe merged commit 42fdc08 into master Jun 8, 2022
@kotakanbe kotakanbe deleted the MaineK00n/add-rhel9 branch June 8, 2022 21:39
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