How to schedule OpenSCAP reports on SUMA 3.1
- Requisites
- On the client:
- Install packages spacewalk-oscap y openscap-content
- Upgrade to latest salt packages
- On the client:
There are three alternatives to schedule the reports:
- On the Web UI
- Select the system and go to Audit -> Schedule
- In Command-line Arguments enter –profile Default
- In Path to XCCDF document enter
/usr/share/openscap/scap-xccdf.xml
or another template. - Click on Schedule
- In the general menu, go to Audit -> OpenSCAP -> All Scans
- Click on the report
- On the command line:
- Execute the script suma_schedule_openscap.py to schedule a scan on all the systems.
- On the command line on the client:
- With OVAL format file:
# oscap oval eval --report myreport.html --results myresults.xml /usr/share/openscap/scap-oval.xml
- With XCCDF format file:
# oscap xccdf eval --profile Default /usr/share/openscap/scap-xccdf.xml