-
Notifications
You must be signed in to change notification settings - Fork 0
/
oscap_scan.txt
34 lines (22 loc) · 1.12 KB
/
oscap_scan.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
============================================
Scanning the System for Vulnerabilities
============================================
The oscap command-line utility enables you to scan local systems, validate configuration compliance
content, and generate reports and guides based on these scans and evaluations. This utility serves as a
front end to the OpenSCAP library and groups its functionalities to modules (sub-commands) based on
the type of SCAP content it processes.
==========
Procedure
==========
1 . Install the openscap-scanner package:
~]# yum install openscap-scanner
2 . Download the latest RHSA OVAL definitions for your system, for example:
~]# wget -O - https://www.redhat.com/security/data/oval/v2/RHEL7/rhel-7.oval.xml.bz2 | bzip2 --decompress > rhel-7.oval.xml
3 . Scan the system for vulnerabilities and save results to the vulnerability.html file:
~]# oscap oval eval --report vulnerability.html rhel-7.oval.xml
=============
Verification
=============
1. Check the results in a browser of your choice, for example:
~]$ firefox vulnerability.html &
====================================xxxx============================