controls 1.7.8.1 → 1.7.9
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/lib/controls/client/assets.rb +2 -1
- data/lib/controls/objects.rb +1 -0
- data/lib/controls/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f63447d592e85196180f452b13065bc311617fc6
|
4
|
+
data.tar.gz: 60a7310ddcde8f83ca1a29066e32a569f604e043
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c42a164b104f0c4e13fba9f6ab1012bcb8aa0e9aeef153e3dc07561507e1bf0a3ed256a4cffaae8a2b2a487a8d8144800ebef9b21cf1e184a507e6204a880897
|
7
|
+
data.tar.gz: cba7e51aa5eb5698b0ec053f98313cf6b60f3a1d60352066884f2ab9c8e11d221cbab25ff8a7e7170228686b2e6162822314514883cd19ac7b31407955b36a69
|
@@ -52,7 +52,8 @@ module Controls
|
|
52
52
|
# @param [String] threat the threat name to search by
|
53
53
|
# @return [Array<Hash>] an array of hashes that represent assets
|
54
54
|
def threat_assets(threat, params = {})
|
55
|
-
|
55
|
+
fail NotImplementedError, "Assets by threat is not a valid request. Use Controls::Client#assets or Controls::Client#assets_by_threat_vector instead."
|
56
|
+
# get "/threats/#{threat}/assets", params
|
56
57
|
end
|
57
58
|
alias_method :assets_by_threat, :threat_assets
|
58
59
|
|
data/lib/controls/objects.rb
CHANGED
@@ -4,6 +4,7 @@ require 'controls/objects/assessment'
|
|
4
4
|
require 'controls/objects/asset_collection'
|
5
5
|
require 'controls/objects/asset'
|
6
6
|
require 'controls/objects/configuration'
|
7
|
+
require 'controls/objects/configuration_coverage'
|
7
8
|
require 'controls/objects/error'
|
8
9
|
require 'controls/objects/event'
|
9
10
|
require 'controls/objects/guidance'
|
data/lib/controls/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: controls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erran Carey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dish
|