controls 2.0.0.beta.2 → 2.0.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 256d72681ecf21793a38dfc82d95610bc7759b24
4
- data.tar.gz: 281f40de872f77ebb626c9370b782b7ba904dce3
3
+ metadata.gz: 7e1ed2e1df0bd358cc877a97294b6cda81c79762
4
+ data.tar.gz: 69ff6075b35edf913d62a77c925dcfa27511b37e
5
5
  SHA512:
6
- metadata.gz: 7e6df523d7d63d0e91523a9dd7df71045e012ea0f971333f068397c0dff1b56a609393a000ecdff4e9765d570a4dea41981f620741765a122faf776841c0cdef
7
- data.tar.gz: 576b04198b3547b23c760cd42bb1893a0e94a73f84555abacde9c9fb95f3312e5575562e58a252388da02ca0e784bac4a946eb9bee70429b9662ec90640f8451
6
+ metadata.gz: bd078a2f672c281a592e704565db40cd6bc3fbab965ad037cbc373a1af55f41b2878d8ca757757d8b719a13605cf0e2e918ca7c18bf3691cd8006d80e5fe61f2
7
+ data.tar.gz: 2cc078a71607f3258415f4d69ad6e505b8c74ab84c3042157b69374af0d985c8acad561a27b0af54bd3d5f6377cc2e10d210755e6f2f321e1f0afaf04ef377be
@@ -1,8 +1,9 @@
1
1
  require 'dish'
2
2
  require 'controls/ext/dish/plate'
3
3
  require 'controls/objects/assessment'
4
- require 'controls/objects/asset_collection'
5
4
  require 'controls/objects/asset'
5
+ require 'controls/objects/asset_collection'
6
+ require 'controls/objects/asset_risk_summary'
6
7
  require 'controls/objects/configuration'
7
8
  require 'controls/objects/configuration_coverage'
8
9
  require 'controls/objects/error'
@@ -29,6 +29,8 @@ module Controls
29
29
  Controls.const_get(Regexp.last_match[1].split('_').map(&:capitalize).join)
30
30
  when /findings$/
31
31
  Controls::SecurityControlFinding
32
+ when %r(^(?:/\d.\d)?/assets/count)
33
+ Controls::AssetRiskSummary
32
34
  # [todo] - these asset related endpoints are inconsisteny create a better regex?
33
35
  when %r(^(?:/\d.\d)?/assets/search)
34
36
  Controls::AssetCollection
@@ -1,4 +1,4 @@
1
1
  module Controls
2
2
  # The version of the Controls gem
3
- VERSION = '2.0.0.beta.2'
3
+ VERSION = '2.0.0.beta.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: controls
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta.2
4
+ version: 2.0.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erran Carey