abide-data-processor 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/abide-data-processor/processor.rb +3 -4
- data/lib/abide-data-processor/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a83854dd7421053ce9bf5084c7ff92aabc9e0eb48d3ae71eda1aebff9c3aa2e8
|
|
4
|
+
data.tar.gz: 63b613fcb5bb160a66b04ef53173506e671f7a7189301c1be6ac307a4253accb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 795e79b1e848adce109a508f93e8db4c76f0da0917f97f41dec66dcba14d0cb2317052cce7689091ee5b8f41cea4135520fed1288665811eaf3c0ee7a47b3aba
|
|
7
|
+
data.tar.gz: 16f387cc93d055444d06866f6f1293dba92db746c8a82701ee7f6b1d9a1075099816ce50cebd2d50f1f2ce064047a9859ac51711718dcb3680487363377df347
|
data/Gemfile.lock
CHANGED
|
@@ -12,8 +12,7 @@ module AbideDataProcessor
|
|
|
12
12
|
# @param control_maps: The control mappings to valid IDs
|
|
13
13
|
# @param module_name: The name of the module
|
|
14
14
|
# @param logger: The logger that we will use to log information for the user
|
|
15
|
-
def initialize(control_maps,
|
|
16
|
-
@module_name = module_name
|
|
15
|
+
def initialize(control_maps, logger)
|
|
17
16
|
@control_maps = control_maps
|
|
18
17
|
@logger = logger
|
|
19
18
|
end
|
|
@@ -21,8 +20,8 @@ module AbideDataProcessor
|
|
|
21
20
|
# control_key_maps
|
|
22
21
|
# Gets all control key maps from Hiera for indexed control ID permutation searches
|
|
23
22
|
# @return An array of four control ID maps, each indexed by one of the four different valid permutations of a control ID
|
|
24
|
-
def control_key_maps
|
|
25
|
-
key_prefix = "#{
|
|
23
|
+
def self.control_key_maps(module_name)
|
|
24
|
+
key_prefix = "#{module_name}::mappings::cis"
|
|
26
25
|
%w[hiera_title hiera_title_num number title].each_with_object([]) do |key, ary|
|
|
27
26
|
ary << [key_prefix, key].join('::')
|
|
28
27
|
end
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module AbideDataProcessor
|
|
2
|
-
VERSION = "0.
|
|
3
|
-
end
|
|
2
|
+
VERSION = "0.1.0"
|
|
3
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: abide-data-processor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- abide-team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-11-
|
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: puppet
|