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 +4 -4
- data/lib/controls/objects.rb +2 -1
- data/lib/controls/response.rb +2 -0
- data/lib/controls/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e1ed2e1df0bd358cc877a97294b6cda81c79762
|
4
|
+
data.tar.gz: 69ff6075b35edf913d62a77c925dcfa27511b37e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd078a2f672c281a592e704565db40cd6bc3fbab965ad037cbc373a1af55f41b2878d8ca757757d8b719a13605cf0e2e918ca7c18bf3691cd8006d80e5fe61f2
|
7
|
+
data.tar.gz: 2cc078a71607f3258415f4d69ad6e505b8c74ab84c3042157b69374af0d985c8acad561a27b0af54bd3d5f6377cc2e10d210755e6f2f321e1f0afaf04ef377be
|
data/lib/controls/objects.rb
CHANGED
@@ -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'
|
data/lib/controls/response.rb
CHANGED
@@ -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
|
data/lib/controls/version.rb
CHANGED