Module for OpenSCAP Management
Run oscap xccdf
commands 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_recv
set to True
in the master configuration file.
CLI Example:
salt '*' openscap.xccdf "eval --profile Default /usr/share/openscap/scap-yast2sec-xccdf.xml"
Run oscap xccdf eval
commands on minions.
New in version 3007.0.
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_recv
set to True
in the master configuration file.
the path to the xccdf file to evaluate
additional oval definition files
the name of Profile to be evaluated
the name of a single rule to be evaluated
save OVAL results as well (True or False)
write XCCDF Results into given file
write HTML report into given file
download remote content referenced by XCCDF (True or False)
use given XCCDF Tailoring file
use given DS component as XCCDF Tailoring file
automatically execute XCCDF fix elements for failed rules. Use of this option is always at your own risk. (True or False)
CLI Example:
salt '*' openscap.xccdf_eval /usr/share/openscap/scap-yast2sec-xccdf.xml profile=Default