You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's no way to pass --fetch-remote-resources when calling oscap-bootc. This means a limited number of checks and remediations are ran.
OpenSCAP Version:
Prelease from COPR
Operating System & Version:
AlmaLinux9
Steps to Reproduce:
ARG OS_VERSION=9
FROM quay.io/almalinuxorg/almalinux-bootc:${OS_VERSION}
ARG OS_VERSION
RUN dnf install -y dnf-plugins-core
RUN dnf -y copr enable packit/OpenSCAP-openscap-maint-1.3 centos-stream-${OS_VERSION}-x86_64 && \
dnf install -y openscap-utils scap-security-guide openscap-engine-sce
RUN oscap-bootc --profile xccdf_org.ssgproject.content_profile_cis --fetch-remote-resources /usr/share/xml/scap/ssg/content/ssg-almalinux${OS_VERSION}-ds.xml
Actual Results:
Expected Results:
Additional Information / Debugging Steps:
I've been trying to implement this functionality myself, and am seeing some very strange behaviour where the code is appearing to be invoked in the wrong order... I know it sounds strange... But I've been banging my head against the wall for hours on this one.
Edit: Ignore this comment. It was me not understanding the code and I guess how Python writes logs.
Description of Problem:
Currently there's no way to pass
--fetch-remote-resources
when calling oscap-bootc. This means a limited number of checks and remediations are ran.OpenSCAP Version:
Prelease from COPR
Operating System & Version:
AlmaLinux9
Steps to Reproduce:
Actual Results:
Expected Results:
Additional Information / Debugging Steps:
I've been trying to implement this functionality myself, and am seeing some very strange behaviour where the code is appearing to be invoked in the wrong order... I know it sounds strange... But I've been banging my head against the wall for hours on this one.
Edit: Ignore this comment. It was me not understanding the code and I guess how Python writes logs.
Current (broken) patch:
Log:
I would expect the logs I have added (especially the "Running oscap-bootc") to appear before all other logs, but it's not.
The text was updated successfully, but these errors were encountered: