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:
gem 'foreman_scap_client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install foreman_scap_client
Dependencies
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.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)