-
Notifications
You must be signed in to change notification settings - Fork 403
Open
Labels
Description
Description of Problem:
While running the latest Ubuntu 24.04 XCCDF file, the oscap command fails with a core dump.
The last message seen is:
oscap: ./src/XCCDF_POLICY/xccdf_policy.c:627: xccdf_policy_is_item_selected: Assertion `false' failed.
Aborted (core dumped)
OpenSCAP Version:
OpenSCAP command line tool (oscap) 1.3.9
Operating System & Version:
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
Steps to Reproduce:
git clone https://github.com/complianceascode/content.git
cd content/
and./build_product ubuntu2404
andcd ..
- Run either of the following commands:
oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis_level1_workstation --results arf1.xml --report report1.html content/build/ssg-ubuntu2404-ds.xml
oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis_level2_workstation --results arf2.xml --report report2.html content/build/ssg-ubuntu2404-ds.xml
Actual Results:
The last successful message was:
Title Enable PAM
Rule xccdf_org.ssgproject.content_rule_sshd_enable_pam
Result pass
And the error message seen is:
oscap: ./src/XCCDF_POLICY/xccdf_policy.c:627: xccdf_policy_is_item_selected: Assertion `false' failed.
Aborted (core dumped)
Expected Results:
A successful run with arf1.xml with the results and report1.html with the final evaluation report.
Additional Information / Debugging Steps:
Coredump file is available for download, if it i's of any help.