[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Open-scap] Problems Running Scripts on Scientific Linux 5.8



On 3/1/13 11:38 AM, Boucher, William wrote:

My versions:

$ cat /etc/redhat-release ; rpm –qv openscap openscap-utils

Scientific Linux release 5.8 (Boron)

Openscap-0.9.2-1.el5.i386

Openscap-utils-0.9.2-1.el5.i386

 

Upon my first attempt, the following errors were produced:

# oscap xccdf eval --profile MAC-3_Public --results /tmp/results.xml --report /tmp/report.html --oval results --cpe /tmp/U_RedHat_5_V1R2_STIG_Benchmark-cpe-dictionary.xml /tmp/U_RedHat_5_V1R2_STIG_Benchmark-xccdf.xml

File ‘/tmp/U_RedHat_5_V1R2_STIG_Benchmark-cpe-dictionary.xml’ line 3: Element ‘{http://cpe.mitre.org/dictionary/2.0}cpe-item’, attribute ‘name’ : [facet ‘pattern’} The value ‘cpe:/o:redhat:enterprise_linux:5’ is not accepted by the pattern ‘[c][pP][eE]:/[AHOaho]?(A-Za-z0-9\._\-~%]*){0,6}’.



The RHEL5 STIG has checks to ensure you're running on the RHEL platform. Since you're running on Scientific these checks will fail, throwing that CPE error above.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]