Low commit activity in last 3 years
A long-lived project that still receives updates
Client script that runs openscap scan and uploads the result to foreman proxy
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.0

Runtime

>= 0
 Project Readme

ForemanScapClient

Client script that runs openscap scan and uploads the result to foreman proxy. It's usually executed by cron.

Installation

Add this line to your application's Gemfile:

gem 'foreman_scap_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install foreman_scap_client

Dependencies * openscap-utils

Configuration

Configuration file must be created at /etc/foreman_scap_client/config.yaml You can use config/config.yaml.example as an example. Also you may be interested in puppet-openscap module that can configure this client.

Usage

To run a openscap scan and upload a result you run following command

foreman_scap_client 1

This will load content file and uses a profile based on policy number 1 specified in config.yaml.

Contributing

  1. Fork it ( https://github.com/OpenSCAP/foreman_scap_client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request