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
Add a new --list-rules option to the oscap info module that, when
combined with --profile, prints the IDs of all XCCDF rules selected
by the given profile. The output is machine-readable (one rule ID per
line with no decoration), making it suitable for CI/CD automation,
auditing, and tailoring validation workflows.
Resolves: https://issues.redhat.com/browse/RHEL-143569
Copy file name to clipboardExpand all lines: utils/oscap.8
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,11 @@ For XCCDF or SCAP source data stream files, the info module prints out IDs of in
63
63
Allow download of remote components referenced from data stream.
64
64
.RE
65
65
.TP
66
+
\fB\-\-list-rules\fR
67
+
.RS
68
+
Print IDs of XCCDF rules that are selected by the given profile, one per line. This option must be used together with \fB\-\-profile\fR. The output is machine-readable and contains only rule IDs with no additional decoration.
69
+
.RE
70
+
.TP
66
71
\fB\-\-local-filesDIRECTORY\fR
67
72
.RS
68
73
Instead of downloading remote data stream components from the network, use data stream components stored locally as files in the given directory. In place of the remote data stream component OpenSCAP will attempt to use a file whose file name is equal to @name attribute of the uri element within the catalog element within the component-ref element in the data stream if such file exists.
0 commit comments