首页 > 其他 > 详细

使用opencap评估CentOS 6的PCI DSS合规

时间:2018-06-25 18:48:40      阅读:220      评论:0      收藏:0      [点我收藏+]
  • 安装
  • [root@localhost ~]# yum install scap-security-guide -y
    • 修改配置
      如果使用的是 redhat 则可以跳过此步
    [root@localhost ~]# sed -i -e "s#<platform>Red Hat Enterprise Linux 6</platform>#<platform>CentOS 6</platform>##g" /usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-oval.xml
    [root@localhost ~]# sed -i -e "s#cpe:/o:redhat:enterprise_linux:6#cpe:/o:centos:centos:6##g" /usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-oval.xml
    [root@localhost ~]# sed -i -e "s#cpe:/o:redhat:enterprise_linux#cpe:/o:centos:centos##g" /usr/share/xml/scap/ssg/content/ssg-rhel6-xccdf.xml
    • 评估PCI DSS合规的内容

      oscap xccdf eval --results results.xml --profile xccdf_org.ssgproject.content_profile_pci-dss /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml
    • 生成HTML的报告
      oscap xccdf generate report --output report.html results.xml

    使用opencap评估CentOS 6的PCI DSS合规

    原文:http://blog.51cto.com/41084/2132580

    (0)
    (0)
       
    举报
    评论 一句话评论(0
    关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
    © 2014 bubuko.com 版权所有
    打开技术之扣,分享程序人生!