Performing a vulnerability scan
As apadmin, you can perform a vulnerability scan of the Cloud Pak for Data System machine and generate a report.
Procedure
For RHEL 7
- Upload or use
wgetto downloadrhel-7.oval.xml.bz2. - Run the command:
oscap oval eval --results rhsa-results-oval.xml --report vulnerability-report.html com.redhat.rhsa-RHEL7.xmlapuser - Download and examine the
vulnerability-report.htmlin a web browser.
For RHEL 8
- Upload or use
wgetto downloadrhel-8.oval.xml.bz2. - Unzip the downloaded file to get the
rhel-8.oval.xmlfile:bzip2 -dk rhel-8.oval.xml.bz2 - Run the command:
oscap oval eval --results rhsa-results-oval.xml --report vulnerability-report.html rhel-8.oval.xml - Download and examine the
vulnerability-report.htmlin a web browser.