Skip to content

ubuntu24 xccdf every rule says notapplicable #12887

Answered by mpurg
positivepanda asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @positivepanda !

Make sure you have these files available on the system which you're scanning:

# ls -1 ssg-ubuntu2404-*
ssg-ubuntu2404-cpe-dictionary.xml
ssg-ubuntu2404-cpe-oval.xml
ssg-ubuntu2404-oval.xml
ssg-ubuntu2404-xccdf.xml

Then include the --cpe ssg-ubuntu2404-cpe-dictionary.xml in the command line:

# oscap xccdf eval  --profile xccdf_org.ssgproject.content_profile_cis_level1_server --cpe ssg-ubuntu2404-cpe-dictionary.xml  ssg-ubuntu2404-xccdf.xml

Much appreciated that you are testing out the draft profile! 💯

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by positivepanda
Comment options

You must be logged in to vote
0 replies
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