From Fedora Project Wiki

Line 7: Line 7:
 
Run  
 
Run  
 
<pre>
 
<pre>
oscap xccdf eval --result-file result.xml --report-file report.html --profile Desktop scap-fedora14-xccdf.xml scap-fedora14-oval.xml
+
oscap xccdf eval --result-file result.xml --report-file report.html --oval-results --profile Desktop scap-fedora14-xccdf.xml scap-fedora14-oval.xml
 
</pre>
 
</pre>
 
|results=
 
|results=
Line 13: Line 13:
 
=Unexpected Results=
 
=Unexpected Results=
 
If there are rules with result '''other than pass''' it does not need to be problem. Your system might have different configuration. Please, see '''report.html''' file for detailed rule description and then check whether rule results are correct or incorrect. If in doubts, paste relevant messages to [http://fpaste.org/ fpaste] and ask us on IRC.
 
If there are rules with result '''other than pass''' it does not need to be problem. Your system might have different configuration. Please, see '''report.html''' file for detailed rule description and then check whether rule results are correct or incorrect. If in doubts, paste relevant messages to [http://fpaste.org/ fpaste] and ask us on IRC.
 +
 +
If you hit a bug and you are about to file a bugzilla, please include scap-fedora14-oval.xml.result.xml file that should be generated in your working directory.
 
}}
 
}}
  
 
[[Category:OpenSCAP Test Cases]]
 
[[Category:OpenSCAP Test Cases]]

Revision as of 18:39, 24 August 2010

Description

XCCDF content defines many security setting that might be organized into different profiles. The settings that are selected in profile called "Desktop" are supposed to pass on "clean" Fedora system. The Aim of this test case is to ensure that oscap tool can process provided SCAP content and get proper results.

Setup

The basic test day setup is sufficient, no extra action needed.

How to test

Run

oscap xccdf eval --result-file result.xml --report-file report.html --oval-results --profile Desktop scap-fedora14-xccdf.xml scap-fedora14-oval.xml

Expected Results

All Rules should give result: pass

Unexpected Results

If there are rules with result other than pass it does not need to be problem. Your system might have different configuration. Please, see report.html file for detailed rule description and then check whether rule results are correct or incorrect. If in doubts, paste relevant messages to fpaste and ask us on IRC.

If you hit a bug and you are about to file a bugzilla, please include scap-fedora14-oval.xml.result.xml file that should be generated in your working directory.