OpenSCAP / openscap

NIST Certified SCAP 1.2 toolkit
https://www.open-scap.org/tools/openscap-base
GNU Lesser General Public License v2.1
1.35k stars 372 forks source link

Remove obsolete template options #2134

Closed jan-cerny closed 2 months ago

jan-cerny commented 2 months ago

The option --template allows users to provide either a remediation system URN or a custom XSLT template path. Instead of using the --template with URN users should use --fix-type. A custom XSLT path have never really worked. Users can apply custom XSLTs on their XML files using xsltsproc tool or other third party tools, they don't need oscap for that. We advise users to use --fix-type to specify the remediation type.

The --oval-template and --sce-template options are also useless because the result file names are defined by oscap itself, therefore there is no other sensible value for these options than the default value (hardcoded in oscap).