Skip to content

icy17/openscap

Repository files navigation


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: swig libxml2-devel libxslt-devel m4 perl-XML-Parser
                  rpm-devel libgcrypt-devel pcre-devel libacl-devel
                  libselinux-devel libblkid-devel libnl-devel
  $ ./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

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 71.4%
  • C 21.5%
  • Shell 5.1%
  • Python 0.6%
  • CMake 0.5%
  • Roff 0.3%
  • Other 0.6%