#OpenSCAP no compatible xml version for Linux Mint
1 messages · Page 1 of 1 (latest)
who pinged this??
try to search for solution idk
The issue you're encountering with OpenSCAP and the ssg-ubuntu2204-ds.xml file on Linux Mint arises because SCAP security guides (like the one you're using for Ubuntu 22.04) are often tailored specifically for a certain distribution and version, and there may be controls or checks that don't directly apply to Linux Mint.
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""