aws-sdk-securityhub 1.147.0 → 1.148.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +89 -106
- data/lib/aws-sdk-securityhub/client_api.rb +45 -31
- data/lib/aws-sdk-securityhub/errors.rb +21 -0
- data/lib/aws-sdk-securityhub/types.rb +109 -66
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +29 -26
- data/sig/errors.rbs +4 -0
- data/sig/types.rbs +35 -21
- metadata +1 -1
|
@@ -789,8 +789,6 @@ module Aws::SecurityHub
|
|
|
789
789
|
ConnectionDirection = Shapes::StringShape.new(name: 'ConnectionDirection')
|
|
790
790
|
ConnectorAuthStatus = Shapes::StringShape.new(name: 'ConnectorAuthStatus')
|
|
791
791
|
ConnectorProviderName = Shapes::StringShape.new(name: 'ConnectorProviderName')
|
|
792
|
-
ConnectorRegistrationsV2Request = Shapes::StructureShape.new(name: 'ConnectorRegistrationsV2Request')
|
|
793
|
-
ConnectorRegistrationsV2Response = Shapes::StructureShape.new(name: 'ConnectorRegistrationsV2Response')
|
|
794
792
|
ConnectorStatus = Shapes::StringShape.new(name: 'ConnectorStatus')
|
|
795
793
|
ConnectorSummary = Shapes::StructureShape.new(name: 'ConnectorSummary')
|
|
796
794
|
ConnectorSummaryList = Shapes::ListShape.new(name: 'ConnectorSummaryList')
|
|
@@ -1142,6 +1140,8 @@ module Aws::SecurityHub
|
|
|
1142
1140
|
RecordState = Shapes::StringShape.new(name: 'RecordState')
|
|
1143
1141
|
Records = Shapes::ListShape.new(name: 'Records')
|
|
1144
1142
|
RegionAvailabilityStatus = Shapes::StringShape.new(name: 'RegionAvailabilityStatus')
|
|
1143
|
+
RegisterConnectorV2Request = Shapes::StructureShape.new(name: 'RegisterConnectorV2Request')
|
|
1144
|
+
RegisterConnectorV2Response = Shapes::StructureShape.new(name: 'RegisterConnectorV2Response')
|
|
1145
1145
|
RelatedFinding = Shapes::StructureShape.new(name: 'RelatedFinding')
|
|
1146
1146
|
RelatedFindingList = Shapes::ListShape.new(name: 'RelatedFindingList')
|
|
1147
1147
|
RelatedRequirementsList = Shapes::ListShape.new(name: 'RelatedRequirementsList')
|
|
@@ -1245,10 +1245,11 @@ module Aws::SecurityHub
|
|
|
1245
1245
|
SensitiveDataDetectionsList = Shapes::ListShape.new(name: 'SensitiveDataDetectionsList')
|
|
1246
1246
|
SensitiveDataResult = Shapes::StructureShape.new(name: 'SensitiveDataResult')
|
|
1247
1247
|
SensitiveDataResultList = Shapes::ListShape.new(name: 'SensitiveDataResultList')
|
|
1248
|
-
SensitiveNonEmptyString = Shapes::StringShape.new(name: 'SensitiveNonEmptyString')
|
|
1249
1248
|
Sequence = Shapes::StructureShape.new(name: 'Sequence')
|
|
1250
1249
|
ServiceNowDetail = Shapes::StructureShape.new(name: 'ServiceNowDetail')
|
|
1251
1250
|
ServiceNowProviderConfiguration = Shapes::StructureShape.new(name: 'ServiceNowProviderConfiguration')
|
|
1251
|
+
ServiceNowUpdateConfiguration = Shapes::StructureShape.new(name: 'ServiceNowUpdateConfiguration')
|
|
1252
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
1252
1253
|
Severity = Shapes::StructureShape.new(name: 'Severity')
|
|
1253
1254
|
SeverityLabel = Shapes::StringShape.new(name: 'SeverityLabel')
|
|
1254
1255
|
SeverityRating = Shapes::StringShape.new(name: 'SeverityRating')
|
|
@@ -1317,6 +1318,7 @@ module Aws::SecurityHub
|
|
|
1317
1318
|
ThreatIntelIndicatorType = Shapes::StringShape.new(name: 'ThreatIntelIndicatorType')
|
|
1318
1319
|
ThreatList = Shapes::ListShape.new(name: 'ThreatList')
|
|
1319
1320
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
1321
|
+
TicketCreationMode = Shapes::StringShape.new(name: 'TicketCreationMode')
|
|
1320
1322
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
|
1321
1323
|
TrendsMetrics = Shapes::ListShape.new(name: 'TrendsMetrics')
|
|
1322
1324
|
TrendsMetricsResult = Shapes::StructureShape.new(name: 'TrendsMetricsResult')
|
|
@@ -5590,14 +5592,6 @@ module Aws::SecurityHub
|
|
|
5590
5592
|
ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
|
5591
5593
|
ConflictException.struct_class = Types::ConflictException
|
|
5592
5594
|
|
|
5593
|
-
ConnectorRegistrationsV2Request.add_member(:auth_code, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AuthCode"))
|
|
5594
|
-
ConnectorRegistrationsV2Request.add_member(:auth_state, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AuthState"))
|
|
5595
|
-
ConnectorRegistrationsV2Request.struct_class = Types::ConnectorRegistrationsV2Request
|
|
5596
|
-
|
|
5597
|
-
ConnectorRegistrationsV2Response.add_member(:connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ConnectorArn"))
|
|
5598
|
-
ConnectorRegistrationsV2Response.add_member(:connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ConnectorId"))
|
|
5599
|
-
ConnectorRegistrationsV2Response.struct_class = Types::ConnectorRegistrationsV2Response
|
|
5600
|
-
|
|
5601
5595
|
ConnectorSummary.add_member(:connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ConnectorArn"))
|
|
5602
5596
|
ConnectorSummary.add_member(:connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ConnectorId"))
|
|
5603
5597
|
ConnectorSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Name"))
|
|
@@ -5691,9 +5685,10 @@ module Aws::SecurityHub
|
|
|
5691
5685
|
CreateConnectorV2Request.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
5692
5686
|
CreateConnectorV2Request.struct_class = Types::CreateConnectorV2Request
|
|
5693
5687
|
|
|
5694
|
-
CreateConnectorV2Response.add_member(:connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ConnectorArn"))
|
|
5688
|
+
CreateConnectorV2Response.add_member(:connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ConnectorArn"))
|
|
5695
5689
|
CreateConnectorV2Response.add_member(:connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ConnectorId"))
|
|
5696
5690
|
CreateConnectorV2Response.add_member(:auth_url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AuthUrl"))
|
|
5691
|
+
CreateConnectorV2Response.add_member(:connector_status, Shapes::ShapeRef.new(shape: ConnectorStatus, location_name: "ConnectorStatus"))
|
|
5697
5692
|
CreateConnectorV2Response.struct_class = Types::CreateConnectorV2Response
|
|
5698
5693
|
|
|
5699
5694
|
CreateFindingAggregatorRequest.add_member(:region_linking_mode, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "RegionLinkingMode"))
|
|
@@ -5723,6 +5718,7 @@ module Aws::SecurityHub
|
|
|
5723
5718
|
CreateTicketV2Request.add_member(:connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ConnectorId"))
|
|
5724
5719
|
CreateTicketV2Request.add_member(:finding_metadata_uid, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "FindingMetadataUid"))
|
|
5725
5720
|
CreateTicketV2Request.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
5721
|
+
CreateTicketV2Request.add_member(:mode, Shapes::ShapeRef.new(shape: TicketCreationMode, location_name: "Mode"))
|
|
5726
5722
|
CreateTicketV2Request.struct_class = Types::CreateTicketV2Request
|
|
5727
5723
|
|
|
5728
5724
|
CreateTicketV2Response.add_member(:ticket_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "TicketId"))
|
|
@@ -6422,7 +6418,7 @@ module Aws::SecurityHub
|
|
|
6422
6418
|
JiraCloudProviderConfiguration.add_member(:project_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ProjectKey"))
|
|
6423
6419
|
JiraCloudProviderConfiguration.struct_class = Types::JiraCloudProviderConfiguration
|
|
6424
6420
|
|
|
6425
|
-
JiraCloudUpdateConfiguration.add_member(:project_key, Shapes::ShapeRef.new(shape: NonEmptyString,
|
|
6421
|
+
JiraCloudUpdateConfiguration.add_member(:project_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ProjectKey"))
|
|
6426
6422
|
JiraCloudUpdateConfiguration.struct_class = Types::JiraCloudUpdateConfiguration
|
|
6427
6423
|
|
|
6428
6424
|
KeywordFilter.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Value"))
|
|
@@ -6869,8 +6865,10 @@ module Aws::SecurityHub
|
|
|
6869
6865
|
ProviderSummary.struct_class = Types::ProviderSummary
|
|
6870
6866
|
|
|
6871
6867
|
ProviderUpdateConfiguration.add_member(:jira_cloud, Shapes::ShapeRef.new(shape: JiraCloudUpdateConfiguration, location_name: "JiraCloud"))
|
|
6868
|
+
ProviderUpdateConfiguration.add_member(:service_now, Shapes::ShapeRef.new(shape: ServiceNowUpdateConfiguration, location_name: "ServiceNow"))
|
|
6872
6869
|
ProviderUpdateConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6873
6870
|
ProviderUpdateConfiguration.add_member_subclass(:jira_cloud, Types::ProviderUpdateConfiguration::JiraCloud)
|
|
6871
|
+
ProviderUpdateConfiguration.add_member_subclass(:service_now, Types::ProviderUpdateConfiguration::ServiceNow)
|
|
6874
6872
|
ProviderUpdateConfiguration.add_member_subclass(:unknown, Types::ProviderUpdateConfiguration::Unknown)
|
|
6875
6873
|
ProviderUpdateConfiguration.struct_class = Types::ProviderUpdateConfiguration
|
|
6876
6874
|
|
|
@@ -6891,6 +6889,14 @@ module Aws::SecurityHub
|
|
|
6891
6889
|
|
|
6892
6890
|
Records.member = Shapes::ShapeRef.new(shape: Record)
|
|
6893
6891
|
|
|
6892
|
+
RegisterConnectorV2Request.add_member(:auth_code, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AuthCode"))
|
|
6893
|
+
RegisterConnectorV2Request.add_member(:auth_state, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AuthState"))
|
|
6894
|
+
RegisterConnectorV2Request.struct_class = Types::RegisterConnectorV2Request
|
|
6895
|
+
|
|
6896
|
+
RegisterConnectorV2Response.add_member(:connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ConnectorArn"))
|
|
6897
|
+
RegisterConnectorV2Response.add_member(:connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ConnectorId"))
|
|
6898
|
+
RegisterConnectorV2Response.struct_class = Types::RegisterConnectorV2Response
|
|
6899
|
+
|
|
6894
6900
|
RelatedFinding.add_member(:product_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ProductArn"))
|
|
6895
6901
|
RelatedFinding.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
|
6896
6902
|
RelatedFinding.struct_class = Types::RelatedFinding
|
|
@@ -7347,15 +7353,21 @@ module Aws::SecurityHub
|
|
|
7347
7353
|
Sequence.struct_class = Types::Sequence
|
|
7348
7354
|
|
|
7349
7355
|
ServiceNowDetail.add_member(:instance_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "InstanceName"))
|
|
7350
|
-
ServiceNowDetail.add_member(:
|
|
7356
|
+
ServiceNowDetail.add_member(:secret_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "SecretArn"))
|
|
7351
7357
|
ServiceNowDetail.add_member(:auth_status, Shapes::ShapeRef.new(shape: ConnectorAuthStatus, required: true, location_name: "AuthStatus"))
|
|
7352
7358
|
ServiceNowDetail.struct_class = Types::ServiceNowDetail
|
|
7353
7359
|
|
|
7354
7360
|
ServiceNowProviderConfiguration.add_member(:instance_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "InstanceName"))
|
|
7355
|
-
ServiceNowProviderConfiguration.add_member(:
|
|
7356
|
-
ServiceNowProviderConfiguration.add_member(:client_secret, Shapes::ShapeRef.new(shape: SensitiveNonEmptyString, required: true, location_name: "ClientSecret"))
|
|
7361
|
+
ServiceNowProviderConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "SecretArn"))
|
|
7357
7362
|
ServiceNowProviderConfiguration.struct_class = Types::ServiceNowProviderConfiguration
|
|
7358
7363
|
|
|
7364
|
+
ServiceNowUpdateConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SecretArn"))
|
|
7365
|
+
ServiceNowUpdateConfiguration.struct_class = Types::ServiceNowUpdateConfiguration
|
|
7366
|
+
|
|
7367
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
|
|
7368
|
+
ServiceQuotaExceededException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
|
7369
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
7370
|
+
|
|
7359
7371
|
Severity.add_member(:product, Shapes::ShapeRef.new(shape: Double, location_name: "Product"))
|
|
7360
7372
|
Severity.add_member(:label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "Label"))
|
|
7361
7373
|
Severity.add_member(:normalized, Shapes::ShapeRef.new(shape: Integer, location_name: "Normalized"))
|
|
@@ -7719,7 +7731,6 @@ module Aws::SecurityHub
|
|
|
7719
7731
|
UpdateConfigurationPolicyResponse.struct_class = Types::UpdateConfigurationPolicyResponse
|
|
7720
7732
|
|
|
7721
7733
|
UpdateConnectorV2Request.add_member(:connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "ConnectorId"))
|
|
7722
|
-
UpdateConnectorV2Request.add_member(:client_secret, Shapes::ShapeRef.new(shape: SensitiveNonEmptyString, location_name: "ClientSecret"))
|
|
7723
7734
|
UpdateConnectorV2Request.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
|
7724
7735
|
UpdateConnectorV2Request.add_member(:provider, Shapes::ShapeRef.new(shape: ProviderUpdateConfiguration, location_name: "Provider"))
|
|
7725
7736
|
UpdateConnectorV2Request.struct_class = Types::UpdateConnectorV2Request
|
|
@@ -8055,20 +8066,6 @@ module Aws::SecurityHub
|
|
|
8055
8066
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8056
8067
|
end)
|
|
8057
8068
|
|
|
8058
|
-
api.add_operation(:connector_registrations_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
8059
|
-
o.name = "ConnectorRegistrationsV2"
|
|
8060
|
-
o.http_method = "POST"
|
|
8061
|
-
o.http_request_uri = "/connectorsv2/registrations"
|
|
8062
|
-
o.input = Shapes::ShapeRef.new(shape: ConnectorRegistrationsV2Request)
|
|
8063
|
-
o.output = Shapes::ShapeRef.new(shape: ConnectorRegistrationsV2Response)
|
|
8064
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8065
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
8066
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8067
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8068
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8069
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8070
|
-
end)
|
|
8071
|
-
|
|
8072
8069
|
api.add_operation(:create_action_target, Seahorse::Model::Operation.new.tap do |o|
|
|
8073
8070
|
o.name = "CreateActionTarget"
|
|
8074
8071
|
o.http_method = "POST"
|
|
@@ -8094,6 +8091,7 @@ module Aws::SecurityHub
|
|
|
8094
8091
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8095
8092
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8096
8093
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8094
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
8097
8095
|
end)
|
|
8098
8096
|
|
|
8099
8097
|
api.add_operation(:create_automation_rule, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -8120,6 +8118,7 @@ module Aws::SecurityHub
|
|
|
8120
8118
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8121
8119
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8122
8120
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8121
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
8123
8122
|
end)
|
|
8124
8123
|
|
|
8125
8124
|
api.add_operation(:create_configuration_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -8148,6 +8147,7 @@ module Aws::SecurityHub
|
|
|
8148
8147
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8149
8148
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8150
8149
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8150
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
8151
8151
|
end)
|
|
8152
8152
|
|
|
8153
8153
|
api.add_operation(:create_finding_aggregator, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -9194,6 +9194,20 @@ module Aws::SecurityHub
|
|
|
9194
9194
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
9195
9195
|
end)
|
|
9196
9196
|
|
|
9197
|
+
api.add_operation(:register_connector_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9198
|
+
o.name = "RegisterConnectorV2"
|
|
9199
|
+
o.http_method = "POST"
|
|
9200
|
+
o.http_request_uri = "/connectorsv2/register"
|
|
9201
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterConnectorV2Request)
|
|
9202
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterConnectorV2Response)
|
|
9203
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
9204
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
9205
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
9206
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
9207
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
9208
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
9209
|
+
end)
|
|
9210
|
+
|
|
9197
9211
|
api.add_operation(:start_configuration_policy_association, Seahorse::Model::Operation.new.tap do |o|
|
|
9198
9212
|
o.name = "StartConfigurationPolicyAssociation"
|
|
9199
9213
|
o.http_method = "POST"
|
|
@@ -37,6 +37,7 @@ module Aws::SecurityHub
|
|
|
37
37
|
# * {ResourceConflictException}
|
|
38
38
|
# * {ResourceInUseException}
|
|
39
39
|
# * {ResourceNotFoundException}
|
|
40
|
+
# * {ServiceQuotaExceededException}
|
|
40
41
|
# * {ThrottlingException}
|
|
41
42
|
# * {ValidationException}
|
|
42
43
|
#
|
|
@@ -246,6 +247,26 @@ module Aws::SecurityHub
|
|
|
246
247
|
end
|
|
247
248
|
end
|
|
248
249
|
|
|
250
|
+
class ServiceQuotaExceededException < ServiceError
|
|
251
|
+
|
|
252
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
253
|
+
# @param [String] message
|
|
254
|
+
# @param [Aws::SecurityHub::Types::ServiceQuotaExceededException] data
|
|
255
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
256
|
+
super(context, message, data)
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# @return [String]
|
|
260
|
+
def message
|
|
261
|
+
@message || @data[:message]
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# @return [String]
|
|
265
|
+
def code
|
|
266
|
+
@code || @data[:code]
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
249
270
|
class ThrottlingException < ServiceError
|
|
250
271
|
|
|
251
272
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -3102,8 +3102,8 @@ module Aws::SecurityHub
|
|
|
3102
3102
|
# @return [String]
|
|
3103
3103
|
#
|
|
3104
3104
|
# @!attribute [rw] security_groups
|
|
3105
|
-
# The security groups to assign to the instances in the
|
|
3106
|
-
# group.
|
|
3105
|
+
# The security groups to assign to the instances in the Amazon EC2
|
|
3106
|
+
# Auto Scaling group.
|
|
3107
3107
|
# @return [Array<String>]
|
|
3108
3108
|
#
|
|
3109
3109
|
# @!attribute [rw] spot_price
|
|
@@ -4515,8 +4515,8 @@ module Aws::SecurityHub
|
|
|
4515
4515
|
end
|
|
4516
4516
|
|
|
4517
4517
|
# A complex type that describes the Amazon S3 bucket, HTTP server (for
|
|
4518
|
-
# example, a web server),
|
|
4519
|
-
#
|
|
4518
|
+
# example, a web server), or other server from which CloudFront gets
|
|
4519
|
+
# your files.
|
|
4520
4520
|
#
|
|
4521
4521
|
# @!attribute [rw] domain_name
|
|
4522
4522
|
# Amazon S3 origins: The DNS name of the S3 bucket from which you want
|
|
@@ -9792,8 +9792,7 @@ module Aws::SecurityHub
|
|
|
9792
9792
|
#
|
|
9793
9793
|
# @!attribute [rw] health_check_grace_period_seconds
|
|
9794
9794
|
# After a task starts, the amount of time in seconds that the Amazon
|
|
9795
|
-
# ECS service scheduler ignores unhealthy
|
|
9796
|
-
# target health checks.
|
|
9795
|
+
# ECS service scheduler ignores unhealthy ELB target health checks.
|
|
9797
9796
|
# @return [Integer]
|
|
9798
9797
|
#
|
|
9799
9798
|
# @!attribute [rw] launch_type
|
|
@@ -9840,7 +9839,7 @@ module Aws::SecurityHub
|
|
|
9840
9839
|
# @!attribute [rw] role
|
|
9841
9840
|
# The ARN of the IAM role that is associated with the service. The
|
|
9842
9841
|
# role allows the Amazon ECS container agent to register container
|
|
9843
|
-
# instances with an
|
|
9842
|
+
# instances with an ELB load balancer.
|
|
9844
9843
|
# @return [String]
|
|
9845
9844
|
#
|
|
9846
9845
|
# @!attribute [rw] scheduling_strategy
|
|
@@ -9934,8 +9933,8 @@ module Aws::SecurityHub
|
|
|
9934
9933
|
# @return [String]
|
|
9935
9934
|
#
|
|
9936
9935
|
# @!attribute [rw] target_group_arn
|
|
9937
|
-
# The ARN of the
|
|
9938
|
-
#
|
|
9936
|
+
# The ARN of the ELB target group or groups associated with a service
|
|
9937
|
+
# or task set.
|
|
9939
9938
|
#
|
|
9940
9939
|
# Only specified when using an Application Load Balancer or a Network
|
|
9941
9940
|
# Load Balancer. For a Classic Load Balancer, the target group ARN is
|
|
@@ -22815,42 +22814,6 @@ module Aws::SecurityHub
|
|
|
22815
22814
|
include Aws::Structure
|
|
22816
22815
|
end
|
|
22817
22816
|
|
|
22818
|
-
# @!attribute [rw] auth_code
|
|
22819
|
-
# The authCode retrieved from authUrl to complete the OAuth 2.0
|
|
22820
|
-
# authorization code flow.
|
|
22821
|
-
# @return [String]
|
|
22822
|
-
#
|
|
22823
|
-
# @!attribute [rw] auth_state
|
|
22824
|
-
# The authState retrieved from authUrl to complete the OAuth 2.0
|
|
22825
|
-
# authorization code flow.
|
|
22826
|
-
# @return [String]
|
|
22827
|
-
#
|
|
22828
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ConnectorRegistrationsV2Request AWS API Documentation
|
|
22829
|
-
#
|
|
22830
|
-
class ConnectorRegistrationsV2Request < Struct.new(
|
|
22831
|
-
:auth_code,
|
|
22832
|
-
:auth_state)
|
|
22833
|
-
SENSITIVE = []
|
|
22834
|
-
include Aws::Structure
|
|
22835
|
-
end
|
|
22836
|
-
|
|
22837
|
-
# @!attribute [rw] connector_arn
|
|
22838
|
-
# The Amazon Resource Name (ARN) of the connectorV2.
|
|
22839
|
-
# @return [String]
|
|
22840
|
-
#
|
|
22841
|
-
# @!attribute [rw] connector_id
|
|
22842
|
-
# The UUID of the connectorV2 to identify connectorV2 resource.
|
|
22843
|
-
# @return [String]
|
|
22844
|
-
#
|
|
22845
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ConnectorRegistrationsV2Response AWS API Documentation
|
|
22846
|
-
#
|
|
22847
|
-
class ConnectorRegistrationsV2Response < Struct.new(
|
|
22848
|
-
:connector_arn,
|
|
22849
|
-
:connector_id)
|
|
22850
|
-
SENSITIVE = []
|
|
22851
|
-
include Aws::Structure
|
|
22852
|
-
end
|
|
22853
|
-
|
|
22854
22817
|
# A condensed overview of the connectorV2..
|
|
22855
22818
|
#
|
|
22856
22819
|
# @!attribute [rw] connector_arn
|
|
@@ -23354,12 +23317,17 @@ module Aws::SecurityHub
|
|
|
23354
23317
|
# The Url provide to customers for OAuth auth code flow.
|
|
23355
23318
|
# @return [String]
|
|
23356
23319
|
#
|
|
23320
|
+
# @!attribute [rw] connector_status
|
|
23321
|
+
# The current status of the connectorV2.
|
|
23322
|
+
# @return [String]
|
|
23323
|
+
#
|
|
23357
23324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateConnectorV2Response AWS API Documentation
|
|
23358
23325
|
#
|
|
23359
23326
|
class CreateConnectorV2Response < Struct.new(
|
|
23360
23327
|
:connector_arn,
|
|
23361
23328
|
:connector_id,
|
|
23362
|
-
:auth_url
|
|
23329
|
+
:auth_url,
|
|
23330
|
+
:connector_status)
|
|
23363
23331
|
SENSITIVE = []
|
|
23364
23332
|
include Aws::Structure
|
|
23365
23333
|
end
|
|
@@ -23530,12 +23498,19 @@ module Aws::SecurityHub
|
|
|
23530
23498
|
# not need to pass this option.
|
|
23531
23499
|
# @return [String]
|
|
23532
23500
|
#
|
|
23501
|
+
# @!attribute [rw] mode
|
|
23502
|
+
# The mode for ticket creation. When set to DRYRUN, the ticket is
|
|
23503
|
+
# created using a Security Hub owned template test finding to verify
|
|
23504
|
+
# the integration is working correctly.
|
|
23505
|
+
# @return [String]
|
|
23506
|
+
#
|
|
23533
23507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateTicketV2Request AWS API Documentation
|
|
23534
23508
|
#
|
|
23535
23509
|
class CreateTicketV2Request < Struct.new(
|
|
23536
23510
|
:connector_id,
|
|
23537
23511
|
:finding_metadata_uid,
|
|
23538
|
-
:client_token
|
|
23512
|
+
:client_token,
|
|
23513
|
+
:mode)
|
|
23539
23514
|
SENSITIVE = []
|
|
23540
23515
|
include Aws::Structure
|
|
23541
23516
|
end
|
|
@@ -29085,16 +29060,23 @@ module Aws::SecurityHub
|
|
|
29085
29060
|
# integration.
|
|
29086
29061
|
# @return [Types::JiraCloudUpdateConfiguration]
|
|
29087
29062
|
#
|
|
29063
|
+
# @!attribute [rw] service_now
|
|
29064
|
+
# The parameters required to update the configuration for a ServiceNow
|
|
29065
|
+
# integration.
|
|
29066
|
+
# @return [Types::ServiceNowUpdateConfiguration]
|
|
29067
|
+
#
|
|
29088
29068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ProviderUpdateConfiguration AWS API Documentation
|
|
29089
29069
|
#
|
|
29090
29070
|
class ProviderUpdateConfiguration < Struct.new(
|
|
29091
29071
|
:jira_cloud,
|
|
29072
|
+
:service_now,
|
|
29092
29073
|
:unknown)
|
|
29093
29074
|
SENSITIVE = []
|
|
29094
29075
|
include Aws::Structure
|
|
29095
29076
|
include Aws::Structure::Union
|
|
29096
29077
|
|
|
29097
29078
|
class JiraCloud < ProviderUpdateConfiguration; end
|
|
29079
|
+
class ServiceNow < ProviderUpdateConfiguration; end
|
|
29098
29080
|
class Unknown < ProviderUpdateConfiguration; end
|
|
29099
29081
|
end
|
|
29100
29082
|
|
|
@@ -29175,6 +29157,42 @@ module Aws::SecurityHub
|
|
|
29175
29157
|
include Aws::Structure
|
|
29176
29158
|
end
|
|
29177
29159
|
|
|
29160
|
+
# @!attribute [rw] auth_code
|
|
29161
|
+
# The authCode retrieved from authUrl to complete the OAuth 2.0
|
|
29162
|
+
# authorization code flow.
|
|
29163
|
+
# @return [String]
|
|
29164
|
+
#
|
|
29165
|
+
# @!attribute [rw] auth_state
|
|
29166
|
+
# The authState retrieved from authUrl to complete the OAuth 2.0
|
|
29167
|
+
# authorization code flow.
|
|
29168
|
+
# @return [String]
|
|
29169
|
+
#
|
|
29170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/RegisterConnectorV2Request AWS API Documentation
|
|
29171
|
+
#
|
|
29172
|
+
class RegisterConnectorV2Request < Struct.new(
|
|
29173
|
+
:auth_code,
|
|
29174
|
+
:auth_state)
|
|
29175
|
+
SENSITIVE = []
|
|
29176
|
+
include Aws::Structure
|
|
29177
|
+
end
|
|
29178
|
+
|
|
29179
|
+
# @!attribute [rw] connector_arn
|
|
29180
|
+
# The Amazon Resource Name (ARN) of the connectorV2.
|
|
29181
|
+
# @return [String]
|
|
29182
|
+
#
|
|
29183
|
+
# @!attribute [rw] connector_id
|
|
29184
|
+
# The UUID of the connectorV2 to identify connectorV2 resource.
|
|
29185
|
+
# @return [String]
|
|
29186
|
+
#
|
|
29187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/RegisterConnectorV2Response AWS API Documentation
|
|
29188
|
+
#
|
|
29189
|
+
class RegisterConnectorV2Response < Struct.new(
|
|
29190
|
+
:connector_arn,
|
|
29191
|
+
:connector_id)
|
|
29192
|
+
SENSITIVE = []
|
|
29193
|
+
include Aws::Structure
|
|
29194
|
+
end
|
|
29195
|
+
|
|
29178
29196
|
# Details about a related finding.
|
|
29179
29197
|
#
|
|
29180
29198
|
# @!attribute [rw] product_arn
|
|
@@ -31319,19 +31337,20 @@ module Aws::SecurityHub
|
|
|
31319
31337
|
# The instanceName of ServiceNow ITSM.
|
|
31320
31338
|
# @return [String]
|
|
31321
31339
|
#
|
|
31322
|
-
# @!attribute [rw]
|
|
31323
|
-
# The
|
|
31340
|
+
# @!attribute [rw] secret_arn
|
|
31341
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
31342
|
+
# Manager secret that contains the ServiceNow credentials.
|
|
31324
31343
|
# @return [String]
|
|
31325
31344
|
#
|
|
31326
31345
|
# @!attribute [rw] auth_status
|
|
31327
|
-
# The status of the authorization between
|
|
31346
|
+
# The status of the authorization between ServiceNow and the service.
|
|
31328
31347
|
# @return [String]
|
|
31329
31348
|
#
|
|
31330
31349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ServiceNowDetail AWS API Documentation
|
|
31331
31350
|
#
|
|
31332
31351
|
class ServiceNowDetail < Struct.new(
|
|
31333
31352
|
:instance_name,
|
|
31334
|
-
:
|
|
31353
|
+
:secret_arn,
|
|
31335
31354
|
:auth_status)
|
|
31336
31355
|
SENSITIVE = []
|
|
31337
31356
|
include Aws::Structure
|
|
@@ -31344,21 +31363,50 @@ module Aws::SecurityHub
|
|
|
31344
31363
|
# The instance name of ServiceNow ITSM.
|
|
31345
31364
|
# @return [String]
|
|
31346
31365
|
#
|
|
31347
|
-
# @!attribute [rw]
|
|
31348
|
-
# The
|
|
31349
|
-
#
|
|
31350
|
-
#
|
|
31351
|
-
# @!attribute [rw] client_secret
|
|
31352
|
-
# The client secret of ServiceNow ITSM.
|
|
31366
|
+
# @!attribute [rw] secret_arn
|
|
31367
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
31368
|
+
# Manager secret that contains the ServiceNow credentials.
|
|
31353
31369
|
# @return [String]
|
|
31354
31370
|
#
|
|
31355
31371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ServiceNowProviderConfiguration AWS API Documentation
|
|
31356
31372
|
#
|
|
31357
31373
|
class ServiceNowProviderConfiguration < Struct.new(
|
|
31358
31374
|
:instance_name,
|
|
31359
|
-
:
|
|
31360
|
-
|
|
31361
|
-
|
|
31375
|
+
:secret_arn)
|
|
31376
|
+
SENSITIVE = []
|
|
31377
|
+
include Aws::Structure
|
|
31378
|
+
end
|
|
31379
|
+
|
|
31380
|
+
# The parameters used to modify an existing ServiceNow integration.
|
|
31381
|
+
#
|
|
31382
|
+
# @!attribute [rw] secret_arn
|
|
31383
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
31384
|
+
# Manager secret that contains the ServiceNow credentials.
|
|
31385
|
+
# @return [String]
|
|
31386
|
+
#
|
|
31387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ServiceNowUpdateConfiguration AWS API Documentation
|
|
31388
|
+
#
|
|
31389
|
+
class ServiceNowUpdateConfiguration < Struct.new(
|
|
31390
|
+
:secret_arn)
|
|
31391
|
+
SENSITIVE = []
|
|
31392
|
+
include Aws::Structure
|
|
31393
|
+
end
|
|
31394
|
+
|
|
31395
|
+
# The request was rejected because it would exceed the service quota
|
|
31396
|
+
# limit.
|
|
31397
|
+
#
|
|
31398
|
+
# @!attribute [rw] message
|
|
31399
|
+
# @return [String]
|
|
31400
|
+
#
|
|
31401
|
+
# @!attribute [rw] code
|
|
31402
|
+
# @return [String]
|
|
31403
|
+
#
|
|
31404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ServiceQuotaExceededException AWS API Documentation
|
|
31405
|
+
#
|
|
31406
|
+
class ServiceQuotaExceededException < Struct.new(
|
|
31407
|
+
:message,
|
|
31408
|
+
:code)
|
|
31409
|
+
SENSITIVE = []
|
|
31362
31410
|
include Aws::Structure
|
|
31363
31411
|
end
|
|
31364
31412
|
|
|
@@ -33238,10 +33286,6 @@ module Aws::SecurityHub
|
|
|
33238
33286
|
# The UUID of the connectorV2 to identify connectorV2 resource.
|
|
33239
33287
|
# @return [String]
|
|
33240
33288
|
#
|
|
33241
|
-
# @!attribute [rw] client_secret
|
|
33242
|
-
# The clientSecret of ServiceNow.
|
|
33243
|
-
# @return [String]
|
|
33244
|
-
#
|
|
33245
33289
|
# @!attribute [rw] description
|
|
33246
33290
|
# The description of the connectorV2.
|
|
33247
33291
|
# @return [String]
|
|
@@ -33254,10 +33298,9 @@ module Aws::SecurityHub
|
|
|
33254
33298
|
#
|
|
33255
33299
|
class UpdateConnectorV2Request < Struct.new(
|
|
33256
33300
|
:connector_id,
|
|
33257
|
-
:client_secret,
|
|
33258
33301
|
:description,
|
|
33259
33302
|
:provider)
|
|
33260
|
-
SENSITIVE = [
|
|
33303
|
+
SENSITIVE = []
|
|
33261
33304
|
include Aws::Structure
|
|
33262
33305
|
end
|
|
33263
33306
|
|
data/lib/aws-sdk-securityhub.rb
CHANGED