aws-sdk-securityhub 1.158.0 → 1.159.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 +702 -25
- data/lib/aws-sdk-securityhub/client_api.rb +348 -2
- data/lib/aws-sdk-securityhub/types.rb +968 -23
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +142 -10
- data/sig/params.rbs +53 -8
- data/sig/types.rbs +266 -17
- metadata +1 -1
data/lib/aws-sdk-securityhub.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -303,8 +303,17 @@ module Aws
|
|
|
303
303
|
{
|
|
304
304
|
type: ::String,
|
|
305
305
|
id: ::String,
|
|
306
|
-
partition: ("aws" | "aws-cn" | "aws-us-gov")?,
|
|
306
|
+
partition: ("aws" | "aws-cn" | "aws-us-gov" | "aws-us-iso" | "aws-us-iso-b" | "AzureCloud")?,
|
|
307
307
|
region: ::String?,
|
|
308
|
+
provider: ("Azure" | "AWS")?,
|
|
309
|
+
owner: {
|
|
310
|
+
account: {
|
|
311
|
+
id: ::String?
|
|
312
|
+
}?,
|
|
313
|
+
org: {
|
|
314
|
+
id: ::String?
|
|
315
|
+
}?
|
|
316
|
+
}?,
|
|
308
317
|
resource_role: ::String?,
|
|
309
318
|
tags: Hash[::String, ::String]?,
|
|
310
319
|
data_classification: {
|
|
@@ -3722,6 +3731,8 @@ module Aws
|
|
|
3722
3731
|
provider_type: ::String?,
|
|
3723
3732
|
project_name: ::String?,
|
|
3724
3733
|
code_security_integration_arn: ::String?
|
|
3734
|
+
}?,
|
|
3735
|
+
azure_resource: {
|
|
3725
3736
|
}?
|
|
3726
3737
|
}?,
|
|
3727
3738
|
application_name: ::String?,
|
|
@@ -4184,12 +4195,32 @@ module Aws
|
|
|
4184
4195
|
) -> _CreateConfigurationPolicyResponseSuccess
|
|
4185
4196
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfigurationPolicyResponseSuccess
|
|
4186
4197
|
|
|
4198
|
+
interface _CreateConnectorResponseSuccess
|
|
4199
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectorResponse]
|
|
4200
|
+
def connector_arn: () -> ::String
|
|
4201
|
+
def connector_id: () -> ::String
|
|
4202
|
+
def connector_status: () -> ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "UNKNOWN")
|
|
4203
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "PENDING_UPDATE" | "PENDING_DELETION")
|
|
4204
|
+
end
|
|
4205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#create_connector-instance_method
|
|
4206
|
+
def create_connector: (
|
|
4207
|
+
name: ::String,
|
|
4208
|
+
?description: ::String,
|
|
4209
|
+
provider: {
|
|
4210
|
+
azure: Params::azure_provider_configuration?
|
|
4211
|
+
},
|
|
4212
|
+
?tags: Hash[::String, ::String],
|
|
4213
|
+
?client_token: ::String
|
|
4214
|
+
) -> _CreateConnectorResponseSuccess
|
|
4215
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectorResponseSuccess
|
|
4216
|
+
|
|
4187
4217
|
interface _CreateConnectorV2ResponseSuccess
|
|
4188
4218
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectorV2Response]
|
|
4189
4219
|
def connector_arn: () -> ::String
|
|
4190
4220
|
def connector_id: () -> ::String
|
|
4191
4221
|
def auth_url: () -> ::String
|
|
4192
|
-
def connector_status: () -> ("CONNECTED" | "FAILED_TO_CONNECT" | "PENDING_CONFIGURATION" | "
|
|
4222
|
+
def connector_status: () -> ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION" | "UNKNOWN")
|
|
4223
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "FAILED_TO_DELETE")
|
|
4193
4224
|
end
|
|
4194
4225
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#create_connector_v2-instance_method
|
|
4195
4226
|
def create_connector_v2: (
|
|
@@ -4202,7 +4233,8 @@ module Aws
|
|
|
4202
4233
|
service_now: {
|
|
4203
4234
|
instance_name: ::String,
|
|
4204
4235
|
secret_arn: ::String
|
|
4205
|
-
}
|
|
4236
|
+
}?,
|
|
4237
|
+
azure: Params::azure_provider_configuration?
|
|
4206
4238
|
},
|
|
4207
4239
|
?kms_key_arn: ::String,
|
|
4208
4240
|
?tags: Hash[::String, ::String],
|
|
@@ -4312,8 +4344,19 @@ module Aws
|
|
|
4312
4344
|
) -> _DeleteConfigurationPolicyResponseSuccess
|
|
4313
4345
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConfigurationPolicyResponseSuccess
|
|
4314
4346
|
|
|
4347
|
+
interface _DeleteConnectorResponseSuccess
|
|
4348
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectorResponse]
|
|
4349
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "PENDING_UPDATE" | "PENDING_DELETION")
|
|
4350
|
+
end
|
|
4351
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#delete_connector-instance_method
|
|
4352
|
+
def delete_connector: (
|
|
4353
|
+
connector_id: ::String
|
|
4354
|
+
) -> _DeleteConnectorResponseSuccess
|
|
4355
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConnectorResponseSuccess
|
|
4356
|
+
|
|
4315
4357
|
interface _DeleteConnectorV2ResponseSuccess
|
|
4316
4358
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectorV2Response]
|
|
4359
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "FAILED_TO_DELETE")
|
|
4317
4360
|
end
|
|
4318
4361
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#delete_connector_v2-instance_method
|
|
4319
4362
|
def delete_connector_v2: (
|
|
@@ -4427,6 +4470,7 @@ module Aws
|
|
|
4427
4470
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecurityHubV2Response]
|
|
4428
4471
|
def hub_v2_arn: () -> ::String
|
|
4429
4472
|
def subscribed_at: () -> ::String
|
|
4473
|
+
def features: () -> ::Hash[::String, Types::FeatureDetail]
|
|
4430
4474
|
end
|
|
4431
4475
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#describe_security_hub_v2-instance_method
|
|
4432
4476
|
def describe_security_hub_v2: (
|
|
@@ -4441,7 +4485,8 @@ module Aws
|
|
|
4441
4485
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#describe_standards-instance_method
|
|
4442
4486
|
def describe_standards: (
|
|
4443
4487
|
?next_token: ::String,
|
|
4444
|
-
?max_results: ::Integer
|
|
4488
|
+
?max_results: ::Integer,
|
|
4489
|
+
?providers: Array[("AWS" | "Azure")]
|
|
4445
4490
|
) -> _DescribeStandardsResponseSuccess
|
|
4446
4491
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStandardsResponseSuccess
|
|
4447
4492
|
|
|
@@ -4485,6 +4530,15 @@ module Aws
|
|
|
4485
4530
|
) -> _DisableSecurityHubResponseSuccess
|
|
4486
4531
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableSecurityHubResponseSuccess
|
|
4487
4532
|
|
|
4533
|
+
interface _DisableSecurityHubFeatureV2ResponseSuccess
|
|
4534
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableSecurityHubFeatureV2Response]
|
|
4535
|
+
end
|
|
4536
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#disable_security_hub_feature_v2-instance_method
|
|
4537
|
+
def disable_security_hub_feature_v2: (
|
|
4538
|
+
feature_name: ("NETWORK_SCANNING")
|
|
4539
|
+
) -> _DisableSecurityHubFeatureV2ResponseSuccess
|
|
4540
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableSecurityHubFeatureV2ResponseSuccess
|
|
4541
|
+
|
|
4488
4542
|
interface _DisableSecurityHubV2ResponseSuccess
|
|
4489
4543
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisableSecurityHubV2Response]
|
|
4490
4544
|
end
|
|
@@ -4551,6 +4605,15 @@ module Aws
|
|
|
4551
4605
|
) -> _EnableSecurityHubResponseSuccess
|
|
4552
4606
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableSecurityHubResponseSuccess
|
|
4553
4607
|
|
|
4608
|
+
interface _EnableSecurityHubFeatureV2ResponseSuccess
|
|
4609
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableSecurityHubFeatureV2Response]
|
|
4610
|
+
end
|
|
4611
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#enable_security_hub_feature_v2-instance_method
|
|
4612
|
+
def enable_security_hub_feature_v2: (
|
|
4613
|
+
feature_name: ("NETWORK_SCANNING")
|
|
4614
|
+
) -> _EnableSecurityHubFeatureV2ResponseSuccess
|
|
4615
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableSecurityHubFeatureV2ResponseSuccess
|
|
4616
|
+
|
|
4554
4617
|
interface _EnableSecurityHubV2ResponseSuccess
|
|
4555
4618
|
include ::Seahorse::Client::_ResponseSuccess[Types::EnableSecurityHubV2Response]
|
|
4556
4619
|
def hub_v2_arn: () -> ::String
|
|
@@ -4647,6 +4710,25 @@ module Aws
|
|
|
4647
4710
|
) -> _GetConfigurationPolicyAssociationResponseSuccess
|
|
4648
4711
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConfigurationPolicyAssociationResponseSuccess
|
|
4649
4712
|
|
|
4713
|
+
interface _GetConnectorResponseSuccess
|
|
4714
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectorResponse]
|
|
4715
|
+
def connector_arn: () -> ::String
|
|
4716
|
+
def connector_id: () -> ::String
|
|
4717
|
+
def name: () -> ::String
|
|
4718
|
+
def description: () -> ::String
|
|
4719
|
+
def created_at: () -> ::Time
|
|
4720
|
+
def last_updated_at: () -> ::Time
|
|
4721
|
+
def health: () -> Types::CspmHealthCheck
|
|
4722
|
+
def provider_detail: () -> Types::CspmProviderDetail
|
|
4723
|
+
def created_by: () -> ::String
|
|
4724
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "PENDING_UPDATE" | "PENDING_DELETION")
|
|
4725
|
+
end
|
|
4726
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#get_connector-instance_method
|
|
4727
|
+
def get_connector: (
|
|
4728
|
+
connector_id: ::String
|
|
4729
|
+
) -> _GetConnectorResponseSuccess
|
|
4730
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectorResponseSuccess
|
|
4731
|
+
|
|
4650
4732
|
interface _GetConnectorV2ResponseSuccess
|
|
4651
4733
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectorV2Response]
|
|
4652
4734
|
def connector_arn: () -> ::String
|
|
@@ -4658,6 +4740,8 @@ module Aws
|
|
|
4658
4740
|
def last_updated_at: () -> ::Time
|
|
4659
4741
|
def health: () -> Types::HealthCheck
|
|
4660
4742
|
def provider_detail: () -> Types::ProviderDetail
|
|
4743
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "FAILED_TO_DELETE")
|
|
4744
|
+
def enablement_status_reason: () -> ::String
|
|
4661
4745
|
end
|
|
4662
4746
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#get_connector_v2-instance_method
|
|
4663
4747
|
def get_connector_v2: (
|
|
@@ -4674,7 +4758,8 @@ module Aws
|
|
|
4674
4758
|
def get_enabled_standards: (
|
|
4675
4759
|
?standards_subscription_arns: Array[::String],
|
|
4676
4760
|
?next_token: ::String,
|
|
4677
|
-
?max_results: ::Integer
|
|
4761
|
+
?max_results: ::Integer,
|
|
4762
|
+
?providers: Array[("AWS" | "Azure")]
|
|
4678
4763
|
) -> _GetEnabledStandardsResponseSuccess
|
|
4679
4764
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnabledStandardsResponseSuccess
|
|
4680
4765
|
|
|
@@ -4718,7 +4803,7 @@ module Aws
|
|
|
4718
4803
|
group_by_rules: Array[
|
|
4719
4804
|
{
|
|
4720
4805
|
filters: Params::ocsf_finding_filters?,
|
|
4721
|
-
group_by_field: ("activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.name" | "compliance.status" | "compliance.control" | "finding_info.title" | "finding_info.related_events.traits.category" | "finding_info.types" | "metadata.product.name" | "metadata.product.uid" | "resources.type" | "resources.uid" | "severity" | "status" | "vulnerabilities.fix_coverage" | "class_name" | "vulnerabilities.affected_packages.name" | "finding_info.analytic.name" | "compliance.standards" | "cloud.account.name" | "vendor_attributes.severity" | "metadata.product.vendor_name")
|
|
4806
|
+
group_by_field: ("activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.name" | "compliance.status" | "compliance.control" | "finding_info.title" | "finding_info.related_events.traits.category" | "finding_info.types" | "metadata.product.name" | "metadata.product.uid" | "resources.type" | "resources.cloud_partition" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.uid" | "severity" | "status" | "vulnerabilities.fix_coverage" | "class_name" | "vulnerabilities.affected_packages.name" | "finding_info.analytic.name" | "compliance.standards" | "cloud.account.name" | "vendor_attributes.severity" | "metadata.product.vendor_name")
|
|
4722
4807
|
}
|
|
4723
4808
|
],
|
|
4724
4809
|
?scopes: {
|
|
@@ -4877,7 +4962,7 @@ module Aws
|
|
|
4877
4962
|
def get_resources_statistics_v2: (
|
|
4878
4963
|
group_by_rules: Array[
|
|
4879
4964
|
{
|
|
4880
|
-
group_by_field: ("AccountId" | "Region" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType"),
|
|
4965
|
+
group_by_field: ("AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType"),
|
|
4881
4966
|
filters: Params::resources_filters?
|
|
4882
4967
|
}
|
|
4883
4968
|
],
|
|
@@ -5027,6 +5112,21 @@ module Aws
|
|
|
5027
5112
|
) -> _ListConfigurationPolicyAssociationsResponseSuccess
|
|
5028
5113
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConfigurationPolicyAssociationsResponseSuccess
|
|
5029
5114
|
|
|
5115
|
+
interface _ListConnectorsResponseSuccess
|
|
5116
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectorsResponse]
|
|
5117
|
+
def next_token: () -> ::String
|
|
5118
|
+
def connectors: () -> ::Array[Types::CspmConnectorSummary]
|
|
5119
|
+
end
|
|
5120
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#list_connectors-instance_method
|
|
5121
|
+
def list_connectors: (
|
|
5122
|
+
?next_token: ::String,
|
|
5123
|
+
?max_results: ::Integer,
|
|
5124
|
+
?provider_name: ("AZURE"),
|
|
5125
|
+
?connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "UNKNOWN"),
|
|
5126
|
+
?enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "PENDING_UPDATE" | "PENDING_DELETION")
|
|
5127
|
+
) -> _ListConnectorsResponseSuccess
|
|
5128
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectorsResponseSuccess
|
|
5129
|
+
|
|
5030
5130
|
interface _ListConnectorsV2ResponseSuccess
|
|
5031
5131
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectorsV2Response]
|
|
5032
5132
|
def next_token: () -> ::String
|
|
@@ -5036,8 +5136,9 @@ module Aws
|
|
|
5036
5136
|
def list_connectors_v2: (
|
|
5037
5137
|
?next_token: ::String,
|
|
5038
5138
|
?max_results: ::Integer,
|
|
5039
|
-
?provider_name: ("JIRA_CLOUD" | "SERVICENOW"),
|
|
5040
|
-
?connector_status: ("CONNECTED" | "FAILED_TO_CONNECT" | "PENDING_CONFIGURATION" | "
|
|
5139
|
+
?provider_name: ("JIRA_CLOUD" | "SERVICENOW" | "AZURE"),
|
|
5140
|
+
?connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION" | "UNKNOWN"),
|
|
5141
|
+
?enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "FAILED_TO_DELETE")
|
|
5041
5142
|
) -> _ListConnectorsV2ResponseSuccess
|
|
5042
5143
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectorsV2ResponseSuccess
|
|
5043
5144
|
|
|
@@ -5113,7 +5214,8 @@ module Aws
|
|
|
5113
5214
|
def list_security_control_definitions: (
|
|
5114
5215
|
?standards_arn: ::String,
|
|
5115
5216
|
?next_token: ::String,
|
|
5116
|
-
?max_results: ::Integer
|
|
5217
|
+
?max_results: ::Integer,
|
|
5218
|
+
?providers: Array[("AWS" | "Azure")]
|
|
5117
5219
|
) -> _ListSecurityControlDefinitionsResponseSuccess
|
|
5118
5220
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityControlDefinitionsResponseSuccess
|
|
5119
5221
|
|
|
@@ -5270,8 +5372,31 @@ module Aws
|
|
|
5270
5372
|
) -> _UpdateConfigurationPolicyResponseSuccess
|
|
5271
5373
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfigurationPolicyResponseSuccess
|
|
5272
5374
|
|
|
5375
|
+
interface _UpdateConnectorResponseSuccess
|
|
5376
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectorResponse]
|
|
5377
|
+
def connector_status: () -> ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "UNKNOWN")
|
|
5378
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "PENDING_UPDATE" | "PENDING_DELETION")
|
|
5379
|
+
end
|
|
5380
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#update_connector-instance_method
|
|
5381
|
+
def update_connector: (
|
|
5382
|
+
connector_id: ::String,
|
|
5383
|
+
?description: ::String,
|
|
5384
|
+
?provider: {
|
|
5385
|
+
azure: {
|
|
5386
|
+
scope_configuration: {
|
|
5387
|
+
scope_type: ("TENANT" | "SUBSCRIPTION"),
|
|
5388
|
+
scope_values: Array[::String]?
|
|
5389
|
+
},
|
|
5390
|
+
azure_regions: Array[::String]
|
|
5391
|
+
}?
|
|
5392
|
+
}
|
|
5393
|
+
) -> _UpdateConnectorResponseSuccess
|
|
5394
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectorResponseSuccess
|
|
5395
|
+
|
|
5273
5396
|
interface _UpdateConnectorV2ResponseSuccess
|
|
5274
5397
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectorV2Response]
|
|
5398
|
+
def connector_status: () -> ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION" | "UNKNOWN")
|
|
5399
|
+
def enablement_status: () -> ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "FAILED_TO_DELETE")
|
|
5275
5400
|
end
|
|
5276
5401
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#update_connector_v2-instance_method
|
|
5277
5402
|
def update_connector_v2: (
|
|
@@ -5283,6 +5408,13 @@ module Aws
|
|
|
5283
5408
|
}?,
|
|
5284
5409
|
service_now: {
|
|
5285
5410
|
secret_arn: ::String?
|
|
5411
|
+
}?,
|
|
5412
|
+
azure: {
|
|
5413
|
+
scope_configuration: {
|
|
5414
|
+
scope_type: ("TENANT" | "SUBSCRIPTION"),
|
|
5415
|
+
scope_values: Array[::String]?
|
|
5416
|
+
},
|
|
5417
|
+
azure_regions: Array[::String]
|
|
5286
5418
|
}?
|
|
5287
5419
|
}
|
|
5288
5420
|
) -> _UpdateConnectorV2ResponseSuccess
|
data/sig/params.rbs
CHANGED
|
@@ -480,6 +480,24 @@ module Aws
|
|
|
480
480
|
value: ::String?,
|
|
481
481
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
482
482
|
}
|
|
483
|
+
]?,
|
|
484
|
+
resource_provider: Array[
|
|
485
|
+
{
|
|
486
|
+
value: ::String?,
|
|
487
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
488
|
+
}
|
|
489
|
+
]?,
|
|
490
|
+
resource_owner_account_id: Array[
|
|
491
|
+
{
|
|
492
|
+
value: ::String?,
|
|
493
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
494
|
+
}
|
|
495
|
+
]?,
|
|
496
|
+
resource_owner_org_id: Array[
|
|
497
|
+
{
|
|
498
|
+
value: ::String?,
|
|
499
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
500
|
+
}
|
|
483
501
|
]?
|
|
484
502
|
}
|
|
485
503
|
|
|
@@ -538,7 +556,7 @@ module Aws
|
|
|
538
556
|
type composite_filter = {
|
|
539
557
|
string_filters: Array[
|
|
540
558
|
{
|
|
541
|
-
field_name: ("metadata.uid" | "activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.traits.category" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
|
|
559
|
+
field_name: ("metadata.uid" | "activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.traits.category" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
|
|
542
560
|
filter: {
|
|
543
561
|
value: ::String?,
|
|
544
562
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -574,7 +592,7 @@ module Aws
|
|
|
574
592
|
{
|
|
575
593
|
string_filters: Array[
|
|
576
594
|
{
|
|
577
|
-
field_name: ("metadata.uid" | "activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.traits.category" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
|
|
595
|
+
field_name: ("metadata.uid" | "activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.traits.category" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.name" | "resources.owner.account.uid" | "resources.owner.org.uid" | "resources.owner.account.name" | "resources.provider" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name" | "vendor_attributes.severity")?,
|
|
578
596
|
filter: {
|
|
579
597
|
value: ::String?,
|
|
580
598
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -689,6 +707,15 @@ module Aws
|
|
|
689
707
|
value: Params::parameter_value?
|
|
690
708
|
}
|
|
691
709
|
|
|
710
|
+
type azure_provider_configuration = {
|
|
711
|
+
aws_config_connector_arn: ::String,
|
|
712
|
+
scope_configuration: {
|
|
713
|
+
scope_type: ("TENANT" | "SUBSCRIPTION"),
|
|
714
|
+
scope_values: Array[::String]?
|
|
715
|
+
},
|
|
716
|
+
azure_regions: Array[::String]
|
|
717
|
+
}
|
|
718
|
+
|
|
692
719
|
type aws_security_finding_filters = {
|
|
693
720
|
product_arn: Array[
|
|
694
721
|
{
|
|
@@ -1306,13 +1333,31 @@ module Aws
|
|
|
1306
1333
|
value: ::String?,
|
|
1307
1334
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
1308
1335
|
}
|
|
1336
|
+
]?,
|
|
1337
|
+
resource_owner_account_id: Array[
|
|
1338
|
+
{
|
|
1339
|
+
value: ::String?,
|
|
1340
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
1341
|
+
}
|
|
1342
|
+
]?,
|
|
1343
|
+
resource_owner_org_id: Array[
|
|
1344
|
+
{
|
|
1345
|
+
value: ::String?,
|
|
1346
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
1347
|
+
}
|
|
1348
|
+
]?,
|
|
1349
|
+
resource_provider: Array[
|
|
1350
|
+
{
|
|
1351
|
+
value: ::String?,
|
|
1352
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
1353
|
+
}
|
|
1309
1354
|
]?
|
|
1310
1355
|
}
|
|
1311
1356
|
|
|
1312
1357
|
type findings_trends_composite_filter = {
|
|
1313
1358
|
string_filters: Array[
|
|
1314
1359
|
{
|
|
1315
|
-
field_name: ("account_id" | "region" | "finding_types" | "finding_status" | "finding_cve_ids" | "finding_compliance_status" | "finding_control_id" | "finding_class_name" | "finding_provider" | "finding_activity_name")?,
|
|
1360
|
+
field_name: ("account_id" | "region" | "finding_types" | "finding_status" | "finding_cve_ids" | "finding_compliance_status" | "finding_control_id" | "finding_class_name" | "finding_provider" | "finding_activity_name" | "resource_cloud_providers" | "resource_regions" | "resource_owner_ids" | "resource_owner_organization_ids")?,
|
|
1316
1361
|
filter: {
|
|
1317
1362
|
value: ::String?,
|
|
1318
1363
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -1323,7 +1368,7 @@ module Aws
|
|
|
1323
1368
|
{
|
|
1324
1369
|
string_filters: Array[
|
|
1325
1370
|
{
|
|
1326
|
-
field_name: ("account_id" | "region" | "finding_types" | "finding_status" | "finding_cve_ids" | "finding_compliance_status" | "finding_control_id" | "finding_class_name" | "finding_provider" | "finding_activity_name")?,
|
|
1371
|
+
field_name: ("account_id" | "region" | "finding_types" | "finding_status" | "finding_cve_ids" | "finding_compliance_status" | "finding_control_id" | "finding_class_name" | "finding_provider" | "finding_activity_name" | "resource_cloud_providers" | "resource_regions" | "resource_owner_ids" | "resource_owner_organization_ids")?,
|
|
1327
1372
|
filter: {
|
|
1328
1373
|
value: ::String?,
|
|
1329
1374
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -1347,7 +1392,7 @@ module Aws
|
|
|
1347
1392
|
type resources_composite_filter = {
|
|
1348
1393
|
string_filters: Array[
|
|
1349
1394
|
{
|
|
1350
|
-
field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "Region" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")?,
|
|
1395
|
+
field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")?,
|
|
1351
1396
|
filter: {
|
|
1352
1397
|
value: ::String?,
|
|
1353
1398
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -1367,7 +1412,7 @@ module Aws
|
|
|
1367
1412
|
{
|
|
1368
1413
|
string_filters: Array[
|
|
1369
1414
|
{
|
|
1370
|
-
field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "Region" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")?,
|
|
1415
|
+
field_name: ("ResourceGuid" | "ResourceId" | "AccountId" | "AccountName" | "Region" | "ResourceProvider" | "ResourceOwnerAccountId" | "ResourceOwnerOrgId" | "ResourceCloudPartition" | "ResourceRegion" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName")?,
|
|
1371
1416
|
filter: {
|
|
1372
1417
|
value: ::String?,
|
|
1373
1418
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -1418,7 +1463,7 @@ module Aws
|
|
|
1418
1463
|
type resources_trends_composite_filter = {
|
|
1419
1464
|
string_filters: Array[
|
|
1420
1465
|
{
|
|
1421
|
-
field_name: ("account_id" | "region" | "resource_type" | "resource_category")?,
|
|
1466
|
+
field_name: ("account_id" | "region" | "resource_type" | "resource_category" | "resource_cloud_provider" | "resource_region" | "resource_owner_id" | "resource_owner_organization_id")?,
|
|
1422
1467
|
filter: {
|
|
1423
1468
|
value: ::String?,
|
|
1424
1469
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|
|
@@ -1429,7 +1474,7 @@ module Aws
|
|
|
1429
1474
|
{
|
|
1430
1475
|
string_filters: Array[
|
|
1431
1476
|
{
|
|
1432
|
-
field_name: ("account_id" | "region" | "resource_type" | "resource_category")?,
|
|
1477
|
+
field_name: ("account_id" | "region" | "resource_type" | "resource_category" | "resource_cloud_provider" | "resource_region" | "resource_owner_id" | "resource_owner_organization_id")?,
|
|
1433
1478
|
filter: {
|
|
1434
1479
|
value: ::String?,
|
|
1435
1480
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD")?
|