saf
saf copied to clipboard
bug: hdf2xccdf does not respect InSpec impact 0
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
-
podman pull mitre/saf:latest
-
podman run --rm -it --entrypoint bash -v$(pwd):/share mitre/saf
-
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