Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-113023

OpenSCAP Error: Invalid selector 'default'

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • CentOS Stream 10
    • scap-security-guide
    • 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

      1. Bootable container build with podman: FROM quay.io/centos-bootc/centos-bootc:stream10
      1. 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

      1. Error is shown

      Expected results

      oscap-im command should not show error.

      Actual results

      Error is shown.

              jcerny@redhat.com Jan Cerny
              schellekens.rory Rory Schellekens
              Vojtech Polasek Vojtech Polasek
              Matus Marhefka Matus Marhefka
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: