mirror of
https://github.com/trimstray/the-practical-linux-hardening-guide.git
synced 2025-12-06 17:22:51 +01:00
added oscap example for CentOS7
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
@@ -339,8 +339,11 @@ Before use please see [Using OSCAP](https://access.redhat.com/documentation/en-u
|
|||||||
# Installation:
|
# Installation:
|
||||||
yum install openscap-scanner
|
yum install openscap-scanner
|
||||||
|
|
||||||
# Make a RHEL7/CentOS machine PCI-DSS compliant:
|
# Make a RHEL7 machine PCI-DSS compliant:
|
||||||
oscap xccdf eval --report report.html --profile xccdf_org.ssgproject.content_profile_pci-dss /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
|
oscap xccdf eval --report report.html --profile xccdf_org.ssgproject.content_profile_pci-dss /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
|
||||||
|
|
||||||
|
# Make a CentOS machine PCI-DSS compliant:
|
||||||
|
oscap xccdf eval --report report.html --profile xccdf_org.ssgproject.content_profile_pci-dss /usr/share/xml/scap/ssg/content/ssg-centos7-ds.xml
|
||||||
```
|
```
|
||||||
|
|
||||||
### SCAP Workbench
|
### SCAP Workbench
|
||||||
|
|||||||
Reference in New Issue
Block a user