#OpenSCAP no compatible xml version for Linux Mint

1 messages · Page 1 of 1 (latest)

foggy yacht
#

Unable to use ssg-ubuntu2204-ds.xml due to non applicable controls on Linux Mint.

Anyone know any solutions so I don't have to try to create a whole new SCAP file?

sterile perch
jaunty fern
#

it happens because Linux Mint is based on Ubuntu, but it is not identical, especially when it comes to package management, desktop environment, and other configuration specifics. The OpenSCAP content is designed to check for certain configurations that may exist on Ubuntu but not on Mint, which leads to compatibility issues.

#

Linux Mint 21, for example, is based on Ubuntu 22.04 LTS. If you are using a Mint version based on Ubuntu 22.04, the ssg-ubuntu2204-ds.xml file should work in theory, but some checks may still fail. You can try running OpenSCAP with the Ubuntu SCAP profile and ignore non-applicable controls by using the --skip-valid option to avoid validation issues with ""oscap xccdf eval --skip-valid --profile [your-profile] ssg-ubuntu2204-ds.xml""