Client script that runs openscap scan and uploads the result to foreman proxy. It's usually executed by cron.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install foreman_scap_client
Dependencies * openscap-utils
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.
To run a openscap scan and upload a result you run following command
This will load content file and uses a profile based on policy number 1 specified in config.yaml.
- Fork it ( https://github.com/OpenSCAP/foreman_scap_client/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request