openscap icon indicating copy to clipboard operation
openscap copied to clipboard

The `--profiles` option does not work for tailoring files in `info`

Open evgenyz opened this issue 2 years ago • 0 comments

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:

  1. 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>

evgenyz avatar Oct 15 '23 21:10 evgenyz