

COMPILATION
-----------

Get fresh sources from repository:
  $ git clone git://git.fedorahosted.org/git/openscap.git (git)
  - requirements: autoconf automake libtool
  $ ./autogen.sh

You are OK with tarball from official release
  - requirements:
    (some of these can be turned off via configure)
    libacl-devel
    libcap-devel
    libcurl-devel
    libgcrypt-devel
    libselinux-devel
    libxml2-devel
    libxslt-devel
    make
    openldap-devel
    pcre-devel
    perl-XML-Parser
    perl-XML-XPath
    perl-devel
    python-devel
    rpm-devel
    swig

  $ ./configure
  $ make
  $ make check
  # make install



USE CASES
---------

SCAP Content Validation
  $ oscap xccdf validate-xml FILE
  $ oscap oval validate-xml FILE

Scanning
  # oscap xccdf eval --profile Desktop --results XCCDF-RESULT-FILE XCCDF-FILE
  # scap oval eval --results OVAL-RESULT-FILE OVAL-FILE
  # scap oval eval --id DEFINITION-ID OVAL-FILE

Document generation
  - without XCCDF rules
  $ oscap xccdf generate guide XCCDF-FILE > XCCDF-GUIDE-FILE

  - with XCCDF rules rules
  $ oscap xccdf generate guide --profile PROFILE XCCDF-FILE > XCCDF-GUIDE-FILE

  - generate report from scanning
  $ oscap xccdf generate report XCCDF-RESULT-FILE > XCCDF-REPORT-FILE

