Below are steps to run SCAP content on RHEL 5

Requirements

  • Java 6 JDK must be installed

Install OVAL Interpreter

  1. Install OVALDI Libs RPM
    1. http://sourceforge.net/projects/ovaldi/files/ovaldi/5.10.1%20Build%201/ovaldi-libs-5.10.1.1.el5.i386.rpm/download
  2. Install OVALDI RPM
    1. http://sourceforge.net/projects/ovaldi/files/ovaldi/5.10.1%20Build%201/ovaldi-5.10.1.1.el5.i386.rpm/download

Install XCCDFExec

  1. Download and Extract Built 47
    1. http://sourceforge.net/projects/xccdfexec/files/1.2_build_47/xccdf_interpreter-bin-1.2_build_47.zip/download

Configuration

  1. Set xccdf_interpreter.properties
    Note: These may be different depending on your installation, "yum -ql ovaldi" will locate your installed files.
    1. Set: oval.dir=/usr/sbin
    2. Set: oval.bin=ovaldi

Run

  1. From your XCCDF Directory, Run:
    1. java -jar xccdfexec_v1.2.jar <XCCDF_FILE.xml> -C <CPE_DICT.xml> -c <OVAL_FILE.xml>


Published

22 June 2012

Tags