-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
CentOS Stream 10
-
None
-
scap-security-guide-0.1.78-1.el10.noarch
-
Yes
-
None
-
rhel-security-compliance
-
2
-
None
-
CentOS Stream
-
None
-
Requested
-
None
-
x86_64, aarch64
-
None
What were you trying to do that didn't work?
I am running oscap-im to harden my bootable container, this fails with the following error:
OpenSCAP Error: Invalid selector 'default' for xccdf:value/@id='xccdf_org.ssgproject.content_value_var_system_crypto_policy'. Using null value instead. [/builddir/build/BUILD/openscap-1.4.2/src/XCCDF_POLICY/xccdf_policy.c:2255]
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
scap-security-guide noarch 0.1.74-1.el10
How reproducible is this bug?:
Steps to reproduce
- Bootable container build with podman: FROM quay.io/centos-bootc/centos-bootc:stream10
- RUN dnf install -y openscap-utils scap-security-guide && dnf clean all && \
rm -rf /var/log/.log /var/cache/ /var/log/rhsm/rhsm.log
RUN oscap-im --profile cis /usr/share/xml/scap/ssg/content/ssg-rhel10-ds.xml
- Error is shown
Expected results
oscap-im command should not show error.
Actual results
Error is shown.