mitre / vulcan

A web application to streamline the development of STIGs from SRGs
https://mitre-vulcan-prod.herokuapp.com/
Other
60 stars 16 forks source link

Add description text to xccdf exports #556

Closed rlakey closed 1 year ago

rlakey commented 1 year ago

Currently we are not providing any text for the Benchmark/description element in the xccdf file. This is causing the latest version of saf cli to fail on converting Vulcan generated xccdf to InSpec.

See https://github.com/mitre/saf/issues/1123

rlakey commented 1 year ago

Correction it looks like we do populate description but if it is empty on the component there will be no text and it is not required.

ox_el_helper(benchmark, 'description', component[:description])