Skip to content

bash script not available in the version 0.1.63 #10236

Answered by ggbecker
Naranthiran asked this question in Q&A
Discussion options

You must be logged in to vote

The bash scripts were intentionally removed to reduce the footprint of the package since those scripts can be easily generated by running for example the following command:

oscap xccdf generate fix --fix-type bash --profile stig /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml > stig.sh

You can simply change the profile to generate scripts for other profiles.

You can find out which profiles are available by running:

oscap info /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Naranthiran
Comment options

Answer selected by marcusburghardt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants