controls 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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: 8b1c93eb63aeddc68b6c3e57e8fcf7ff1dab140e
|
4
|
+
data.tar.gz: 0fb1ceed1c6803e3db982e71b6588a8d507d2d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c77f122347f6e0055d4ab1c9bd3f9452264ded8070aa3614d0ab129e8abe87e870a853d24f794068786e33b131eb76ad64ee22e90ab9cfe777b4bd695c1394db
|
7
|
+
data.tar.gz: 6b486869dc0e58225ab8f7527facdd302630308cbc99b26ab1efe9a20c11cd3131e7dba7c3ac9f01c28fd336e3e4dad5f5c767270ed45c8aba36dc292de5fdf0
|
data/lib/controls/response.rb
CHANGED
@@ -18,6 +18,8 @@ module Controls
|
|
18
18
|
Controls.const_get(Regexp.last_match[1].split('_').map(&:capitalize).join)
|
19
19
|
when %r(^(?:/\d.\d)?\/(assessment|configuration|guidance|security_control|threat|threat_vector)s?)
|
20
20
|
Controls.const_get(Regexp.last_match[1].split('_').map(&:capitalize).join)
|
21
|
+
when /findings$/
|
22
|
+
Controls::SecurityControlFinding
|
21
23
|
# [todo] - these asset related endpoints are inconsisteny create a better regex?
|
22
24
|
when %r(^(?:/\d.\d)?/assets/search)
|
23
25
|
Controls::AssetCollection
|
data/lib/controls/version.rb
CHANGED