Update ID mappings to fix STIGViewer imports#20
Conversation
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
|
Fixed the validation for the files in 53b2559 and 1a6dbad: |
stevebeattie
left a comment
There was a problem hiding this comment.
Ugh, github won't let me comment inline on the unified diff of all commits, so I'm having to add comments on the individual commits, sorry about that. We're getting better, but there are still some issues.
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
stevebeattie
left a comment
There was a problem hiding this comment.
One more thing to note is that, with the rule id changes in place, we'll have some tests in a couple of packages to update; https://github.com/wolfi-dev/os/blob/main/chainguard-security-guide.yaml being one of them.
Signed-off-by: Evan Gibler <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
…F formatting Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
stevebeattie
left a comment
There was a problem hiding this comment.
Verified that I can use oscap/oscap-docker to generate results, that the html report looks sensible in both success and failure conditions, that the results files can be imported into a stig checklist with both stig viewer v2 (when applied to both the disa xccdf and our xccdf) and v3.
Thanks for all your efforts!
|
Can we add one more change to output the test run, the result, and the pass/fail to the finding details box? |



This PR updates our GPOS STIG and Benchmark IDs to allow for the following STIGViewer workflow:
File->Import STIGssg-chainguard-gpos-ds.xml(or importU_GPOS_V3R2_SRG.zipdirectly)Checklist->Create Checklist - Check Marked STIG(s)Import XCCDF Results File->results.xmlFor the most part, this follows existing STIG patterns and seems to work without issue (plus the original
results.htmlfile still displays as it always did).