ruby-openscap icon ruby-OpenSCAP

Description

A FFI wrapper around the OpenSCAP library.

Features/problems

Current version supports minimal set of functions needed to build own scanner. This module is self documented by its test suite.

Sample Scanner Implementation

require 'openscap'
s = OpenSCAP::Xccdf::Session.new("ssg-fedora-ds.xml")
s.load
s.profile = "xccdf_org.ssgproject.content_profile_common"
s.evaluate
s.export_results(:rds_file => "results.rds.xml")
s.destroy