-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(SIMP-3784) Replace the compliance mapper's report generator (#26)
Replace the compliance mapper's report generator parsing code with the shared library used by the enforcement backend. This means that the code to read and parse v1 format compliance maps is now centralized. Add vendored (maps-in-modules) support to the compiler for v1 format maps. Note: the operation of this is not well defined, and intended for use in the v2 format of the compliance maps. Also expand the shared library to a real object tree, with defined api endpoints, like load() to load a set of compliance maps, and list_puppet_params() to generate a puppet parameter hash. Note: this code was tested using the existing spec tests without modifications to ensure that the change is a drop-in replacement. The code coverage of the tests may not be complete to do this. SIMP-3784 #close
- Loading branch information
1 parent
d0a9de5
commit ee7b33e
Showing
19 changed files
with
687 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ spec/rp_env/ | |
.rspec_system | ||
.vagrant/ | ||
.bundle/ | ||
.idea/ | ||
Gemfile.lock | ||
vendor/ | ||
junit/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
* Fri Sep 22 2017 Dylan Cochran <[email protected]> - 2.3.1-0 | ||
- Refactor report generator to use a shared file format parser/compiler. | ||
- Add vendored 'profiles-in-modules' support | ||
|
||
* Tue Sep 19 2017 Liz Nemsick <[email protected]> - 2.3.1-0 | ||
- Remove test link to allow module to be published to PuppetForge | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
version: 1.0.0 | ||
disa: | ||
compliance_markup::test::vendoredvariable: | ||
value: 'disa' | ||
nist: | ||
compliance_markup::test::vendoredvariable: | ||
value: 'nist' |
Oops, something went wrong.