From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description=A brief description of the functionality being tested. |setup=Optionally include information on preparing the test environment |actions= Be as specifi...')
 
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=A brief description of the functionality being tested.
|description=  
|setup=Optionally include information on preparing the test environment
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=
Nothing special. Install openscap and openscap-utils. Get the latest scap-fedora14-oval.xml and scap-fedora14-xccdf.xml files.
|actions=
|actions=
Be as specific as required for the target audience.
Run
# Start here ...
<pre>
# Next do this ...
oscap xccdf eval --result-file result.xml --report-file report.html --profile Desktop scap-fedora14-xccdf.xml scap-fedora14-oval.xml
# Finally click that
</pre>
|results=
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.  
All Rules should give result: '''pass'''
# Step #1 completes without error
=Unexpected Results=
# The system boots into runlevel 5
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 make sure rule results is correct or incorrect.
# Program completes wth exit code 0
}}
}}


[[Category:OpenSCAP Test Cases]]
[[Category:OpenSCAP Test Cases]]

Revision as of 15:26, 23 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

Nothing special. Install openscap and openscap-utils. Get the latest scap-fedora14-oval.xml and scap-fedora14-xccdf.xml files.

How to test

Run

oscap xccdf eval --result-file result.xml --report-file report.html --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 make sure rule results is correct or incorrect.