Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 13 commits into from
Aug 11, 2021

Conversation

janeuner
Copy link
Contributor

@janeuner janeuner commented Apr 14, 2021

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
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
Copy link
Contributor

Bialogs commented Apr 15, 2021

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 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 join this conversation on GitHub. Already have an account? Sign in to comment
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