saf icon indicating copy to clipboard operation
saf copied to clipboard

bug: hdf2xccdf does not respect InSpec impact 0

Open HerbBoy opened this issue 1 year ago • 0 comments

Describe the bug

saf hdf2xccdf when it comes across skipped or n/a finds from InSpec is not handling the marking of N/A inside of STIG Viewer properly.

To Reproduce

  1. podman pull mitre/saf:latest
  2. podman run --rm -it --entrypoint bash -v$(pwd):/share mitre/saf
  3. saf convert hdf2xccdf -i hdf_input.json -o xccdf-results.xml

Expected behavior

For this function to populate N/A findings into the xccdf.xml file that when loaded into STIG Viewer it can be seen as N/A

Screenshots / Logs.

This was discussed with the saf team on a call. If screenshots are necessary I can work on getting that added.

Environment

  • OS: Monterey
  • Docker Desktop
  • SAF version 1.2.7

HerbBoy avatar Mar 23 '23 15:03 HerbBoy