Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

inspec2xccdf: Check Text, Fix Text, and MISC→Mitigations - #226

Merged
Bialogs merged 13 commits into
mitre:masterfrom
janeuner:jn-to-xccdf-check-fix-text
Aug 11, 2021
Merged

Bialogs merged 13 commits into
mitre:masterfrom
janeuner:jn-to-xccdf-check-fix-text

Conversation

@janeuner

@janeuner janeuner commented Apr 14, 2021 •

Copy link
Copy Markdown
Contributor

Adds support for the Check Text, Fix Text, and MISC→Mitigations in DISA STIGViewer

Needs special attention to inspec parsing; by my testing, inspec output now uses a descriptions object to encode fix and check text. The sample json (profile and results) probably due for an update.

@janeuner janeuner changed the title @janeuner inspec2xccdf: Add support for the Check Text, Fix Text, and MISC→Mitigations in DISA STIGViewer @janeuner inspec2xccdf: Check Text, Fix Text, and MISC→Mitigations Apr 14, 2021
@janeuner janeuner changed the title @janeuner inspec2xccdf: Check Text, Fix Text, and MISC→Mitigations inspec2xccdf: Check Text, Fix Text, and MISC→Mitigations Apr 14, 2021
@janeuner
janeuner marked this pull request as draft April 14, 2021 13:50
@janeuner
janeuner force-pushed the jn-to-xccdf-check-fix-text branch 3 times, most recently from 8864548 to 912ca2d Compare April 15, 2021 18:06
@janeuner

Copy link
Copy Markdown
Contributor Author

Getting different test results parsing the descriptions object based on build environment. For my Ubuntu dev vm and the Windows test runners, the object parses as a Hash. For the Ubuntu and Mac test runners, it parses as a Array. @Bialogs or others, I'd appreciate a second set of eyes. (Note, I'm a Ruby novice. Wrote my first line of Ruby code this week.)

@Bialogs

Bialogs commented Apr 15, 2021

Copy link
Copy Markdown
Contributor

yep I can help you out

@janeuner
janeuner marked this pull request as ready for review April 23, 2021 15:39
@Bialogs
Bialogs force-pushed the jn-to-xccdf-check-fix-text branch 2 times, most recently from 41abf10 to 98f4574 Compare May 10, 2021 20:33
@rlakey rlakey linked an issue Jul 20, 2021 that may be closed by this pull request
@Bialogs
Bialogs force-pushed the jn-to-xccdf-check-fix-text branch from 25a9ca2 to cca21e8 Compare August 11, 2021 17:39
@Bialogs
Bialogs merged commit dc0e419 into mitre:master Aug 11, 2021
@Bialogs
Bialogs deleted the jn-to-xccdf-check-fix-text branch August 11, 2021 19:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inspec2xccdf doesn't support desc 'check' or 'fix' syntax

2 participants