salt.modules.openscap#
Module for OpenSCAP Management
- salt.modules.openscap.xccdf(params)#
Run
oscap xccdfcommands on minions. It uses cp.push_dir to upload the generated files to the salt master in the master's minion files cachedir (defaults to/var/cache/salt/master/minions/minion-id/files)It needs
file_recvset toTruein the master configuration file.CLI Example:
salt '*' openscap.xccdf "eval --profile Default /usr/share/openscap/scap-yast2sec-xccdf.xml"