openscap
openscap copied to clipboard
The `--profiles` option does not work for tailoring files in `info`
Description of Problem:
The --profiles option for the info command does not affect the output when inspecting tailoring files.
OpenSCAP Version:
1.3.x+
Operating System & Version:
Any.
Steps to Reproduce:
- run
oscap info --profiles tailoring.xml
Actual Results:
Document type: XCCDF Tailoring
Imported: 2023-10-15T23:15:07
Benchmark Hint: file:///home/ekolesni/Devel/content/build/ssg-fedora-ds.xml
Profiles:
Title:
Id: xccdf_org.ssgproject.content_profile_xxx
Expected Results:
xccdf_org.ssgproject.content_profile_ospp:OSPP - Protection Profile for General Purpose Operating Systems
or maybe
xccdf_org.ssgproject.content_profile_ospp:<Original/Not overridden>