OpenSCAP compliance scanning: OL10 official content, and a full Essential Eight scan of 877 rules measured
What you will learn
Section titled “What you will learn”Running a compliance scan of OL10 with Oracle’s own SCAP content: where the tools and content come from, how to choose a profile, one command for the full scan, and how to read the score.
Tools and content: one dnf command
Section titled “Tools and content: one dnf command”dnf group install security-tools # or install the two packages individuallyrpm -q openscap-scanner scap-security-guide# openscap-scanner-1.4.4-1.el10_2.x86_64# scap-security-guide-0.1.82-2.0.1.el10_2.noarchls /usr/share/xml/scap/ssg/content/ | grep ol10# ssg-ol10-ds.xml ← the OL10 official datastreamA datastream (-ds.xml) = an XCCDF benchmark + OVAL checks bundled together, consumed directly by oscap.
Profiles: see what exists before choosing
Section titled “Profiles: see what exists before choosing”oscap info --profiles /usr/share/xml/scap/ssg/content/ssg-ol10-ds.xmlMeasured available profiles: ANSSI-BP-028 (the French standard, four tiers), Essential Eight (the Australian standard), HIPAA (US healthcare), ISM Official…
The full scan: one command
Section titled “The full scan: one command”oscap xccdf eval \ --profile xccdf_org.ssgproject.content_profile_e8 \ --results /tmp/oscap-results.xml \ --report /tmp/oscap-report.html \ /usr/share/xml/scap/ssg/content/ssg-ol10-ds.xmlMeasured (minimal-install VM, E8 profile):
- 877 rules evaluated in full, a few minutes to run;
- A total score of 54.33 — roughly half failing, the quantified evidence that “a minimal install ≠ a security baseline”;
- Artifacts: the results XML plus a human-readable HTML report (1.89MB, per-rule pass/fail with remediation guidance).
How to use the score
Section titled “How to use the score”- The remediation baseline: fix the failing rules per their remediation fields (mostly sysctl/package/service configuration);
- Quantified progress: fix a batch → rescan → the score rises. Compliance work finally has numbers;
- Automated rescans: hook the oscap command into Ansible/Cron and configuration drift exposes itself directly.
Evidence and limits on this page
Section titled “Evidence and limits on this page”- Measured: locating the content package, the profile list (no-CIS confirmed), the full E8 scan of 877 rules scoring 54.33, and the report artifacts (E3);
- Not measured: the remediation mode’s automatic fixes (—remediate changes system configuration; saved for dedicated measurement in the hardening page);
- Sources: the scap-security-guide upstream, OL10 security compliance documentation.