aws-sdk-securityhub 1.43.0 → 1.45.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 390442ee15ed3e5ea404592445aeb31b79c3eabee8e45ca2d4851e3d65509f0c
4
- data.tar.gz: 9fd83098ed50b201ad80fab0d9198fb39fef52161a6a9ff0e0cef07fda203362
3
+ metadata.gz: 4d6017e425c6f71226f81f4ec1e6550806c2d9db103f20175fbb4dcec1562653
4
+ data.tar.gz: 8ec59e1a587d24e63875a1cdaacd44410dbf028df27b0f2183ecfedd7e5fdfcd
5
5
  SHA512:
6
- metadata.gz: 808aa77319e44d3dd9a4d659fe1b95692c3a6317f9fb0eb92bff639f579529611552c124c6955973b31c6ce59f295ae628e5e0902177f347bbebd97372acf045
7
- data.tar.gz: f8a500de8376ce0037f2eb236453cbfd1d7ac915f7fed95dc871b57a507df52c271dbc01b60a5652b7aea2b497f3a4db2e1482cc908ea75713fff6b997b9e191
6
+ metadata.gz: 59f95bed240d216e965719ff574a2542d43980664ed7c7dd9e40cc12002618b4a1d3d86cff31fab4f3779361ef1e634fc063a5a99b4ee0029eb9a2d74803a0ed
7
+ data.tar.gz: 9b71ec2cb2620ee549f6fb3de6b9215ac5ad3f060f7aa063d2aff60521063002491aed22e833a4617ebd6099b0b8955aef0a4d483e82fc306aaa5e4ac7177d36
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2021-05-03)
5
+ ------------------
6
+
7
+ * Feature - Updated ASFF to add the following new resource details objects: AwsEc2NetworkAcl, AwsEc2Subnet, and AwsElasticBeanstalkEnvironment.
8
+
9
+ 1.44.0 (2021-05-03)
10
+ ------------------
11
+
12
+ * Feature - Updated ASFF to add the following new resource details objects: AwsEc2NetworkAcl, AwsEc2Subnet, and AwsElasticBeanstalkEnvironment.
13
+
4
14
  1.43.0 (2021-04-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-securityhub/customizations'
48
48
  # @!group service
49
49
  module Aws::SecurityHub
50
50
 
51
- GEM_VERSION = '1.43.0'
51
+ GEM_VERSION = '1.45.0'
52
52
 
53
53
  end
@@ -366,6 +366,14 @@ module Aws::SecurityHub
366
366
  # This method is deprecated. Instead, use
367
367
  # `AcceptAdministratorInvitation`.
368
368
  #
369
+ # The Security Hub console continues to use `AcceptInvitation`. It will
370
+ # eventually change to use `AcceptAdministratorInvitation`. Any IAM
371
+ # policies that specifically control access to this function must
372
+ # continue to use `AcceptInvitation`. You should also add
373
+ # `AcceptAdministratorInvitation` to your policies to ensure that the
374
+ # correct permissions are in place after the console begins to use
375
+ # `AcceptAdministratorInvitation`.
376
+ #
369
377
  # Accepts the invitation to be a member account and be monitored by the
370
378
  # Security Hub administrator account that the invitation was sent from.
371
379
  #
@@ -1045,6 +1053,58 @@ module Aws::SecurityHub
1045
1053
  # network_interface_owner_id: "NonEmptyString",
1046
1054
  # private_ip_address: "NonEmptyString",
1047
1055
  # },
1056
+ # aws_ec2_subnet: {
1057
+ # assign_ipv_6_address_on_creation: false,
1058
+ # availability_zone: "NonEmptyString",
1059
+ # availability_zone_id: "NonEmptyString",
1060
+ # available_ip_address_count: 1,
1061
+ # cidr_block: "NonEmptyString",
1062
+ # default_for_az: false,
1063
+ # map_public_ip_on_launch: false,
1064
+ # owner_id: "NonEmptyString",
1065
+ # state: "NonEmptyString",
1066
+ # subnet_arn: "NonEmptyString",
1067
+ # subnet_id: "NonEmptyString",
1068
+ # vpc_id: "NonEmptyString",
1069
+ # ipv_6_cidr_block_association_set: [
1070
+ # {
1071
+ # association_id: "NonEmptyString",
1072
+ # ipv_6_cidr_block: "NonEmptyString",
1073
+ # cidr_block_state: "NonEmptyString",
1074
+ # },
1075
+ # ],
1076
+ # },
1077
+ # aws_ec2_network_acl: {
1078
+ # is_default: false,
1079
+ # network_acl_id: "NonEmptyString",
1080
+ # owner_id: "NonEmptyString",
1081
+ # vpc_id: "NonEmptyString",
1082
+ # associations: [
1083
+ # {
1084
+ # network_acl_association_id: "NonEmptyString",
1085
+ # network_acl_id: "NonEmptyString",
1086
+ # subnet_id: "NonEmptyString",
1087
+ # },
1088
+ # ],
1089
+ # entries: [
1090
+ # {
1091
+ # cidr_block: "NonEmptyString",
1092
+ # egress: false,
1093
+ # icmp_type_code: {
1094
+ # code: 1,
1095
+ # type: 1,
1096
+ # },
1097
+ # ipv_6_cidr_block: "NonEmptyString",
1098
+ # port_range: {
1099
+ # from: 1,
1100
+ # to: 1,
1101
+ # },
1102
+ # protocol: "NonEmptyString",
1103
+ # rule_action: "NonEmptyString",
1104
+ # rule_number: 1,
1105
+ # },
1106
+ # ],
1107
+ # },
1048
1108
  # aws_elbv_2_load_balancer: {
1049
1109
  # availability_zones: [
1050
1110
  # {
@@ -1065,6 +1125,40 @@ module Aws::SecurityHub
1065
1125
  # type: "NonEmptyString",
1066
1126
  # vpc_id: "NonEmptyString",
1067
1127
  # },
1128
+ # aws_elastic_beanstalk_environment: {
1129
+ # application_name: "NonEmptyString",
1130
+ # cname: "NonEmptyString",
1131
+ # date_created: "NonEmptyString",
1132
+ # date_updated: "NonEmptyString",
1133
+ # description: "NonEmptyString",
1134
+ # endpoint_url: "NonEmptyString",
1135
+ # environment_arn: "NonEmptyString",
1136
+ # environment_id: "NonEmptyString",
1137
+ # environment_links: [
1138
+ # {
1139
+ # environment_name: "NonEmptyString",
1140
+ # link_name: "NonEmptyString",
1141
+ # },
1142
+ # ],
1143
+ # environment_name: "NonEmptyString",
1144
+ # option_settings: [
1145
+ # {
1146
+ # namespace: "NonEmptyString",
1147
+ # option_name: "NonEmptyString",
1148
+ # resource_name: "NonEmptyString",
1149
+ # value: "NonEmptyString",
1150
+ # },
1151
+ # ],
1152
+ # platform_arn: "NonEmptyString",
1153
+ # solution_stack_name: "NonEmptyString",
1154
+ # status: "NonEmptyString",
1155
+ # tier: {
1156
+ # name: "NonEmptyString",
1157
+ # type: "NonEmptyString",
1158
+ # version: "NonEmptyString",
1159
+ # },
1160
+ # version_label: "NonEmptyString",
1161
+ # },
1068
1162
  # aws_elasticsearch_domain: {
1069
1163
  # access_policies: "NonEmptyString",
1070
1164
  # domain_endpoint_options: {
@@ -3852,6 +3946,15 @@ module Aws::SecurityHub
3852
3946
  # This method is deprecated. Instead, use
3853
3947
  # `DisassociateFromAdministratorAccount`.
3854
3948
  #
3949
+ # The Security Hub console continues to use
3950
+ # `DisassociateFromMasterAccount`. It will eventually change to use
3951
+ # `DisassociateFromAdministratorAccount`. Any IAM policies that
3952
+ # specifically control access to this function must continue to use
3953
+ # `DisassociateFromMasterAccount`. You should also add
3954
+ # `DisassociateFromAdministratorAccount` to your policies to ensure that
3955
+ # the correct permissions are in place after the console begins to use
3956
+ # `DisassociateFromAdministratorAccount`.
3957
+ #
3855
3958
  # Disassociates the current Security Hub member account from the
3856
3959
  # associated administrator account.
3857
3960
  #
@@ -5041,6 +5144,41 @@ module Aws::SecurityHub
5041
5144
  # resp.findings[0].resources[0].details.aws_ec2_eip.network_interface_id #=> String
5042
5145
  # resp.findings[0].resources[0].details.aws_ec2_eip.network_interface_owner_id #=> String
5043
5146
  # resp.findings[0].resources[0].details.aws_ec2_eip.private_ip_address #=> String
5147
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.assign_ipv_6_address_on_creation #=> Boolean
5148
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.availability_zone #=> String
5149
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.availability_zone_id #=> String
5150
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.available_ip_address_count #=> Integer
5151
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.cidr_block #=> String
5152
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.default_for_az #=> Boolean
5153
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.map_public_ip_on_launch #=> Boolean
5154
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.owner_id #=> String
5155
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.state #=> String
5156
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.subnet_arn #=> String
5157
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.subnet_id #=> String
5158
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.vpc_id #=> String
5159
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.ipv_6_cidr_block_association_set #=> Array
5160
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.ipv_6_cidr_block_association_set[0].association_id #=> String
5161
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
5162
+ # resp.findings[0].resources[0].details.aws_ec2_subnet.ipv_6_cidr_block_association_set[0].cidr_block_state #=> String
5163
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.is_default #=> Boolean
5164
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.network_acl_id #=> String
5165
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.owner_id #=> String
5166
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.vpc_id #=> String
5167
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.associations #=> Array
5168
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.associations[0].network_acl_association_id #=> String
5169
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.associations[0].network_acl_id #=> String
5170
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.associations[0].subnet_id #=> String
5171
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries #=> Array
5172
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].cidr_block #=> String
5173
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].egress #=> Boolean
5174
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].icmp_type_code.code #=> Integer
5175
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].icmp_type_code.type #=> Integer
5176
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].ipv_6_cidr_block #=> String
5177
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].port_range.from #=> Integer
5178
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].port_range.to #=> Integer
5179
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].protocol #=> String
5180
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].rule_action #=> String
5181
+ # resp.findings[0].resources[0].details.aws_ec2_network_acl.entries[0].rule_number #=> Integer
5044
5182
  # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.availability_zones #=> Array
5045
5183
  # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.availability_zones[0].zone_name #=> String
5046
5184
  # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.availability_zones[0].subnet_id #=> String
@@ -5055,6 +5193,30 @@ module Aws::SecurityHub
5055
5193
  # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.state.reason #=> String
5056
5194
  # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.type #=> String
5057
5195
  # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.vpc_id #=> String
5196
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.application_name #=> String
5197
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.cname #=> String
5198
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.date_created #=> String
5199
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.date_updated #=> String
5200
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.description #=> String
5201
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.endpoint_url #=> String
5202
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.environment_arn #=> String
5203
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.environment_id #=> String
5204
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.environment_links #=> Array
5205
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.environment_links[0].environment_name #=> String
5206
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.environment_links[0].link_name #=> String
5207
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.environment_name #=> String
5208
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.option_settings #=> Array
5209
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.option_settings[0].namespace #=> String
5210
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.option_settings[0].option_name #=> String
5211
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.option_settings[0].resource_name #=> String
5212
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.option_settings[0].value #=> String
5213
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.platform_arn #=> String
5214
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.solution_stack_name #=> String
5215
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.status #=> String
5216
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.tier.name #=> String
5217
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.tier.type #=> String
5218
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.tier.version #=> String
5219
+ # resp.findings[0].resources[0].details.aws_elastic_beanstalk_environment.version_label #=> String
5058
5220
  # resp.findings[0].resources[0].details.aws_elasticsearch_domain.access_policies #=> String
5059
5221
  # resp.findings[0].resources[0].details.aws_elasticsearch_domain.domain_endpoint_options.enforce_https #=> Boolean
5060
5222
  # resp.findings[0].resources[0].details.aws_elasticsearch_domain.domain_endpoint_options.tls_security_policy #=> String
@@ -6362,6 +6524,13 @@ module Aws::SecurityHub
6362
6524
 
6363
6525
  # This method is deprecated. Instead, use `GetAdministratorAccount`.
6364
6526
  #
6527
+ # The Security Hub console continues to use `GetMasterAccount`. It will
6528
+ # eventually change to use `GetAdministratorAccount`. Any IAM policies
6529
+ # that specifically control access to this function must continue to use
6530
+ # `GetMasterAccount`. You should also add `GetAdministratorAccount` to
6531
+ # your policies to ensure that the correct permissions are in place
6532
+ # after the console begins to use `GetAdministratorAccount`.
6533
+ #
6365
6534
  # Provides the details for the Security Hub administrator account for
6366
6535
  # the current member account.
6367
6536
  #
@@ -8168,7 +8337,7 @@ module Aws::SecurityHub
8168
8337
  params: params,
8169
8338
  config: config)
8170
8339
  context[:gem_name] = 'aws-sdk-securityhub'
8171
- context[:gem_version] = '1.43.0'
8340
+ context[:gem_version] = '1.45.0'
8172
8341
  Seahorse::Client::Request.new(handlers, context)
8173
8342
  end
8174
8343
 
@@ -104,6 +104,11 @@ module Aws::SecurityHub
104
104
  AwsDynamoDbTableStreamSpecification = Shapes::StructureShape.new(name: 'AwsDynamoDbTableStreamSpecification')
105
105
  AwsEc2EipDetails = Shapes::StructureShape.new(name: 'AwsEc2EipDetails')
106
106
  AwsEc2InstanceDetails = Shapes::StructureShape.new(name: 'AwsEc2InstanceDetails')
107
+ AwsEc2NetworkAclAssociation = Shapes::StructureShape.new(name: 'AwsEc2NetworkAclAssociation')
108
+ AwsEc2NetworkAclAssociationList = Shapes::ListShape.new(name: 'AwsEc2NetworkAclAssociationList')
109
+ AwsEc2NetworkAclDetails = Shapes::StructureShape.new(name: 'AwsEc2NetworkAclDetails')
110
+ AwsEc2NetworkAclEntry = Shapes::StructureShape.new(name: 'AwsEc2NetworkAclEntry')
111
+ AwsEc2NetworkAclEntryList = Shapes::ListShape.new(name: 'AwsEc2NetworkAclEntryList')
107
112
  AwsEc2NetworkInterfaceAttachment = Shapes::StructureShape.new(name: 'AwsEc2NetworkInterfaceAttachment')
108
113
  AwsEc2NetworkInterfaceDetails = Shapes::StructureShape.new(name: 'AwsEc2NetworkInterfaceDetails')
109
114
  AwsEc2NetworkInterfaceIpV6AddressDetail = Shapes::StructureShape.new(name: 'AwsEc2NetworkInterfaceIpV6AddressDetail')
@@ -123,10 +128,17 @@ module Aws::SecurityHub
123
128
  AwsEc2SecurityGroupPrefixListIdList = Shapes::ListShape.new(name: 'AwsEc2SecurityGroupPrefixListIdList')
124
129
  AwsEc2SecurityGroupUserIdGroupPair = Shapes::StructureShape.new(name: 'AwsEc2SecurityGroupUserIdGroupPair')
125
130
  AwsEc2SecurityGroupUserIdGroupPairList = Shapes::ListShape.new(name: 'AwsEc2SecurityGroupUserIdGroupPairList')
131
+ AwsEc2SubnetDetails = Shapes::StructureShape.new(name: 'AwsEc2SubnetDetails')
126
132
  AwsEc2VolumeAttachment = Shapes::StructureShape.new(name: 'AwsEc2VolumeAttachment')
127
133
  AwsEc2VolumeAttachmentList = Shapes::ListShape.new(name: 'AwsEc2VolumeAttachmentList')
128
134
  AwsEc2VolumeDetails = Shapes::StructureShape.new(name: 'AwsEc2VolumeDetails')
129
135
  AwsEc2VpcDetails = Shapes::StructureShape.new(name: 'AwsEc2VpcDetails')
136
+ AwsElasticBeanstalkEnvironmentDetails = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentDetails')
137
+ AwsElasticBeanstalkEnvironmentEnvironmentLink = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentEnvironmentLink')
138
+ AwsElasticBeanstalkEnvironmentEnvironmentLinks = Shapes::ListShape.new(name: 'AwsElasticBeanstalkEnvironmentEnvironmentLinks')
139
+ AwsElasticBeanstalkEnvironmentOptionSetting = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentOptionSetting')
140
+ AwsElasticBeanstalkEnvironmentOptionSettings = Shapes::ListShape.new(name: 'AwsElasticBeanstalkEnvironmentOptionSettings')
141
+ AwsElasticBeanstalkEnvironmentTier = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentTier')
130
142
  AwsElasticsearchDomainDetails = Shapes::StructureShape.new(name: 'AwsElasticsearchDomainDetails')
131
143
  AwsElasticsearchDomainDomainEndpointOptions = Shapes::StructureShape.new(name: 'AwsElasticsearchDomainDomainEndpointOptions')
132
144
  AwsElasticsearchDomainEncryptionAtRestOptions = Shapes::StructureShape.new(name: 'AwsElasticsearchDomainEncryptionAtRestOptions')
@@ -371,6 +383,7 @@ module Aws::SecurityHub
371
383
  GetMasterAccountResponse = Shapes::StructureShape.new(name: 'GetMasterAccountResponse')
372
384
  GetMembersRequest = Shapes::StructureShape.new(name: 'GetMembersRequest')
373
385
  GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
386
+ IcmpTypeCode = Shapes::StructureShape.new(name: 'IcmpTypeCode')
374
387
  ImportFindingsError = Shapes::StructureShape.new(name: 'ImportFindingsError')
375
388
  ImportFindingsErrorList = Shapes::ListShape.new(name: 'ImportFindingsErrorList')
376
389
  Insight = Shapes::StructureShape.new(name: 'Insight')
@@ -441,6 +454,7 @@ module Aws::SecurityHub
441
454
  PortProbeDetail = Shapes::StructureShape.new(name: 'PortProbeDetail')
442
455
  PortProbeDetailList = Shapes::ListShape.new(name: 'PortProbeDetailList')
443
456
  PortRange = Shapes::StructureShape.new(name: 'PortRange')
457
+ PortRangeFromTo = Shapes::StructureShape.new(name: 'PortRangeFromTo')
444
458
  PortRangeList = Shapes::ListShape.new(name: 'PortRangeList')
445
459
  ProcessDetails = Shapes::StructureShape.new(name: 'ProcessDetails')
446
460
  Product = Shapes::StructureShape.new(name: 'Product')
@@ -1019,6 +1033,33 @@ module Aws::SecurityHub
1019
1033
  AwsEc2InstanceDetails.add_member(:launched_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "LaunchedAt"))
1020
1034
  AwsEc2InstanceDetails.struct_class = Types::AwsEc2InstanceDetails
1021
1035
 
1036
+ AwsEc2NetworkAclAssociation.add_member(:network_acl_association_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "NetworkAclAssociationId"))
1037
+ AwsEc2NetworkAclAssociation.add_member(:network_acl_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "NetworkAclId"))
1038
+ AwsEc2NetworkAclAssociation.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetId"))
1039
+ AwsEc2NetworkAclAssociation.struct_class = Types::AwsEc2NetworkAclAssociation
1040
+
1041
+ AwsEc2NetworkAclAssociationList.member = Shapes::ShapeRef.new(shape: AwsEc2NetworkAclAssociation)
1042
+
1043
+ AwsEc2NetworkAclDetails.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
1044
+ AwsEc2NetworkAclDetails.add_member(:network_acl_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "NetworkAclId"))
1045
+ AwsEc2NetworkAclDetails.add_member(:owner_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerId"))
1046
+ AwsEc2NetworkAclDetails.add_member(:vpc_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "VpcId"))
1047
+ AwsEc2NetworkAclDetails.add_member(:associations, Shapes::ShapeRef.new(shape: AwsEc2NetworkAclAssociationList, location_name: "Associations"))
1048
+ AwsEc2NetworkAclDetails.add_member(:entries, Shapes::ShapeRef.new(shape: AwsEc2NetworkAclEntryList, location_name: "Entries"))
1049
+ AwsEc2NetworkAclDetails.struct_class = Types::AwsEc2NetworkAclDetails
1050
+
1051
+ AwsEc2NetworkAclEntry.add_member(:cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlock"))
1052
+ AwsEc2NetworkAclEntry.add_member(:egress, Shapes::ShapeRef.new(shape: Boolean, location_name: "Egress"))
1053
+ AwsEc2NetworkAclEntry.add_member(:icmp_type_code, Shapes::ShapeRef.new(shape: IcmpTypeCode, location_name: "IcmpTypeCode"))
1054
+ AwsEc2NetworkAclEntry.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Ipv6CidrBlock"))
1055
+ AwsEc2NetworkAclEntry.add_member(:port_range, Shapes::ShapeRef.new(shape: PortRangeFromTo, location_name: "PortRange"))
1056
+ AwsEc2NetworkAclEntry.add_member(:protocol, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Protocol"))
1057
+ AwsEc2NetworkAclEntry.add_member(:rule_action, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleAction"))
1058
+ AwsEc2NetworkAclEntry.add_member(:rule_number, Shapes::ShapeRef.new(shape: Integer, location_name: "RuleNumber"))
1059
+ AwsEc2NetworkAclEntry.struct_class = Types::AwsEc2NetworkAclEntry
1060
+
1061
+ AwsEc2NetworkAclEntryList.member = Shapes::ShapeRef.new(shape: AwsEc2NetworkAclEntry)
1062
+
1022
1063
  AwsEc2NetworkInterfaceAttachment.add_member(:attach_time, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AttachTime"))
1023
1064
  AwsEc2NetworkInterfaceAttachment.add_member(:attachment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AttachmentId"))
1024
1065
  AwsEc2NetworkInterfaceAttachment.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
@@ -1099,6 +1140,21 @@ module Aws::SecurityHub
1099
1140
 
1100
1141
  AwsEc2SecurityGroupUserIdGroupPairList.member = Shapes::ShapeRef.new(shape: AwsEc2SecurityGroupUserIdGroupPair)
1101
1142
 
1143
+ AwsEc2SubnetDetails.add_member(:assign_ipv_6_address_on_creation, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssignIpv6AddressOnCreation"))
1144
+ AwsEc2SubnetDetails.add_member(:availability_zone, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AvailabilityZone"))
1145
+ AwsEc2SubnetDetails.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AvailabilityZoneId"))
1146
+ AwsEc2SubnetDetails.add_member(:available_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "AvailableIpAddressCount"))
1147
+ AwsEc2SubnetDetails.add_member(:cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlock"))
1148
+ AwsEc2SubnetDetails.add_member(:default_for_az, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultForAz"))
1149
+ AwsEc2SubnetDetails.add_member(:map_public_ip_on_launch, Shapes::ShapeRef.new(shape: Boolean, location_name: "MapPublicIpOnLaunch"))
1150
+ AwsEc2SubnetDetails.add_member(:owner_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerId"))
1151
+ AwsEc2SubnetDetails.add_member(:state, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "State"))
1152
+ AwsEc2SubnetDetails.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetArn"))
1153
+ AwsEc2SubnetDetails.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetId"))
1154
+ AwsEc2SubnetDetails.add_member(:vpc_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "VpcId"))
1155
+ AwsEc2SubnetDetails.add_member(:ipv_6_cidr_block_association_set, Shapes::ShapeRef.new(shape: Ipv6CidrBlockAssociationList, location_name: "Ipv6CidrBlockAssociationSet"))
1156
+ AwsEc2SubnetDetails.struct_class = Types::AwsEc2SubnetDetails
1157
+
1102
1158
  AwsEc2VolumeAttachment.add_member(:attach_time, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AttachTime"))
1103
1159
  AwsEc2VolumeAttachment.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
1104
1160
  AwsEc2VolumeAttachment.add_member(:instance_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "InstanceId"))
@@ -1122,6 +1178,43 @@ module Aws::SecurityHub
1122
1178
  AwsEc2VpcDetails.add_member(:state, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "State"))
1123
1179
  AwsEc2VpcDetails.struct_class = Types::AwsEc2VpcDetails
1124
1180
 
1181
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:application_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ApplicationName"))
1182
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:cname, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Cname"))
1183
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:date_created, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DateCreated"))
1184
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:date_updated, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DateUpdated"))
1185
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
1186
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:endpoint_url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EndpointUrl"))
1187
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentArn"))
1188
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentId"))
1189
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_links, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentEnvironmentLinks, location_name: "EnvironmentLinks"))
1190
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentName"))
1191
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:option_settings, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentOptionSettings, location_name: "OptionSettings"))
1192
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:platform_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "PlatformArn"))
1193
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:solution_stack_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SolutionStackName"))
1194
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:status, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Status"))
1195
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:tier, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentTier, location_name: "Tier"))
1196
+ AwsElasticBeanstalkEnvironmentDetails.add_member(:version_label, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "VersionLabel"))
1197
+ AwsElasticBeanstalkEnvironmentDetails.struct_class = Types::AwsElasticBeanstalkEnvironmentDetails
1198
+
1199
+ AwsElasticBeanstalkEnvironmentEnvironmentLink.add_member(:environment_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentName"))
1200
+ AwsElasticBeanstalkEnvironmentEnvironmentLink.add_member(:link_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "LinkName"))
1201
+ AwsElasticBeanstalkEnvironmentEnvironmentLink.struct_class = Types::AwsElasticBeanstalkEnvironmentEnvironmentLink
1202
+
1203
+ AwsElasticBeanstalkEnvironmentEnvironmentLinks.member = Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentEnvironmentLink)
1204
+
1205
+ AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:namespace, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Namespace"))
1206
+ AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:option_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OptionName"))
1207
+ AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceName"))
1208
+ AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Value"))
1209
+ AwsElasticBeanstalkEnvironmentOptionSetting.struct_class = Types::AwsElasticBeanstalkEnvironmentOptionSetting
1210
+
1211
+ AwsElasticBeanstalkEnvironmentOptionSettings.member = Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentOptionSetting)
1212
+
1213
+ AwsElasticBeanstalkEnvironmentTier.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
1214
+ AwsElasticBeanstalkEnvironmentTier.add_member(:type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Type"))
1215
+ AwsElasticBeanstalkEnvironmentTier.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Version"))
1216
+ AwsElasticBeanstalkEnvironmentTier.struct_class = Types::AwsElasticBeanstalkEnvironmentTier
1217
+
1125
1218
  AwsElasticsearchDomainDetails.add_member(:access_policies, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccessPolicies"))
1126
1219
  AwsElasticsearchDomainDetails.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: AwsElasticsearchDomainDomainEndpointOptions, location_name: "DomainEndpointOptions"))
1127
1220
  AwsElasticsearchDomainDetails.add_member(:domain_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DomainId"))
@@ -2430,6 +2523,10 @@ module Aws::SecurityHub
2430
2523
  GetMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: ResultList, location_name: "UnprocessedAccounts"))
2431
2524
  GetMembersResponse.struct_class = Types::GetMembersResponse
2432
2525
 
2526
+ IcmpTypeCode.add_member(:code, Shapes::ShapeRef.new(shape: Integer, location_name: "Code"))
2527
+ IcmpTypeCode.add_member(:type, Shapes::ShapeRef.new(shape: Integer, location_name: "Type"))
2528
+ IcmpTypeCode.struct_class = Types::IcmpTypeCode
2529
+
2433
2530
  ImportFindingsError.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
2434
2531
  ImportFindingsError.add_member(:error_code, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ErrorCode"))
2435
2532
  ImportFindingsError.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ErrorMessage"))
@@ -2679,6 +2776,10 @@ module Aws::SecurityHub
2679
2776
  PortRange.add_member(:end, Shapes::ShapeRef.new(shape: Integer, location_name: "End"))
2680
2777
  PortRange.struct_class = Types::PortRange
2681
2778
 
2779
+ PortRangeFromTo.add_member(:from, Shapes::ShapeRef.new(shape: Integer, location_name: "From"))
2780
+ PortRangeFromTo.add_member(:to, Shapes::ShapeRef.new(shape: Integer, location_name: "To"))
2781
+ PortRangeFromTo.struct_class = Types::PortRangeFromTo
2782
+
2682
2783
  PortRangeList.member = Shapes::ShapeRef.new(shape: PortRange)
2683
2784
 
2684
2785
  ProcessDetails.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
@@ -2755,7 +2856,10 @@ module Aws::SecurityHub
2755
2856
  ResourceDetails.add_member(:aws_ec2_volume, Shapes::ShapeRef.new(shape: AwsEc2VolumeDetails, location_name: "AwsEc2Volume"))
2756
2857
  ResourceDetails.add_member(:aws_ec2_vpc, Shapes::ShapeRef.new(shape: AwsEc2VpcDetails, location_name: "AwsEc2Vpc"))
2757
2858
  ResourceDetails.add_member(:aws_ec2_eip, Shapes::ShapeRef.new(shape: AwsEc2EipDetails, location_name: "AwsEc2Eip"))
2859
+ ResourceDetails.add_member(:aws_ec2_subnet, Shapes::ShapeRef.new(shape: AwsEc2SubnetDetails, location_name: "AwsEc2Subnet"))
2860
+ ResourceDetails.add_member(:aws_ec2_network_acl, Shapes::ShapeRef.new(shape: AwsEc2NetworkAclDetails, location_name: "AwsEc2NetworkAcl"))
2758
2861
  ResourceDetails.add_member(:aws_elbv_2_load_balancer, Shapes::ShapeRef.new(shape: AwsElbv2LoadBalancerDetails, location_name: "AwsElbv2LoadBalancer"))
2862
+ ResourceDetails.add_member(:aws_elastic_beanstalk_environment, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentDetails, location_name: "AwsElasticBeanstalkEnvironment"))
2759
2863
  ResourceDetails.add_member(:aws_elasticsearch_domain, Shapes::ShapeRef.new(shape: AwsElasticsearchDomainDetails, location_name: "AwsElasticsearchDomain"))
2760
2864
  ResourceDetails.add_member(:aws_s3_bucket, Shapes::ShapeRef.new(shape: AwsS3BucketDetails, location_name: "AwsS3Bucket"))
2761
2865
  ResourceDetails.add_member(:aws_s3_account_public_access_block, Shapes::ShapeRef.new(shape: AwsS3AccountPublicAccessBlockDetails, location_name: "AwsS3AccountPublicAccessBlock"))
@@ -830,7 +830,7 @@ module Aws::SecurityHub
830
830
  include Aws::Structure
831
831
  end
832
832
 
833
- # contains information about a REST API in version 1 of Amazon API
833
+ # Contains information about a REST API in version 1 of Amazon API
834
834
  # Gateway.
835
835
  #
836
836
  # @note When making an API call, you may pass AwsApiGatewayRestApiDetails
@@ -3849,6 +3849,189 @@ module Aws::SecurityHub
3849
3849
  include Aws::Structure
3850
3850
  end
3851
3851
 
3852
+ # An association between the network ACL and a subnet.
3853
+ #
3854
+ # @note When making an API call, you may pass AwsEc2NetworkAclAssociation
3855
+ # data as a hash:
3856
+ #
3857
+ # {
3858
+ # network_acl_association_id: "NonEmptyString",
3859
+ # network_acl_id: "NonEmptyString",
3860
+ # subnet_id: "NonEmptyString",
3861
+ # }
3862
+ #
3863
+ # @!attribute [rw] network_acl_association_id
3864
+ # The identifier of the association between the network ACL and the
3865
+ # subnet.
3866
+ # @return [String]
3867
+ #
3868
+ # @!attribute [rw] network_acl_id
3869
+ # The identifier of the network ACL.
3870
+ # @return [String]
3871
+ #
3872
+ # @!attribute [rw] subnet_id
3873
+ # The identifier of the subnet that is associated with the network
3874
+ # ACL.
3875
+ # @return [String]
3876
+ #
3877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEc2NetworkAclAssociation AWS API Documentation
3878
+ #
3879
+ class AwsEc2NetworkAclAssociation < Struct.new(
3880
+ :network_acl_association_id,
3881
+ :network_acl_id,
3882
+ :subnet_id)
3883
+ SENSITIVE = []
3884
+ include Aws::Structure
3885
+ end
3886
+
3887
+ # Contains details about an EC2 network access control list (ACL).
3888
+ #
3889
+ # @note When making an API call, you may pass AwsEc2NetworkAclDetails
3890
+ # data as a hash:
3891
+ #
3892
+ # {
3893
+ # is_default: false,
3894
+ # network_acl_id: "NonEmptyString",
3895
+ # owner_id: "NonEmptyString",
3896
+ # vpc_id: "NonEmptyString",
3897
+ # associations: [
3898
+ # {
3899
+ # network_acl_association_id: "NonEmptyString",
3900
+ # network_acl_id: "NonEmptyString",
3901
+ # subnet_id: "NonEmptyString",
3902
+ # },
3903
+ # ],
3904
+ # entries: [
3905
+ # {
3906
+ # cidr_block: "NonEmptyString",
3907
+ # egress: false,
3908
+ # icmp_type_code: {
3909
+ # code: 1,
3910
+ # type: 1,
3911
+ # },
3912
+ # ipv_6_cidr_block: "NonEmptyString",
3913
+ # port_range: {
3914
+ # from: 1,
3915
+ # to: 1,
3916
+ # },
3917
+ # protocol: "NonEmptyString",
3918
+ # rule_action: "NonEmptyString",
3919
+ # rule_number: 1,
3920
+ # },
3921
+ # ],
3922
+ # }
3923
+ #
3924
+ # @!attribute [rw] is_default
3925
+ # Whether this is the default network ACL for the VPC.
3926
+ # @return [Boolean]
3927
+ #
3928
+ # @!attribute [rw] network_acl_id
3929
+ # The identifier of the network ACL.
3930
+ # @return [String]
3931
+ #
3932
+ # @!attribute [rw] owner_id
3933
+ # The identifier of the AWS account that owns the network ACL.
3934
+ # @return [String]
3935
+ #
3936
+ # @!attribute [rw] vpc_id
3937
+ # The identifier of the VPC for the network ACL.
3938
+ # @return [String]
3939
+ #
3940
+ # @!attribute [rw] associations
3941
+ # Associations between the network ACL and subnets.
3942
+ # @return [Array<Types::AwsEc2NetworkAclAssociation>]
3943
+ #
3944
+ # @!attribute [rw] entries
3945
+ # The set of rules in the network ACL.
3946
+ # @return [Array<Types::AwsEc2NetworkAclEntry>]
3947
+ #
3948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEc2NetworkAclDetails AWS API Documentation
3949
+ #
3950
+ class AwsEc2NetworkAclDetails < Struct.new(
3951
+ :is_default,
3952
+ :network_acl_id,
3953
+ :owner_id,
3954
+ :vpc_id,
3955
+ :associations,
3956
+ :entries)
3957
+ SENSITIVE = []
3958
+ include Aws::Structure
3959
+ end
3960
+
3961
+ # A rule for the network ACL. Each rule allows or denies access based on
3962
+ # the IP address, traffic direction, port, and protocol.
3963
+ #
3964
+ # @note When making an API call, you may pass AwsEc2NetworkAclEntry
3965
+ # data as a hash:
3966
+ #
3967
+ # {
3968
+ # cidr_block: "NonEmptyString",
3969
+ # egress: false,
3970
+ # icmp_type_code: {
3971
+ # code: 1,
3972
+ # type: 1,
3973
+ # },
3974
+ # ipv_6_cidr_block: "NonEmptyString",
3975
+ # port_range: {
3976
+ # from: 1,
3977
+ # to: 1,
3978
+ # },
3979
+ # protocol: "NonEmptyString",
3980
+ # rule_action: "NonEmptyString",
3981
+ # rule_number: 1,
3982
+ # }
3983
+ #
3984
+ # @!attribute [rw] cidr_block
3985
+ # The IPV4 network range for which to deny or allow access.
3986
+ # @return [String]
3987
+ #
3988
+ # @!attribute [rw] egress
3989
+ # Whether the rule is an egress rule. An egress rule is a rule that
3990
+ # applies to traffic that leaves the subnet.
3991
+ # @return [Boolean]
3992
+ #
3993
+ # @!attribute [rw] icmp_type_code
3994
+ # The Internet Control Message Protocol (ICMP) type and code for which
3995
+ # to deny or allow access.
3996
+ # @return [Types::IcmpTypeCode]
3997
+ #
3998
+ # @!attribute [rw] ipv_6_cidr_block
3999
+ # The IPV6 network range for which to deny or allow access.
4000
+ # @return [String]
4001
+ #
4002
+ # @!attribute [rw] port_range
4003
+ # For TCP or UDP protocols, the range of ports that the rule applies
4004
+ # to.
4005
+ # @return [Types::PortRangeFromTo]
4006
+ #
4007
+ # @!attribute [rw] protocol
4008
+ # The protocol that the rule applies to. To deny or allow access to
4009
+ # all protocols, use the value -1.
4010
+ # @return [String]
4011
+ #
4012
+ # @!attribute [rw] rule_action
4013
+ # Whether the rule is used to allow access or deny access.
4014
+ # @return [String]
4015
+ #
4016
+ # @!attribute [rw] rule_number
4017
+ # The rule number. The rules are processed in order by their number.
4018
+ # @return [Integer]
4019
+ #
4020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEc2NetworkAclEntry AWS API Documentation
4021
+ #
4022
+ class AwsEc2NetworkAclEntry < Struct.new(
4023
+ :cidr_block,
4024
+ :egress,
4025
+ :icmp_type_code,
4026
+ :ipv_6_cidr_block,
4027
+ :port_range,
4028
+ :protocol,
4029
+ :rule_action,
4030
+ :rule_number)
4031
+ SENSITIVE = []
4032
+ include Aws::Structure
4033
+ end
4034
+
3852
4035
  # Information about the network interface attachment.
3853
4036
  #
3854
4037
  # @note When making an API call, you may pass AwsEc2NetworkInterfaceAttachment
@@ -4418,6 +4601,107 @@ module Aws::SecurityHub
4418
4601
  include Aws::Structure
4419
4602
  end
4420
4603
 
4604
+ # Contains information about a subnet in EC2.
4605
+ #
4606
+ # @note When making an API call, you may pass AwsEc2SubnetDetails
4607
+ # data as a hash:
4608
+ #
4609
+ # {
4610
+ # assign_ipv_6_address_on_creation: false,
4611
+ # availability_zone: "NonEmptyString",
4612
+ # availability_zone_id: "NonEmptyString",
4613
+ # available_ip_address_count: 1,
4614
+ # cidr_block: "NonEmptyString",
4615
+ # default_for_az: false,
4616
+ # map_public_ip_on_launch: false,
4617
+ # owner_id: "NonEmptyString",
4618
+ # state: "NonEmptyString",
4619
+ # subnet_arn: "NonEmptyString",
4620
+ # subnet_id: "NonEmptyString",
4621
+ # vpc_id: "NonEmptyString",
4622
+ # ipv_6_cidr_block_association_set: [
4623
+ # {
4624
+ # association_id: "NonEmptyString",
4625
+ # ipv_6_cidr_block: "NonEmptyString",
4626
+ # cidr_block_state: "NonEmptyString",
4627
+ # },
4628
+ # ],
4629
+ # }
4630
+ #
4631
+ # @!attribute [rw] assign_ipv_6_address_on_creation
4632
+ # Whether to assign an IPV6 address to a network interface that is
4633
+ # created in this subnet.
4634
+ # @return [Boolean]
4635
+ #
4636
+ # @!attribute [rw] availability_zone
4637
+ # The Availability Zone for the subnet.
4638
+ # @return [String]
4639
+ #
4640
+ # @!attribute [rw] availability_zone_id
4641
+ # The identifier of the Availability Zone for the subnet.
4642
+ # @return [String]
4643
+ #
4644
+ # @!attribute [rw] available_ip_address_count
4645
+ # The number of available IPV4 addresses in the subnet. Does not
4646
+ # include addresses for stopped instances.
4647
+ # @return [Integer]
4648
+ #
4649
+ # @!attribute [rw] cidr_block
4650
+ # The IPV4 CIDR block that is assigned to the subnet.
4651
+ # @return [String]
4652
+ #
4653
+ # @!attribute [rw] default_for_az
4654
+ # Whether this subnet is the default subnet for the Availability Zone.
4655
+ # @return [Boolean]
4656
+ #
4657
+ # @!attribute [rw] map_public_ip_on_launch
4658
+ # Whether instances in this subnet receive a public IP address.
4659
+ # @return [Boolean]
4660
+ #
4661
+ # @!attribute [rw] owner_id
4662
+ # The identifier of the AWS account that owns the subnet.
4663
+ # @return [String]
4664
+ #
4665
+ # @!attribute [rw] state
4666
+ # The current state of the subnet.
4667
+ # @return [String]
4668
+ #
4669
+ # @!attribute [rw] subnet_arn
4670
+ # The ARN of the subnet.
4671
+ # @return [String]
4672
+ #
4673
+ # @!attribute [rw] subnet_id
4674
+ # The identifier of the subnet.
4675
+ # @return [String]
4676
+ #
4677
+ # @!attribute [rw] vpc_id
4678
+ # The identifier of the VPC that contains the subnet.
4679
+ # @return [String]
4680
+ #
4681
+ # @!attribute [rw] ipv_6_cidr_block_association_set
4682
+ # The IPV6 CIDR blocks that are associated with the subnet.
4683
+ # @return [Array<Types::Ipv6CidrBlockAssociation>]
4684
+ #
4685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEc2SubnetDetails AWS API Documentation
4686
+ #
4687
+ class AwsEc2SubnetDetails < Struct.new(
4688
+ :assign_ipv_6_address_on_creation,
4689
+ :availability_zone,
4690
+ :availability_zone_id,
4691
+ :available_ip_address_count,
4692
+ :cidr_block,
4693
+ :default_for_az,
4694
+ :map_public_ip_on_launch,
4695
+ :owner_id,
4696
+ :state,
4697
+ :subnet_arn,
4698
+ :subnet_id,
4699
+ :vpc_id,
4700
+ :ipv_6_cidr_block_association_set)
4701
+ SENSITIVE = []
4702
+ include Aws::Structure
4703
+ end
4704
+
4421
4705
  # An attachment to an AWS EC2 volume.
4422
4706
  #
4423
4707
  # @note When making an API call, you may pass AwsEc2VolumeAttachment
@@ -4585,6 +4869,237 @@ module Aws::SecurityHub
4585
4869
  include Aws::Structure
4586
4870
  end
4587
4871
 
4872
+ # Contains details about an Elastic Beanstalk environment.
4873
+ #
4874
+ # @note When making an API call, you may pass AwsElasticBeanstalkEnvironmentDetails
4875
+ # data as a hash:
4876
+ #
4877
+ # {
4878
+ # application_name: "NonEmptyString",
4879
+ # cname: "NonEmptyString",
4880
+ # date_created: "NonEmptyString",
4881
+ # date_updated: "NonEmptyString",
4882
+ # description: "NonEmptyString",
4883
+ # endpoint_url: "NonEmptyString",
4884
+ # environment_arn: "NonEmptyString",
4885
+ # environment_id: "NonEmptyString",
4886
+ # environment_links: [
4887
+ # {
4888
+ # environment_name: "NonEmptyString",
4889
+ # link_name: "NonEmptyString",
4890
+ # },
4891
+ # ],
4892
+ # environment_name: "NonEmptyString",
4893
+ # option_settings: [
4894
+ # {
4895
+ # namespace: "NonEmptyString",
4896
+ # option_name: "NonEmptyString",
4897
+ # resource_name: "NonEmptyString",
4898
+ # value: "NonEmptyString",
4899
+ # },
4900
+ # ],
4901
+ # platform_arn: "NonEmptyString",
4902
+ # solution_stack_name: "NonEmptyString",
4903
+ # status: "NonEmptyString",
4904
+ # tier: {
4905
+ # name: "NonEmptyString",
4906
+ # type: "NonEmptyString",
4907
+ # version: "NonEmptyString",
4908
+ # },
4909
+ # version_label: "NonEmptyString",
4910
+ # }
4911
+ #
4912
+ # @!attribute [rw] application_name
4913
+ # The name of the application that is associated with the environment.
4914
+ # @return [String]
4915
+ #
4916
+ # @!attribute [rw] cname
4917
+ # The URL to the CNAME for this environment.
4918
+ # @return [String]
4919
+ #
4920
+ # @!attribute [rw] date_created
4921
+ # The creation date for this environment.
4922
+ # @return [String]
4923
+ #
4924
+ # @!attribute [rw] date_updated
4925
+ # The date when this environment was last modified.
4926
+ # @return [String]
4927
+ #
4928
+ # @!attribute [rw] description
4929
+ # A description of the environment.
4930
+ # @return [String]
4931
+ #
4932
+ # @!attribute [rw] endpoint_url
4933
+ # For load-balanced, autoscaling environments, the URL to the load
4934
+ # balancer. For single-instance environments, the IP address of the
4935
+ # instance.
4936
+ # @return [String]
4937
+ #
4938
+ # @!attribute [rw] environment_arn
4939
+ # The ARN of the environment.
4940
+ # @return [String]
4941
+ #
4942
+ # @!attribute [rw] environment_id
4943
+ # The identifier of the environment.
4944
+ # @return [String]
4945
+ #
4946
+ # @!attribute [rw] environment_links
4947
+ # Links to other environments in the same group.
4948
+ # @return [Array<Types::AwsElasticBeanstalkEnvironmentEnvironmentLink>]
4949
+ #
4950
+ # @!attribute [rw] environment_name
4951
+ # The name of the environment.
4952
+ # @return [String]
4953
+ #
4954
+ # @!attribute [rw] option_settings
4955
+ # The configuration setting for the environment.
4956
+ # @return [Array<Types::AwsElasticBeanstalkEnvironmentOptionSetting>]
4957
+ #
4958
+ # @!attribute [rw] platform_arn
4959
+ # The ARN of the platform version for the environment.
4960
+ # @return [String]
4961
+ #
4962
+ # @!attribute [rw] solution_stack_name
4963
+ # The name of the solution stack that is deployed with the
4964
+ # environment.
4965
+ # @return [String]
4966
+ #
4967
+ # @!attribute [rw] status
4968
+ # The current operational status of the environment.
4969
+ # @return [String]
4970
+ #
4971
+ # @!attribute [rw] tier
4972
+ # The tier of the environment.
4973
+ # @return [Types::AwsElasticBeanstalkEnvironmentTier]
4974
+ #
4975
+ # @!attribute [rw] version_label
4976
+ # The application version of the environment.
4977
+ # @return [String]
4978
+ #
4979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsElasticBeanstalkEnvironmentDetails AWS API Documentation
4980
+ #
4981
+ class AwsElasticBeanstalkEnvironmentDetails < Struct.new(
4982
+ :application_name,
4983
+ :cname,
4984
+ :date_created,
4985
+ :date_updated,
4986
+ :description,
4987
+ :endpoint_url,
4988
+ :environment_arn,
4989
+ :environment_id,
4990
+ :environment_links,
4991
+ :environment_name,
4992
+ :option_settings,
4993
+ :platform_arn,
4994
+ :solution_stack_name,
4995
+ :status,
4996
+ :tier,
4997
+ :version_label)
4998
+ SENSITIVE = []
4999
+ include Aws::Structure
5000
+ end
5001
+
5002
+ # Contains information about a link to another environment that is in
5003
+ # the same group.
5004
+ #
5005
+ # @note When making an API call, you may pass AwsElasticBeanstalkEnvironmentEnvironmentLink
5006
+ # data as a hash:
5007
+ #
5008
+ # {
5009
+ # environment_name: "NonEmptyString",
5010
+ # link_name: "NonEmptyString",
5011
+ # }
5012
+ #
5013
+ # @!attribute [rw] environment_name
5014
+ # The name of the linked environment.
5015
+ # @return [String]
5016
+ #
5017
+ # @!attribute [rw] link_name
5018
+ # The name of the environment link.
5019
+ # @return [String]
5020
+ #
5021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsElasticBeanstalkEnvironmentEnvironmentLink AWS API Documentation
5022
+ #
5023
+ class AwsElasticBeanstalkEnvironmentEnvironmentLink < Struct.new(
5024
+ :environment_name,
5025
+ :link_name)
5026
+ SENSITIVE = []
5027
+ include Aws::Structure
5028
+ end
5029
+
5030
+ # A configuration option setting for the environment.
5031
+ #
5032
+ # @note When making an API call, you may pass AwsElasticBeanstalkEnvironmentOptionSetting
5033
+ # data as a hash:
5034
+ #
5035
+ # {
5036
+ # namespace: "NonEmptyString",
5037
+ # option_name: "NonEmptyString",
5038
+ # resource_name: "NonEmptyString",
5039
+ # value: "NonEmptyString",
5040
+ # }
5041
+ #
5042
+ # @!attribute [rw] namespace
5043
+ # The type of resource that the configuration option is associated
5044
+ # with.
5045
+ # @return [String]
5046
+ #
5047
+ # @!attribute [rw] option_name
5048
+ # The name of the option.
5049
+ # @return [String]
5050
+ #
5051
+ # @!attribute [rw] resource_name
5052
+ # The name of the resource.
5053
+ # @return [String]
5054
+ #
5055
+ # @!attribute [rw] value
5056
+ # The value of the configuration setting.
5057
+ # @return [String]
5058
+ #
5059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsElasticBeanstalkEnvironmentOptionSetting AWS API Documentation
5060
+ #
5061
+ class AwsElasticBeanstalkEnvironmentOptionSetting < Struct.new(
5062
+ :namespace,
5063
+ :option_name,
5064
+ :resource_name,
5065
+ :value)
5066
+ SENSITIVE = []
5067
+ include Aws::Structure
5068
+ end
5069
+
5070
+ # Contains information about the tier of the environment.
5071
+ #
5072
+ # @note When making an API call, you may pass AwsElasticBeanstalkEnvironmentTier
5073
+ # data as a hash:
5074
+ #
5075
+ # {
5076
+ # name: "NonEmptyString",
5077
+ # type: "NonEmptyString",
5078
+ # version: "NonEmptyString",
5079
+ # }
5080
+ #
5081
+ # @!attribute [rw] name
5082
+ # The name of the environment tier.
5083
+ # @return [String]
5084
+ #
5085
+ # @!attribute [rw] type
5086
+ # The type of environment tier.
5087
+ # @return [String]
5088
+ #
5089
+ # @!attribute [rw] version
5090
+ # The version of the environment tier.
5091
+ # @return [String]
5092
+ #
5093
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsElasticBeanstalkEnvironmentTier AWS API Documentation
5094
+ #
5095
+ class AwsElasticBeanstalkEnvironmentTier < Struct.new(
5096
+ :name,
5097
+ :type,
5098
+ :version)
5099
+ SENSITIVE = []
5100
+ include Aws::Structure
5101
+ end
5102
+
4588
5103
  # Information about an Elasticsearch domain.
4589
5104
  #
4590
5105
  # @note When making an API call, you may pass AwsElasticsearchDomainDetails
@@ -10659,6 +11174,58 @@ module Aws::SecurityHub
10659
11174
  # network_interface_owner_id: "NonEmptyString",
10660
11175
  # private_ip_address: "NonEmptyString",
10661
11176
  # },
11177
+ # aws_ec2_subnet: {
11178
+ # assign_ipv_6_address_on_creation: false,
11179
+ # availability_zone: "NonEmptyString",
11180
+ # availability_zone_id: "NonEmptyString",
11181
+ # available_ip_address_count: 1,
11182
+ # cidr_block: "NonEmptyString",
11183
+ # default_for_az: false,
11184
+ # map_public_ip_on_launch: false,
11185
+ # owner_id: "NonEmptyString",
11186
+ # state: "NonEmptyString",
11187
+ # subnet_arn: "NonEmptyString",
11188
+ # subnet_id: "NonEmptyString",
11189
+ # vpc_id: "NonEmptyString",
11190
+ # ipv_6_cidr_block_association_set: [
11191
+ # {
11192
+ # association_id: "NonEmptyString",
11193
+ # ipv_6_cidr_block: "NonEmptyString",
11194
+ # cidr_block_state: "NonEmptyString",
11195
+ # },
11196
+ # ],
11197
+ # },
11198
+ # aws_ec2_network_acl: {
11199
+ # is_default: false,
11200
+ # network_acl_id: "NonEmptyString",
11201
+ # owner_id: "NonEmptyString",
11202
+ # vpc_id: "NonEmptyString",
11203
+ # associations: [
11204
+ # {
11205
+ # network_acl_association_id: "NonEmptyString",
11206
+ # network_acl_id: "NonEmptyString",
11207
+ # subnet_id: "NonEmptyString",
11208
+ # },
11209
+ # ],
11210
+ # entries: [
11211
+ # {
11212
+ # cidr_block: "NonEmptyString",
11213
+ # egress: false,
11214
+ # icmp_type_code: {
11215
+ # code: 1,
11216
+ # type: 1,
11217
+ # },
11218
+ # ipv_6_cidr_block: "NonEmptyString",
11219
+ # port_range: {
11220
+ # from: 1,
11221
+ # to: 1,
11222
+ # },
11223
+ # protocol: "NonEmptyString",
11224
+ # rule_action: "NonEmptyString",
11225
+ # rule_number: 1,
11226
+ # },
11227
+ # ],
11228
+ # },
10662
11229
  # aws_elbv_2_load_balancer: {
10663
11230
  # availability_zones: [
10664
11231
  # {
@@ -10679,6 +11246,40 @@ module Aws::SecurityHub
10679
11246
  # type: "NonEmptyString",
10680
11247
  # vpc_id: "NonEmptyString",
10681
11248
  # },
11249
+ # aws_elastic_beanstalk_environment: {
11250
+ # application_name: "NonEmptyString",
11251
+ # cname: "NonEmptyString",
11252
+ # date_created: "NonEmptyString",
11253
+ # date_updated: "NonEmptyString",
11254
+ # description: "NonEmptyString",
11255
+ # endpoint_url: "NonEmptyString",
11256
+ # environment_arn: "NonEmptyString",
11257
+ # environment_id: "NonEmptyString",
11258
+ # environment_links: [
11259
+ # {
11260
+ # environment_name: "NonEmptyString",
11261
+ # link_name: "NonEmptyString",
11262
+ # },
11263
+ # ],
11264
+ # environment_name: "NonEmptyString",
11265
+ # option_settings: [
11266
+ # {
11267
+ # namespace: "NonEmptyString",
11268
+ # option_name: "NonEmptyString",
11269
+ # resource_name: "NonEmptyString",
11270
+ # value: "NonEmptyString",
11271
+ # },
11272
+ # ],
11273
+ # platform_arn: "NonEmptyString",
11274
+ # solution_stack_name: "NonEmptyString",
11275
+ # status: "NonEmptyString",
11276
+ # tier: {
11277
+ # name: "NonEmptyString",
11278
+ # type: "NonEmptyString",
11279
+ # version: "NonEmptyString",
11280
+ # },
11281
+ # version_label: "NonEmptyString",
11282
+ # },
10682
11283
  # aws_elasticsearch_domain: {
10683
11284
  # access_policies: "NonEmptyString",
10684
11285
  # domain_endpoint_options: {
@@ -14499,6 +15100,58 @@ module Aws::SecurityHub
14499
15100
  # network_interface_owner_id: "NonEmptyString",
14500
15101
  # private_ip_address: "NonEmptyString",
14501
15102
  # },
15103
+ # aws_ec2_subnet: {
15104
+ # assign_ipv_6_address_on_creation: false,
15105
+ # availability_zone: "NonEmptyString",
15106
+ # availability_zone_id: "NonEmptyString",
15107
+ # available_ip_address_count: 1,
15108
+ # cidr_block: "NonEmptyString",
15109
+ # default_for_az: false,
15110
+ # map_public_ip_on_launch: false,
15111
+ # owner_id: "NonEmptyString",
15112
+ # state: "NonEmptyString",
15113
+ # subnet_arn: "NonEmptyString",
15114
+ # subnet_id: "NonEmptyString",
15115
+ # vpc_id: "NonEmptyString",
15116
+ # ipv_6_cidr_block_association_set: [
15117
+ # {
15118
+ # association_id: "NonEmptyString",
15119
+ # ipv_6_cidr_block: "NonEmptyString",
15120
+ # cidr_block_state: "NonEmptyString",
15121
+ # },
15122
+ # ],
15123
+ # },
15124
+ # aws_ec2_network_acl: {
15125
+ # is_default: false,
15126
+ # network_acl_id: "NonEmptyString",
15127
+ # owner_id: "NonEmptyString",
15128
+ # vpc_id: "NonEmptyString",
15129
+ # associations: [
15130
+ # {
15131
+ # network_acl_association_id: "NonEmptyString",
15132
+ # network_acl_id: "NonEmptyString",
15133
+ # subnet_id: "NonEmptyString",
15134
+ # },
15135
+ # ],
15136
+ # entries: [
15137
+ # {
15138
+ # cidr_block: "NonEmptyString",
15139
+ # egress: false,
15140
+ # icmp_type_code: {
15141
+ # code: 1,
15142
+ # type: 1,
15143
+ # },
15144
+ # ipv_6_cidr_block: "NonEmptyString",
15145
+ # port_range: {
15146
+ # from: 1,
15147
+ # to: 1,
15148
+ # },
15149
+ # protocol: "NonEmptyString",
15150
+ # rule_action: "NonEmptyString",
15151
+ # rule_number: 1,
15152
+ # },
15153
+ # ],
15154
+ # },
14502
15155
  # aws_elbv_2_load_balancer: {
14503
15156
  # availability_zones: [
14504
15157
  # {
@@ -14519,6 +15172,40 @@ module Aws::SecurityHub
14519
15172
  # type: "NonEmptyString",
14520
15173
  # vpc_id: "NonEmptyString",
14521
15174
  # },
15175
+ # aws_elastic_beanstalk_environment: {
15176
+ # application_name: "NonEmptyString",
15177
+ # cname: "NonEmptyString",
15178
+ # date_created: "NonEmptyString",
15179
+ # date_updated: "NonEmptyString",
15180
+ # description: "NonEmptyString",
15181
+ # endpoint_url: "NonEmptyString",
15182
+ # environment_arn: "NonEmptyString",
15183
+ # environment_id: "NonEmptyString",
15184
+ # environment_links: [
15185
+ # {
15186
+ # environment_name: "NonEmptyString",
15187
+ # link_name: "NonEmptyString",
15188
+ # },
15189
+ # ],
15190
+ # environment_name: "NonEmptyString",
15191
+ # option_settings: [
15192
+ # {
15193
+ # namespace: "NonEmptyString",
15194
+ # option_name: "NonEmptyString",
15195
+ # resource_name: "NonEmptyString",
15196
+ # value: "NonEmptyString",
15197
+ # },
15198
+ # ],
15199
+ # platform_arn: "NonEmptyString",
15200
+ # solution_stack_name: "NonEmptyString",
15201
+ # status: "NonEmptyString",
15202
+ # tier: {
15203
+ # name: "NonEmptyString",
15204
+ # type: "NonEmptyString",
15205
+ # version: "NonEmptyString",
15206
+ # },
15207
+ # version_label: "NonEmptyString",
15208
+ # },
14522
15209
  # aws_elasticsearch_domain: {
14523
15210
  # access_policies: "NonEmptyString",
14524
15211
  # domain_endpoint_options: {
@@ -19317,6 +20004,35 @@ module Aws::SecurityHub
19317
20004
  include Aws::Structure
19318
20005
  end
19319
20006
 
20007
+ # An Internet Control Message Protocol (ICMP) type and code.
20008
+ #
20009
+ # @note When making an API call, you may pass IcmpTypeCode
20010
+ # data as a hash:
20011
+ #
20012
+ # {
20013
+ # code: 1,
20014
+ # type: 1,
20015
+ # }
20016
+ #
20017
+ # @!attribute [rw] code
20018
+ # The ICMP code for which to deny or allow access. To deny or allow
20019
+ # all codes, use the value -1.
20020
+ # @return [Integer]
20021
+ #
20022
+ # @!attribute [rw] type
20023
+ # The ICMP type for which to deny or allow access. To deny or allow
20024
+ # all types, use the value -1.
20025
+ # @return [Integer]
20026
+ #
20027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/IcmpTypeCode AWS API Documentation
20028
+ #
20029
+ class IcmpTypeCode < Struct.new(
20030
+ :code,
20031
+ :type)
20032
+ SENSITIVE = []
20033
+ include Aws::Structure
20034
+ end
20035
+
19320
20036
  # The list of the findings that cannot be imported. For each finding,
19321
20037
  # the list provides the error.
19322
20038
  #
@@ -20948,6 +21664,33 @@ module Aws::SecurityHub
20948
21664
  include Aws::Structure
20949
21665
  end
20950
21666
 
21667
+ # A range of ports.
21668
+ #
21669
+ # @note When making an API call, you may pass PortRangeFromTo
21670
+ # data as a hash:
21671
+ #
21672
+ # {
21673
+ # from: 1,
21674
+ # to: 1,
21675
+ # }
21676
+ #
21677
+ # @!attribute [rw] from
21678
+ # The first port in the port range.
21679
+ # @return [Integer]
21680
+ #
21681
+ # @!attribute [rw] to
21682
+ # The last port in the port range.
21683
+ # @return [Integer]
21684
+ #
21685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/PortRangeFromTo AWS API Documentation
21686
+ #
21687
+ class PortRangeFromTo < Struct.new(
21688
+ :from,
21689
+ :to)
21690
+ SENSITIVE = []
21691
+ include Aws::Structure
21692
+ end
21693
+
20951
21694
  # The details of process-related information about a finding.
20952
21695
  #
20953
21696
  # @note When making an API call, you may pass ProcessDetails
@@ -21616,6 +22359,58 @@ module Aws::SecurityHub
21616
22359
  # network_interface_owner_id: "NonEmptyString",
21617
22360
  # private_ip_address: "NonEmptyString",
21618
22361
  # },
22362
+ # aws_ec2_subnet: {
22363
+ # assign_ipv_6_address_on_creation: false,
22364
+ # availability_zone: "NonEmptyString",
22365
+ # availability_zone_id: "NonEmptyString",
22366
+ # available_ip_address_count: 1,
22367
+ # cidr_block: "NonEmptyString",
22368
+ # default_for_az: false,
22369
+ # map_public_ip_on_launch: false,
22370
+ # owner_id: "NonEmptyString",
22371
+ # state: "NonEmptyString",
22372
+ # subnet_arn: "NonEmptyString",
22373
+ # subnet_id: "NonEmptyString",
22374
+ # vpc_id: "NonEmptyString",
22375
+ # ipv_6_cidr_block_association_set: [
22376
+ # {
22377
+ # association_id: "NonEmptyString",
22378
+ # ipv_6_cidr_block: "NonEmptyString",
22379
+ # cidr_block_state: "NonEmptyString",
22380
+ # },
22381
+ # ],
22382
+ # },
22383
+ # aws_ec2_network_acl: {
22384
+ # is_default: false,
22385
+ # network_acl_id: "NonEmptyString",
22386
+ # owner_id: "NonEmptyString",
22387
+ # vpc_id: "NonEmptyString",
22388
+ # associations: [
22389
+ # {
22390
+ # network_acl_association_id: "NonEmptyString",
22391
+ # network_acl_id: "NonEmptyString",
22392
+ # subnet_id: "NonEmptyString",
22393
+ # },
22394
+ # ],
22395
+ # entries: [
22396
+ # {
22397
+ # cidr_block: "NonEmptyString",
22398
+ # egress: false,
22399
+ # icmp_type_code: {
22400
+ # code: 1,
22401
+ # type: 1,
22402
+ # },
22403
+ # ipv_6_cidr_block: "NonEmptyString",
22404
+ # port_range: {
22405
+ # from: 1,
22406
+ # to: 1,
22407
+ # },
22408
+ # protocol: "NonEmptyString",
22409
+ # rule_action: "NonEmptyString",
22410
+ # rule_number: 1,
22411
+ # },
22412
+ # ],
22413
+ # },
21619
22414
  # aws_elbv_2_load_balancer: {
21620
22415
  # availability_zones: [
21621
22416
  # {
@@ -21636,6 +22431,40 @@ module Aws::SecurityHub
21636
22431
  # type: "NonEmptyString",
21637
22432
  # vpc_id: "NonEmptyString",
21638
22433
  # },
22434
+ # aws_elastic_beanstalk_environment: {
22435
+ # application_name: "NonEmptyString",
22436
+ # cname: "NonEmptyString",
22437
+ # date_created: "NonEmptyString",
22438
+ # date_updated: "NonEmptyString",
22439
+ # description: "NonEmptyString",
22440
+ # endpoint_url: "NonEmptyString",
22441
+ # environment_arn: "NonEmptyString",
22442
+ # environment_id: "NonEmptyString",
22443
+ # environment_links: [
22444
+ # {
22445
+ # environment_name: "NonEmptyString",
22446
+ # link_name: "NonEmptyString",
22447
+ # },
22448
+ # ],
22449
+ # environment_name: "NonEmptyString",
22450
+ # option_settings: [
22451
+ # {
22452
+ # namespace: "NonEmptyString",
22453
+ # option_name: "NonEmptyString",
22454
+ # resource_name: "NonEmptyString",
22455
+ # value: "NonEmptyString",
22456
+ # },
22457
+ # ],
22458
+ # platform_arn: "NonEmptyString",
22459
+ # solution_stack_name: "NonEmptyString",
22460
+ # status: "NonEmptyString",
22461
+ # tier: {
22462
+ # name: "NonEmptyString",
22463
+ # type: "NonEmptyString",
22464
+ # version: "NonEmptyString",
22465
+ # },
22466
+ # version_label: "NonEmptyString",
22467
+ # },
21639
22468
  # aws_elasticsearch_domain: {
21640
22469
  # access_policies: "NonEmptyString",
21641
22470
  # domain_endpoint_options: {
@@ -23072,6 +23901,58 @@ module Aws::SecurityHub
23072
23901
  # network_interface_owner_id: "NonEmptyString",
23073
23902
  # private_ip_address: "NonEmptyString",
23074
23903
  # },
23904
+ # aws_ec2_subnet: {
23905
+ # assign_ipv_6_address_on_creation: false,
23906
+ # availability_zone: "NonEmptyString",
23907
+ # availability_zone_id: "NonEmptyString",
23908
+ # available_ip_address_count: 1,
23909
+ # cidr_block: "NonEmptyString",
23910
+ # default_for_az: false,
23911
+ # map_public_ip_on_launch: false,
23912
+ # owner_id: "NonEmptyString",
23913
+ # state: "NonEmptyString",
23914
+ # subnet_arn: "NonEmptyString",
23915
+ # subnet_id: "NonEmptyString",
23916
+ # vpc_id: "NonEmptyString",
23917
+ # ipv_6_cidr_block_association_set: [
23918
+ # {
23919
+ # association_id: "NonEmptyString",
23920
+ # ipv_6_cidr_block: "NonEmptyString",
23921
+ # cidr_block_state: "NonEmptyString",
23922
+ # },
23923
+ # ],
23924
+ # },
23925
+ # aws_ec2_network_acl: {
23926
+ # is_default: false,
23927
+ # network_acl_id: "NonEmptyString",
23928
+ # owner_id: "NonEmptyString",
23929
+ # vpc_id: "NonEmptyString",
23930
+ # associations: [
23931
+ # {
23932
+ # network_acl_association_id: "NonEmptyString",
23933
+ # network_acl_id: "NonEmptyString",
23934
+ # subnet_id: "NonEmptyString",
23935
+ # },
23936
+ # ],
23937
+ # entries: [
23938
+ # {
23939
+ # cidr_block: "NonEmptyString",
23940
+ # egress: false,
23941
+ # icmp_type_code: {
23942
+ # code: 1,
23943
+ # type: 1,
23944
+ # },
23945
+ # ipv_6_cidr_block: "NonEmptyString",
23946
+ # port_range: {
23947
+ # from: 1,
23948
+ # to: 1,
23949
+ # },
23950
+ # protocol: "NonEmptyString",
23951
+ # rule_action: "NonEmptyString",
23952
+ # rule_number: 1,
23953
+ # },
23954
+ # ],
23955
+ # },
23075
23956
  # aws_elbv_2_load_balancer: {
23076
23957
  # availability_zones: [
23077
23958
  # {
@@ -23092,6 +23973,40 @@ module Aws::SecurityHub
23092
23973
  # type: "NonEmptyString",
23093
23974
  # vpc_id: "NonEmptyString",
23094
23975
  # },
23976
+ # aws_elastic_beanstalk_environment: {
23977
+ # application_name: "NonEmptyString",
23978
+ # cname: "NonEmptyString",
23979
+ # date_created: "NonEmptyString",
23980
+ # date_updated: "NonEmptyString",
23981
+ # description: "NonEmptyString",
23982
+ # endpoint_url: "NonEmptyString",
23983
+ # environment_arn: "NonEmptyString",
23984
+ # environment_id: "NonEmptyString",
23985
+ # environment_links: [
23986
+ # {
23987
+ # environment_name: "NonEmptyString",
23988
+ # link_name: "NonEmptyString",
23989
+ # },
23990
+ # ],
23991
+ # environment_name: "NonEmptyString",
23992
+ # option_settings: [
23993
+ # {
23994
+ # namespace: "NonEmptyString",
23995
+ # option_name: "NonEmptyString",
23996
+ # resource_name: "NonEmptyString",
23997
+ # value: "NonEmptyString",
23998
+ # },
23999
+ # ],
24000
+ # platform_arn: "NonEmptyString",
24001
+ # solution_stack_name: "NonEmptyString",
24002
+ # status: "NonEmptyString",
24003
+ # tier: {
24004
+ # name: "NonEmptyString",
24005
+ # type: "NonEmptyString",
24006
+ # version: "NonEmptyString",
24007
+ # },
24008
+ # version_label: "NonEmptyString",
24009
+ # },
23095
24010
  # aws_elasticsearch_domain: {
23096
24011
  # access_policies: "NonEmptyString",
23097
24012
  # domain_endpoint_options: {
@@ -24232,10 +25147,22 @@ module Aws::SecurityHub
24232
25147
  # Details about an Elastic IP address.
24233
25148
  # @return [Types::AwsEc2EipDetails]
24234
25149
  #
25150
+ # @!attribute [rw] aws_ec2_subnet
25151
+ # Details about a subnet in EC2.
25152
+ # @return [Types::AwsEc2SubnetDetails]
25153
+ #
25154
+ # @!attribute [rw] aws_ec2_network_acl
25155
+ # Details about an EC2 network access control list (ACL).
25156
+ # @return [Types::AwsEc2NetworkAclDetails]
25157
+ #
24235
25158
  # @!attribute [rw] aws_elbv_2_load_balancer
24236
25159
  # Details about a load balancer.
24237
25160
  # @return [Types::AwsElbv2LoadBalancerDetails]
24238
25161
  #
25162
+ # @!attribute [rw] aws_elastic_beanstalk_environment
25163
+ # Details about an Elastic Beanstalk environment.
25164
+ # @return [Types::AwsElasticBeanstalkEnvironmentDetails]
25165
+ #
24239
25166
  # @!attribute [rw] aws_elasticsearch_domain
24240
25167
  # Details for an Elasticsearch domain.
24241
25168
  # @return [Types::AwsElasticsearchDomainDetails]
@@ -24389,7 +25316,10 @@ module Aws::SecurityHub
24389
25316
  :aws_ec2_volume,
24390
25317
  :aws_ec2_vpc,
24391
25318
  :aws_ec2_eip,
25319
+ :aws_ec2_subnet,
25320
+ :aws_ec2_network_acl,
24392
25321
  :aws_elbv_2_load_balancer,
25322
+ :aws_elastic_beanstalk_environment,
24393
25323
  :aws_elasticsearch_domain,
24394
25324
  :aws_s3_bucket,
24395
25325
  :aws_s3_account_public_access_block,