Skip to content
Search Oracle Linux

    Browse this documentation

    OpenSCAP compliance scanning: OL10 official content, and a full Essential Eight scan of 877 rules measured

    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.

    Terminal window
    dnf group install security-tools # or install the two packages individually
    rpm -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.noarch
    ls /usr/share/xml/scap/ssg/content/ | grep ol10
    # ssg-ol10-ds.xml ← the OL10 official datastream

    A datastream (-ds.xml) = an XCCDF benchmark + OVAL checks bundled together, consumed directly by oscap.

    Terminal window
    oscap info --profiles /usr/share/xml/scap/ssg/content/ssg-ol10-ds.xml

    Measured available profiles: ANSSI-BP-028 (the French standard, four tiers), Essential Eight (the Australian standard), HIPAA (US healthcare), ISM Official…

    Terminal window
    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.xml

    Measured (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).
    1. The remediation baseline: fix the failing rules per their remediation fields (mostly sysctl/package/service configuration);
    2. Quantified progress: fix a batch → rescan → the score rises. Compliance work finally has numbers;
    3. Automated rescans: hook the oscap command into Ansible/Cron and configuration drift exposes itself directly.
    • 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.