aws-sdk-securityhub 1.71.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +12 -1
- data/lib/aws-sdk-securityhub/client_api.rb +10 -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 +74 -5
- 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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.73.0 (2022-11-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding StandardsManagedBy field to DescribeStandards API response
|
8
|
+
|
9
|
+
1.72.0 (2022-11-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added SourceLayerArn and SourceLayerHash field for security findings. Updated AwsLambdaFunction Resource detail
|
13
|
+
|
4
14
|
1.71.0 (2022-11-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.73.0
|
@@ -2290,6 +2290,8 @@ module Aws::SecurityHub
|
|
2290
2290
|
# vpc_id: "NonEmptyString",
|
2291
2291
|
# },
|
2292
2292
|
# version: "NonEmptyString",
|
2293
|
+
# architectures: ["NonEmptyString"],
|
2294
|
+
# package_type: "NonEmptyString",
|
2293
2295
|
# },
|
2294
2296
|
# aws_lambda_layer_version: {
|
2295
2297
|
# version: 1,
|
@@ -3773,6 +3775,8 @@ module Aws::SecurityHub
|
|
3773
3775
|
# file_path: "NonEmptyString",
|
3774
3776
|
# fixed_in_version: "NonEmptyString",
|
3775
3777
|
# remediation: "NonEmptyString",
|
3778
|
+
# source_layer_hash: "NonEmptyString",
|
3779
|
+
# source_layer_arn: "NonEmptyString",
|
3776
3780
|
# },
|
3777
3781
|
# ],
|
3778
3782
|
# cvss: [
|
@@ -5398,6 +5402,8 @@ module Aws::SecurityHub
|
|
5398
5402
|
# resp.standards[0].name #=> String
|
5399
5403
|
# resp.standards[0].description #=> String
|
5400
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
|
5401
5407
|
# resp.next_token #=> String
|
5402
5408
|
#
|
5403
5409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandards AWS API Documentation
|
@@ -7607,6 +7613,9 @@ module Aws::SecurityHub
|
|
7607
7613
|
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.subnet_ids[0] #=> String
|
7608
7614
|
# resp.findings[0].resources[0].details.aws_lambda_function.vpc_config.vpc_id #=> String
|
7609
7615
|
# resp.findings[0].resources[0].details.aws_lambda_function.version #=> String
|
7616
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.architectures #=> Array
|
7617
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.architectures[0] #=> String
|
7618
|
+
# resp.findings[0].resources[0].details.aws_lambda_function.package_type #=> String
|
7610
7619
|
# resp.findings[0].resources[0].details.aws_lambda_layer_version.version #=> Integer
|
7611
7620
|
# resp.findings[0].resources[0].details.aws_lambda_layer_version.compatible_runtimes #=> Array
|
7612
7621
|
# resp.findings[0].resources[0].details.aws_lambda_layer_version.compatible_runtimes[0] #=> String
|
@@ -8612,6 +8621,8 @@ module Aws::SecurityHub
|
|
8612
8621
|
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].file_path #=> String
|
8613
8622
|
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].fixed_in_version #=> String
|
8614
8623
|
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].remediation #=> String
|
8624
|
+
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].source_layer_hash #=> String
|
8625
|
+
# resp.findings[0].vulnerabilities[0].vulnerable_packages[0].source_layer_arn #=> String
|
8615
8626
|
# resp.findings[0].vulnerabilities[0].cvss #=> Array
|
8616
8627
|
# resp.findings[0].vulnerabilities[0].cvss[0].version #=> String
|
8617
8628
|
# resp.findings[0].vulnerabilities[0].cvss[0].base_score #=> Float
|
@@ -11133,7 +11144,7 @@ module Aws::SecurityHub
|
|
11133
11144
|
params: params,
|
11134
11145
|
config: config)
|
11135
11146
|
context[:gem_name] = 'aws-sdk-securityhub'
|
11136
|
-
context[:gem_version] = '1.
|
11147
|
+
context[:gem_version] = '1.73.0'
|
11137
11148
|
Seahorse::Client::Request.new(handlers, context)
|
11138
11149
|
end
|
11139
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')
|
@@ -2760,6 +2761,8 @@ module Aws::SecurityHub
|
|
2760
2761
|
AwsLambdaFunctionDetails.add_member(:tracing_config, Shapes::ShapeRef.new(shape: AwsLambdaFunctionTracingConfig, location_name: "TracingConfig"))
|
2761
2762
|
AwsLambdaFunctionDetails.add_member(:vpc_config, Shapes::ShapeRef.new(shape: AwsLambdaFunctionVpcConfig, location_name: "VpcConfig"))
|
2762
2763
|
AwsLambdaFunctionDetails.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Version"))
|
2764
|
+
AwsLambdaFunctionDetails.add_member(:architectures, Shapes::ShapeRef.new(shape: NonEmptyStringList, location_name: "Architectures"))
|
2765
|
+
AwsLambdaFunctionDetails.add_member(:package_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "PackageType"))
|
2763
2766
|
AwsLambdaFunctionDetails.struct_class = Types::AwsLambdaFunctionDetails
|
2764
2767
|
|
2765
2768
|
AwsLambdaFunctionEnvironment.add_member(:variables, Shapes::ShapeRef.new(shape: FieldMap, location_name: "Variables"))
|
@@ -4838,6 +4841,8 @@ module Aws::SecurityHub
|
|
4838
4841
|
SoftwarePackage.add_member(:file_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FilePath"))
|
4839
4842
|
SoftwarePackage.add_member(:fixed_in_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FixedInVersion"))
|
4840
4843
|
SoftwarePackage.add_member(:remediation, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Remediation"))
|
4844
|
+
SoftwarePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SourceLayerHash"))
|
4845
|
+
SoftwarePackage.add_member(:source_layer_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SourceLayerArn"))
|
4841
4846
|
SoftwarePackage.struct_class = Types::SoftwarePackage
|
4842
4847
|
|
4843
4848
|
SoftwarePackageList.member = Shapes::ShapeRef.new(shape: SoftwarePackage)
|
@@ -4852,6 +4857,7 @@ module Aws::SecurityHub
|
|
4852
4857
|
Standard.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
4853
4858
|
Standard.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
4854
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"))
|
4855
4861
|
Standard.struct_class = Types::Standard
|
4856
4862
|
|
4857
4863
|
Standards.member = Shapes::ShapeRef.new(shape: Standard)
|
@@ -4873,6 +4879,10 @@ module Aws::SecurityHub
|
|
4873
4879
|
StandardsInputParameterMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
4874
4880
|
StandardsInputParameterMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
4875
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
|
+
|
4876
4886
|
StandardsStatusReason.add_member(:status_reason_code, Shapes::ShapeRef.new(shape: StatusReasonCode, required: true, location_name: "StatusReasonCode"))
|
4877
4887
|
StandardsStatusReason.struct_class = Types::StandardsStatusReason
|
4878
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
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33
|
+
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
34
|
+
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GVzIjpbeyJjb25kaXRpb25z
|
96
|
+
IjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoi
|
97
|
+
Z2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJz
|
98
|
+
dXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6
|
99
|
+
W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
|
100
|
+
c2VjdXJpdHlodWIue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3Rh
|
101
|
+
Y2tEbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwi
|
102
|
+
dHlwZSI6ImVuZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6
|
103
|
+
IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2Vz
|
104
|
+
IG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJj
|
105
|
+
b25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9zZWN1
|
106
|
+
cml0eWh1Yi57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0i
|
107
|
+
LCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9p
|
108
|
+
bnQifV19XX0=
|
109
109
|
|
110
110
|
JSON
|
111
111
|
end
|
@@ -14555,7 +14555,7 @@ module Aws::SecurityHub
|
|
14555
14555
|
include Aws::Structure
|
14556
14556
|
end
|
14557
14557
|
|
14558
|
-
# Details about
|
14558
|
+
# Details about an Lambda function's configuration.
|
14559
14559
|
#
|
14560
14560
|
# @note When making an API call, you may pass AwsLambdaFunctionDetails
|
14561
14561
|
# data as a hash:
|
@@ -14605,6 +14605,8 @@ module Aws::SecurityHub
|
|
14605
14605
|
# vpc_id: "NonEmptyString",
|
14606
14606
|
# },
|
14607
14607
|
# version: "NonEmptyString",
|
14608
|
+
# architectures: ["NonEmptyString"],
|
14609
|
+
# package_type: "NonEmptyString",
|
14608
14610
|
# }
|
14609
14611
|
#
|
14610
14612
|
# @!attribute [rw] code
|
@@ -14690,6 +14692,17 @@ module Aws::SecurityHub
|
|
14690
14692
|
# The version of the Lambda function.
|
14691
14693
|
# @return [String]
|
14692
14694
|
#
|
14695
|
+
# @!attribute [rw] architectures
|
14696
|
+
# The instruction set architecture that the function uses. Valid
|
14697
|
+
# values are `x86_64` or `arm64`.
|
14698
|
+
# @return [Array<String>]
|
14699
|
+
#
|
14700
|
+
# @!attribute [rw] package_type
|
14701
|
+
# The type of deployment package that's used to deploy the function
|
14702
|
+
# code to Lambda. Set to `Image` for a container image and `Zip` for a
|
14703
|
+
# .zip file archive.
|
14704
|
+
# @return [String]
|
14705
|
+
#
|
14693
14706
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsLambdaFunctionDetails AWS API Documentation
|
14694
14707
|
#
|
14695
14708
|
class AwsLambdaFunctionDetails < Struct.new(
|
@@ -14710,7 +14723,9 @@ module Aws::SecurityHub
|
|
14710
14723
|
:timeout,
|
14711
14724
|
:tracing_config,
|
14712
14725
|
:vpc_config,
|
14713
|
-
:version
|
14726
|
+
:version,
|
14727
|
+
:architectures,
|
14728
|
+
:package_type)
|
14714
14729
|
SENSITIVE = []
|
14715
14730
|
include Aws::Structure
|
14716
14731
|
end
|
@@ -22195,6 +22210,8 @@ module Aws::SecurityHub
|
|
22195
22210
|
# vpc_id: "NonEmptyString",
|
22196
22211
|
# },
|
22197
22212
|
# version: "NonEmptyString",
|
22213
|
+
# architectures: ["NonEmptyString"],
|
22214
|
+
# package_type: "NonEmptyString",
|
22198
22215
|
# },
|
22199
22216
|
# aws_lambda_layer_version: {
|
22200
22217
|
# version: 1,
|
@@ -23678,6 +23695,8 @@ module Aws::SecurityHub
|
|
23678
23695
|
# file_path: "NonEmptyString",
|
23679
23696
|
# fixed_in_version: "NonEmptyString",
|
23680
23697
|
# remediation: "NonEmptyString",
|
23698
|
+
# source_layer_hash: "NonEmptyString",
|
23699
|
+
# source_layer_arn: "NonEmptyString",
|
23681
23700
|
# },
|
23682
23701
|
# ],
|
23683
23702
|
# cvss: [
|
@@ -28570,6 +28589,8 @@ module Aws::SecurityHub
|
|
28570
28589
|
# vpc_id: "NonEmptyString",
|
28571
28590
|
# },
|
28572
28591
|
# version: "NonEmptyString",
|
28592
|
+
# architectures: ["NonEmptyString"],
|
28593
|
+
# package_type: "NonEmptyString",
|
28573
28594
|
# },
|
28574
28595
|
# aws_lambda_layer_version: {
|
28575
28596
|
# version: 1,
|
@@ -30053,6 +30074,8 @@ module Aws::SecurityHub
|
|
30053
30074
|
# file_path: "NonEmptyString",
|
30054
30075
|
# fixed_in_version: "NonEmptyString",
|
30055
30076
|
# remediation: "NonEmptyString",
|
30077
|
+
# source_layer_hash: "NonEmptyString",
|
30078
|
+
# source_layer_arn: "NonEmptyString",
|
30056
30079
|
# },
|
30057
30080
|
# ],
|
30058
30081
|
# cvss: [
|
@@ -37847,6 +37870,8 @@ module Aws::SecurityHub
|
|
37847
37870
|
# vpc_id: "NonEmptyString",
|
37848
37871
|
# },
|
37849
37872
|
# version: "NonEmptyString",
|
37873
|
+
# architectures: ["NonEmptyString"],
|
37874
|
+
# package_type: "NonEmptyString",
|
37850
37875
|
# },
|
37851
37876
|
# aws_lambda_layer_version: {
|
37852
37877
|
# version: 1,
|
@@ -40780,6 +40805,8 @@ module Aws::SecurityHub
|
|
40780
40805
|
# vpc_id: "NonEmptyString",
|
40781
40806
|
# },
|
40782
40807
|
# version: "NonEmptyString",
|
40808
|
+
# architectures: ["NonEmptyString"],
|
40809
|
+
# package_type: "NonEmptyString",
|
40783
40810
|
# },
|
40784
40811
|
# aws_lambda_layer_version: {
|
40785
40812
|
# version: 1,
|
@@ -43946,6 +43973,8 @@ module Aws::SecurityHub
|
|
43946
43973
|
# file_path: "NonEmptyString",
|
43947
43974
|
# fixed_in_version: "NonEmptyString",
|
43948
43975
|
# remediation: "NonEmptyString",
|
43976
|
+
# source_layer_hash: "NonEmptyString",
|
43977
|
+
# source_layer_arn: "NonEmptyString",
|
43949
43978
|
# }
|
43950
43979
|
#
|
43951
43980
|
# @!attribute [rw] name
|
@@ -43986,6 +44015,14 @@ module Aws::SecurityHub
|
|
43986
44015
|
# vulnerability in the software package.
|
43987
44016
|
# @return [String]
|
43988
44017
|
#
|
44018
|
+
# @!attribute [rw] source_layer_hash
|
44019
|
+
# The source layer hash of the vulnerable package.
|
44020
|
+
# @return [String]
|
44021
|
+
#
|
44022
|
+
# @!attribute [rw] source_layer_arn
|
44023
|
+
# The Amazon Resource Name (ARN) of the source layer.
|
44024
|
+
# @return [String]
|
44025
|
+
#
|
43989
44026
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/SoftwarePackage AWS API Documentation
|
43990
44027
|
#
|
43991
44028
|
class SoftwarePackage < Struct.new(
|
@@ -43997,7 +44034,9 @@ module Aws::SecurityHub
|
|
43997
44034
|
:package_manager,
|
43998
44035
|
:file_path,
|
43999
44036
|
:fixed_in_version,
|
44000
|
-
:remediation
|
44037
|
+
:remediation,
|
44038
|
+
:source_layer_hash,
|
44039
|
+
:source_layer_arn)
|
44001
44040
|
SENSITIVE = []
|
44002
44041
|
include Aws::Structure
|
44003
44042
|
end
|
@@ -44029,7 +44068,7 @@ module Aws::SecurityHub
|
|
44029
44068
|
include Aws::Structure
|
44030
44069
|
end
|
44031
44070
|
|
44032
|
-
# Provides information about a specific standard.
|
44071
|
+
# Provides information about a specific security standard.
|
44033
44072
|
#
|
44034
44073
|
# @!attribute [rw] standards_arn
|
44035
44074
|
# The ARN of a standard.
|
@@ -44053,13 +44092,18 @@ module Aws::SecurityHub
|
|
44053
44092
|
# `EnableDefaultStandards` is set to `false`.
|
44054
44093
|
# @return [Boolean]
|
44055
44094
|
#
|
44095
|
+
# @!attribute [rw] standards_managed_by
|
44096
|
+
# Provides details about the management of a standard.
|
44097
|
+
# @return [Types::StandardsManagedBy]
|
44098
|
+
#
|
44056
44099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Standard AWS API Documentation
|
44057
44100
|
#
|
44058
44101
|
class Standard < Struct.new(
|
44059
44102
|
:standards_arn,
|
44060
44103
|
:name,
|
44061
44104
|
:description,
|
44062
|
-
:enabled_by_default
|
44105
|
+
:enabled_by_default,
|
44106
|
+
:standards_managed_by)
|
44063
44107
|
SENSITIVE = []
|
44064
44108
|
include Aws::Structure
|
44065
44109
|
end
|
@@ -44134,6 +44178,29 @@ module Aws::SecurityHub
|
|
44134
44178
|
include Aws::Structure
|
44135
44179
|
end
|
44136
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
|
+
|
44137
44204
|
# The reason for the current status of a standard subscription.
|
44138
44205
|
#
|
44139
44206
|
# @!attribute [rw] status_reason_code
|
@@ -46288,6 +46355,8 @@ module Aws::SecurityHub
|
|
46288
46355
|
# file_path: "NonEmptyString",
|
46289
46356
|
# fixed_in_version: "NonEmptyString",
|
46290
46357
|
# remediation: "NonEmptyString",
|
46358
|
+
# source_layer_hash: "NonEmptyString",
|
46359
|
+
# source_layer_arn: "NonEmptyString",
|
46291
46360
|
# },
|
46292
46361
|
# ],
|
46293
46362
|
# cvss: [
|
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
|