aws-sdk-securityhub 1.72.0 → 1.73.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +3 -1
- data/lib/aws-sdk-securityhub/client_api.rb +6 -0
- data/lib/aws-sdk-securityhub/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-securityhub/endpoint_provider.rb +77 -77
- data/lib/aws-sdk-securityhub/types.rb +30 -2
- data/lib/aws-sdk-securityhub.rb +1 -1
- 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: a7d1a7e4672c24b04d0130596ee569bb8648d4fa77a70f63f9e5ada658232cd4
|
4
|
+
data.tar.gz: 7ce66052bcf1bb0c0a2d3a593302adbc3fbc5fe68b106bc5976c1630d1282ac8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48297a2be78b1da7827fba70e5631b11a12190387aebd1d976d7abe2e569ffdd589a1721382aa4314cd59aa8e2f17e7b399f1ab63cab8fb62be486eeaa758cd7
|
7
|
+
data.tar.gz: 05ccc8b1ea3edf7044cdf30741c916fb458924623915a459d3a053dfdf1b67788646a78343269d0d2ca0204344c0a9e604db82e7ae126ef86236cad17d50549b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.73.0
|
@@ -5402,6 +5402,8 @@ module Aws::SecurityHub
|
|
5402
5402
|
# resp.standards[0].name #=> String
|
5403
5403
|
# resp.standards[0].description #=> String
|
5404
5404
|
# resp.standards[0].enabled_by_default #=> Boolean
|
5405
|
+
# resp.standards[0].standards_managed_by.company #=> String
|
5406
|
+
# resp.standards[0].standards_managed_by.product #=> String
|
5405
5407
|
# resp.next_token #=> String
|
5406
5408
|
#
|
5407
5409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandards AWS API Documentation
|
@@ -11142,7 +11144,7 @@ module Aws::SecurityHub
|
|
11142
11144
|
params: params,
|
11143
11145
|
config: config)
|
11144
11146
|
context[:gem_name] = 'aws-sdk-securityhub'
|
11145
|
-
context[:gem_version] = '1.
|
11147
|
+
context[:gem_version] = '1.73.0'
|
11146
11148
|
Seahorse::Client::Request.new(handlers, context)
|
11147
11149
|
end
|
11148
11150
|
|
@@ -806,6 +806,7 @@ module Aws::SecurityHub
|
|
806
806
|
StandardsControl = Shapes::StructureShape.new(name: 'StandardsControl')
|
807
807
|
StandardsControls = Shapes::ListShape.new(name: 'StandardsControls')
|
808
808
|
StandardsInputParameterMap = Shapes::MapShape.new(name: 'StandardsInputParameterMap')
|
809
|
+
StandardsManagedBy = Shapes::StructureShape.new(name: 'StandardsManagedBy')
|
809
810
|
StandardsStatus = Shapes::StringShape.new(name: 'StandardsStatus')
|
810
811
|
StandardsStatusReason = Shapes::StructureShape.new(name: 'StandardsStatusReason')
|
811
812
|
StandardsSubscription = Shapes::StructureShape.new(name: 'StandardsSubscription')
|
@@ -4856,6 +4857,7 @@ module Aws::SecurityHub
|
|
4856
4857
|
Standard.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
4857
4858
|
Standard.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
4858
4859
|
Standard.add_member(:enabled_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnabledByDefault"))
|
4860
|
+
Standard.add_member(:standards_managed_by, Shapes::ShapeRef.new(shape: StandardsManagedBy, location_name: "StandardsManagedBy"))
|
4859
4861
|
Standard.struct_class = Types::Standard
|
4860
4862
|
|
4861
4863
|
Standards.member = Shapes::ShapeRef.new(shape: Standard)
|
@@ -4877,6 +4879,10 @@ module Aws::SecurityHub
|
|
4877
4879
|
StandardsInputParameterMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
4878
4880
|
StandardsInputParameterMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
4879
4881
|
|
4882
|
+
StandardsManagedBy.add_member(:company, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Company"))
|
4883
|
+
StandardsManagedBy.add_member(:product, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Product"))
|
4884
|
+
StandardsManagedBy.struct_class = Types::StandardsManagedBy
|
4885
|
+
|
4880
4886
|
StandardsStatusReason.add_member(:status_reason_code, Shapes::ShapeRef.new(shape: StatusReasonCode, required: true, location_name: "StatusReasonCode"))
|
4881
4887
|
StandardsStatusReason.struct_class = Types::StandardsStatusReason
|
4882
4888
|
|
@@ -50,6 +50,9 @@ module Aws::SecurityHub
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,83 +29,83 @@ module Aws::SecurityHub
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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Bkb2Vz
|
104
|
+
IG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJj
|
105
|
+
b25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9zZWN1
|
106
|
+
cml0eWh1Yi57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0i
|
107
|
+
LCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9p
|
108
|
+
bnQifV19XX0=
|
109
109
|
|
110
110
|
JSON
|
111
111
|
end
|
@@ -44068,7 +44068,7 @@ module Aws::SecurityHub
|
|
44068
44068
|
include Aws::Structure
|
44069
44069
|
end
|
44070
44070
|
|
44071
|
-
# Provides information about a specific standard.
|
44071
|
+
# Provides information about a specific security standard.
|
44072
44072
|
#
|
44073
44073
|
# @!attribute [rw] standards_arn
|
44074
44074
|
# The ARN of a standard.
|
@@ -44092,13 +44092,18 @@ module Aws::SecurityHub
|
|
44092
44092
|
# `EnableDefaultStandards` is set to `false`.
|
44093
44093
|
# @return [Boolean]
|
44094
44094
|
#
|
44095
|
+
# @!attribute [rw] standards_managed_by
|
44096
|
+
# Provides details about the management of a standard.
|
44097
|
+
# @return [Types::StandardsManagedBy]
|
44098
|
+
#
|
44095
44099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Standard AWS API Documentation
|
44096
44100
|
#
|
44097
44101
|
class Standard < Struct.new(
|
44098
44102
|
:standards_arn,
|
44099
44103
|
:name,
|
44100
44104
|
:description,
|
44101
|
-
:enabled_by_default
|
44105
|
+
:enabled_by_default,
|
44106
|
+
:standards_managed_by)
|
44102
44107
|
SENSITIVE = []
|
44103
44108
|
include Aws::Structure
|
44104
44109
|
end
|
@@ -44173,6 +44178,29 @@ module Aws::SecurityHub
|
|
44173
44178
|
include Aws::Structure
|
44174
44179
|
end
|
44175
44180
|
|
44181
|
+
# Provides details about the management of a security standard.
|
44182
|
+
#
|
44183
|
+
# @!attribute [rw] company
|
44184
|
+
# An identifier for the company that manages a specific security
|
44185
|
+
# standard. For existing standards, the value is equal to `Amazon Web
|
44186
|
+
# Services`.
|
44187
|
+
# @return [String]
|
44188
|
+
#
|
44189
|
+
# @!attribute [rw] product
|
44190
|
+
# An identifier for the product that manages a specific security
|
44191
|
+
# standard. For existing standards, the value is equal to the Amazon
|
44192
|
+
# Web Services service that manages the standard.
|
44193
|
+
# @return [String]
|
44194
|
+
#
|
44195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/StandardsManagedBy AWS API Documentation
|
44196
|
+
#
|
44197
|
+
class StandardsManagedBy < Struct.new(
|
44198
|
+
:company,
|
44199
|
+
:product)
|
44200
|
+
SENSITIVE = []
|
44201
|
+
include Aws::Structure
|
44202
|
+
end
|
44203
|
+
|
44176
44204
|
# The reason for the current status of a standard subscription.
|
44177
44205
|
#
|
44178
44206
|
# @!attribute [rw] status_reason_code
|
data/lib/aws-sdk-securityhub.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-securityhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.73.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|