aws-sdk-securityhub 1.180.0 → 1.181.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 +181 -24
- data/lib/aws-sdk-securityhub/client_api.rb +40 -0
- data/lib/aws-sdk-securityhub/types.rb +148 -10
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +26 -8
- data/sig/params.rbs +9 -0
- data/sig/types.rbs +59 -14
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -5290,7 +5290,7 @@ module Aws::SecurityHub
|
|
|
5290
5290
|
end
|
|
5291
5291
|
|
|
5292
5292
|
class CriticalitySource
|
|
5293
|
-
attr_accessor source: ("AutomationRule" | "ResourceName" | "TagInference")
|
|
5293
|
+
attr_accessor source: ("AutomationRule" | "ResourceName" | "TagInference" | "CloudWatchTelemetryInference" | "InstalledSoftwareAndPackageInference")
|
|
5294
5294
|
attr_accessor reason: ::String
|
|
5295
5295
|
SENSITIVE: []
|
|
5296
5296
|
end
|
|
@@ -5317,28 +5317,34 @@ module Aws::SecurityHub
|
|
|
5317
5317
|
|
|
5318
5318
|
class CspmProviderConfiguration
|
|
5319
5319
|
attr_accessor azure: Types::AzureProviderConfiguration
|
|
5320
|
+
attr_accessor gcp: Types::GcpProviderConfiguration
|
|
5320
5321
|
attr_accessor unknown: untyped
|
|
5321
5322
|
SENSITIVE: []
|
|
5322
5323
|
|
|
5323
5324
|
class Azure < CspmProviderConfiguration
|
|
5324
5325
|
end
|
|
5326
|
+
class Gcp < CspmProviderConfiguration
|
|
5327
|
+
end
|
|
5325
5328
|
class Unknown < CspmProviderConfiguration
|
|
5326
5329
|
end
|
|
5327
5330
|
end
|
|
5328
5331
|
|
|
5329
5332
|
class CspmProviderDetail
|
|
5330
5333
|
attr_accessor azure: Types::AzureDetail
|
|
5334
|
+
attr_accessor gcp: Types::GcpDetail
|
|
5331
5335
|
attr_accessor unknown: untyped
|
|
5332
5336
|
SENSITIVE: []
|
|
5333
5337
|
|
|
5334
5338
|
class Azure < CspmProviderDetail
|
|
5335
5339
|
end
|
|
5340
|
+
class Gcp < CspmProviderDetail
|
|
5341
|
+
end
|
|
5336
5342
|
class Unknown < CspmProviderDetail
|
|
5337
5343
|
end
|
|
5338
5344
|
end
|
|
5339
5345
|
|
|
5340
5346
|
class CspmProviderSummary
|
|
5341
|
-
attr_accessor provider_name: ("AZURE")
|
|
5347
|
+
attr_accessor provider_name: ("AZURE" | "GCP")
|
|
5342
5348
|
attr_accessor connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "UNKNOWN")
|
|
5343
5349
|
attr_accessor provider_configuration: Types::CspmProviderDetail
|
|
5344
5350
|
SENSITIVE: []
|
|
@@ -5346,11 +5352,14 @@ module Aws::SecurityHub
|
|
|
5346
5352
|
|
|
5347
5353
|
class CspmProviderUpdateConfiguration
|
|
5348
5354
|
attr_accessor azure: Types::AzureUpdateConfiguration
|
|
5355
|
+
attr_accessor gcp: Types::GcpUpdateConfiguration
|
|
5349
5356
|
attr_accessor unknown: untyped
|
|
5350
5357
|
SENSITIVE: []
|
|
5351
5358
|
|
|
5352
5359
|
class Azure < CspmProviderUpdateConfiguration
|
|
5353
5360
|
end
|
|
5361
|
+
class Gcp < CspmProviderUpdateConfiguration
|
|
5362
|
+
end
|
|
5354
5363
|
class Unknown < CspmProviderUpdateConfiguration
|
|
5355
5364
|
end
|
|
5356
5365
|
end
|
|
@@ -5588,7 +5597,7 @@ module Aws::SecurityHub
|
|
|
5588
5597
|
class DescribeStandardsRequest
|
|
5589
5598
|
attr_accessor next_token: ::String
|
|
5590
5599
|
attr_accessor max_results: ::Integer
|
|
5591
|
-
attr_accessor providers: ::Array[("AWS" | "Azure")]
|
|
5600
|
+
attr_accessor providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
5592
5601
|
SENSITIVE: []
|
|
5593
5602
|
end
|
|
5594
5603
|
|
|
@@ -5931,6 +5940,32 @@ module Aws::SecurityHub
|
|
|
5931
5940
|
SENSITIVE: []
|
|
5932
5941
|
end
|
|
5933
5942
|
|
|
5943
|
+
class GcpDetail
|
|
5944
|
+
attr_accessor aws_config_connector_arn: ::String
|
|
5945
|
+
attr_accessor scope_configuration: Types::GcpScopeConfiguration
|
|
5946
|
+
attr_accessor gcp_regions: ::Array[::String]
|
|
5947
|
+
SENSITIVE: []
|
|
5948
|
+
end
|
|
5949
|
+
|
|
5950
|
+
class GcpProviderConfiguration
|
|
5951
|
+
attr_accessor aws_config_connector_arn: ::String
|
|
5952
|
+
attr_accessor scope_configuration: Types::GcpScopeConfiguration
|
|
5953
|
+
attr_accessor gcp_regions: ::Array[::String]
|
|
5954
|
+
SENSITIVE: []
|
|
5955
|
+
end
|
|
5956
|
+
|
|
5957
|
+
class GcpScopeConfiguration
|
|
5958
|
+
attr_accessor scope_type: ("PROJECT" | "ORGANIZATION")
|
|
5959
|
+
attr_accessor scope_values: ::Array[::String]
|
|
5960
|
+
SENSITIVE: []
|
|
5961
|
+
end
|
|
5962
|
+
|
|
5963
|
+
class GcpUpdateConfiguration
|
|
5964
|
+
attr_accessor scope_configuration: Types::GcpScopeConfiguration
|
|
5965
|
+
attr_accessor gcp_regions: ::Array[::String]
|
|
5966
|
+
SENSITIVE: []
|
|
5967
|
+
end
|
|
5968
|
+
|
|
5934
5969
|
class GenerateRecommendedPolicyV2Request
|
|
5935
5970
|
attr_accessor metadata_uid: ::String
|
|
5936
5971
|
SENSITIVE: []
|
|
@@ -6067,7 +6102,7 @@ module Aws::SecurityHub
|
|
|
6067
6102
|
attr_accessor standards_subscription_arns: ::Array[::String]
|
|
6068
6103
|
attr_accessor next_token: ::String
|
|
6069
6104
|
attr_accessor max_results: ::Integer
|
|
6070
|
-
attr_accessor providers: ::Array[("AWS" | "Azure")]
|
|
6105
|
+
attr_accessor providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
6071
6106
|
SENSITIVE: []
|
|
6072
6107
|
end
|
|
6073
6108
|
|
|
@@ -6618,7 +6653,7 @@ module Aws::SecurityHub
|
|
|
6618
6653
|
class ListConnectorsRequest
|
|
6619
6654
|
attr_accessor next_token: ::String
|
|
6620
6655
|
attr_accessor max_results: ::Integer
|
|
6621
|
-
attr_accessor provider_name: ("AZURE")
|
|
6656
|
+
attr_accessor provider_name: ("AZURE" | "GCP")
|
|
6622
6657
|
attr_accessor connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "UNKNOWN")
|
|
6623
6658
|
attr_accessor enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "PENDING_UPDATE" | "PENDING_DELETION")
|
|
6624
6659
|
SENSITIVE: []
|
|
@@ -6633,7 +6668,7 @@ module Aws::SecurityHub
|
|
|
6633
6668
|
class ListConnectorsV2Request
|
|
6634
6669
|
attr_accessor next_token: ::String
|
|
6635
6670
|
attr_accessor max_results: ::Integer
|
|
6636
|
-
attr_accessor provider_name: ("JIRA_CLOUD" | "SERVICENOW" | "AZURE")
|
|
6671
|
+
attr_accessor provider_name: ("JIRA_CLOUD" | "SERVICENOW" | "AZURE" | "GCP")
|
|
6637
6672
|
attr_accessor connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION" | "UNKNOWN")
|
|
6638
6673
|
attr_accessor enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "FAILED_TO_DELETE")
|
|
6639
6674
|
SENSITIVE: []
|
|
@@ -6757,7 +6792,7 @@ module Aws::SecurityHub
|
|
|
6757
6792
|
attr_accessor standards_arn: ::String
|
|
6758
6793
|
attr_accessor next_token: ::String
|
|
6759
6794
|
attr_accessor max_results: ::Integer
|
|
6760
|
-
attr_accessor providers: ::Array[("AWS" | "Azure")]
|
|
6795
|
+
attr_accessor providers: ::Array[("AWS" | "Azure" | "GCP")]
|
|
6761
6796
|
SENSITIVE: []
|
|
6762
6797
|
end
|
|
6763
6798
|
|
|
@@ -7144,6 +7179,7 @@ module Aws::SecurityHub
|
|
|
7144
7179
|
attr_accessor jira_cloud: Types::JiraCloudProviderConfiguration
|
|
7145
7180
|
attr_accessor service_now: Types::ServiceNowProviderConfiguration
|
|
7146
7181
|
attr_accessor azure: Types::AzureProviderConfiguration
|
|
7182
|
+
attr_accessor gcp: Types::GcpProviderConfiguration
|
|
7147
7183
|
attr_accessor unknown: untyped
|
|
7148
7184
|
SENSITIVE: []
|
|
7149
7185
|
|
|
@@ -7153,6 +7189,8 @@ module Aws::SecurityHub
|
|
|
7153
7189
|
end
|
|
7154
7190
|
class Azure < ProviderConfiguration
|
|
7155
7191
|
end
|
|
7192
|
+
class Gcp < ProviderConfiguration
|
|
7193
|
+
end
|
|
7156
7194
|
class Unknown < ProviderConfiguration
|
|
7157
7195
|
end
|
|
7158
7196
|
end
|
|
@@ -7161,6 +7199,7 @@ module Aws::SecurityHub
|
|
|
7161
7199
|
attr_accessor jira_cloud: Types::JiraCloudDetail
|
|
7162
7200
|
attr_accessor service_now: Types::ServiceNowDetail
|
|
7163
7201
|
attr_accessor azure: Types::AzureDetail
|
|
7202
|
+
attr_accessor gcp: Types::GcpDetail
|
|
7164
7203
|
attr_accessor unknown: untyped
|
|
7165
7204
|
SENSITIVE: []
|
|
7166
7205
|
|
|
@@ -7170,12 +7209,14 @@ module Aws::SecurityHub
|
|
|
7170
7209
|
end
|
|
7171
7210
|
class Azure < ProviderDetail
|
|
7172
7211
|
end
|
|
7212
|
+
class Gcp < ProviderDetail
|
|
7213
|
+
end
|
|
7173
7214
|
class Unknown < ProviderDetail
|
|
7174
7215
|
end
|
|
7175
7216
|
end
|
|
7176
7217
|
|
|
7177
7218
|
class ProviderSummary
|
|
7178
|
-
attr_accessor provider_name: ("JIRA_CLOUD" | "SERVICENOW" | "AZURE")
|
|
7219
|
+
attr_accessor provider_name: ("JIRA_CLOUD" | "SERVICENOW" | "AZURE" | "GCP")
|
|
7179
7220
|
attr_accessor connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION" | "UNKNOWN")
|
|
7180
7221
|
attr_accessor provider_configuration: Types::ProviderDetail
|
|
7181
7222
|
SENSITIVE: []
|
|
@@ -7185,6 +7226,7 @@ module Aws::SecurityHub
|
|
|
7185
7226
|
attr_accessor jira_cloud: Types::JiraCloudUpdateConfiguration
|
|
7186
7227
|
attr_accessor service_now: Types::ServiceNowUpdateConfiguration
|
|
7187
7228
|
attr_accessor azure: Types::AzureUpdateConfiguration
|
|
7229
|
+
attr_accessor gcp: Types::GcpUpdateConfiguration
|
|
7188
7230
|
attr_accessor unknown: untyped
|
|
7189
7231
|
SENSITIVE: []
|
|
7190
7232
|
|
|
@@ -7194,6 +7236,8 @@ module Aws::SecurityHub
|
|
|
7194
7236
|
end
|
|
7195
7237
|
class Azure < ProviderUpdateConfiguration
|
|
7196
7238
|
end
|
|
7239
|
+
class Gcp < ProviderUpdateConfiguration
|
|
7240
|
+
end
|
|
7197
7241
|
class Unknown < ProviderUpdateConfiguration
|
|
7198
7242
|
end
|
|
7199
7243
|
end
|
|
@@ -7345,7 +7389,7 @@ module Aws::SecurityHub
|
|
|
7345
7389
|
attr_accessor id: ::String
|
|
7346
7390
|
attr_accessor resource_guid: ::String
|
|
7347
7391
|
attr_accessor resource_region: ::String
|
|
7348
|
-
attr_accessor cloud_provider: ("Azure" | "AWS")
|
|
7392
|
+
attr_accessor cloud_provider: ("Azure" | "AWS" | "GCP")
|
|
7349
7393
|
SENSITIVE: []
|
|
7350
7394
|
end
|
|
7351
7395
|
|
|
@@ -7404,7 +7448,7 @@ module Aws::SecurityHub
|
|
|
7404
7448
|
attr_accessor id: ::String
|
|
7405
7449
|
attr_accessor partition: ("aws" | "aws-cn" | "aws-us-gov" | "aws-us-iso" | "aws-us-iso-b" | "AzureCloud")
|
|
7406
7450
|
attr_accessor region: ::String
|
|
7407
|
-
attr_accessor provider: ("Azure" | "AWS")
|
|
7451
|
+
attr_accessor provider: ("Azure" | "AWS" | "GCP")
|
|
7408
7452
|
attr_accessor owner: Types::ResourceOwner
|
|
7409
7453
|
attr_accessor resource_role: ::String
|
|
7410
7454
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
@@ -7523,6 +7567,7 @@ module Aws::SecurityHub
|
|
|
7523
7567
|
attr_accessor aws_ec2_client_vpn_endpoint: Types::AwsEc2ClientVpnEndpointDetails
|
|
7524
7568
|
attr_accessor code_repository: Types::CodeRepositoryDetails
|
|
7525
7569
|
attr_accessor azure_resource: untyped
|
|
7570
|
+
attr_accessor gcp_resource: untyped
|
|
7526
7571
|
SENSITIVE: []
|
|
7527
7572
|
end
|
|
7528
7573
|
|
|
@@ -7864,7 +7909,7 @@ module Aws::SecurityHub
|
|
|
7864
7909
|
attr_accessor update_status: ("READY" | "UPDATING")
|
|
7865
7910
|
attr_accessor parameters: ::Hash[::String, Types::ParameterConfiguration]
|
|
7866
7911
|
attr_accessor last_update_reason: ::String
|
|
7867
|
-
attr_accessor provider: ("AWS" | "Azure")
|
|
7912
|
+
attr_accessor provider: ("AWS" | "Azure" | "GCP")
|
|
7868
7913
|
SENSITIVE: []
|
|
7869
7914
|
end
|
|
7870
7915
|
|
|
@@ -7883,7 +7928,7 @@ module Aws::SecurityHub
|
|
|
7883
7928
|
attr_accessor current_region_availability: ("AVAILABLE" | "UNAVAILABLE")
|
|
7884
7929
|
attr_accessor customizable_properties: ::Array[("Parameters")]
|
|
7885
7930
|
attr_accessor parameter_definitions: ::Hash[::String, Types::ParameterDefinition]
|
|
7886
|
-
attr_accessor provider: ("AWS" | "Azure")
|
|
7931
|
+
attr_accessor provider: ("AWS" | "Azure" | "GCP")
|
|
7887
7932
|
SENSITIVE: []
|
|
7888
7933
|
end
|
|
7889
7934
|
|
|
@@ -8077,7 +8122,7 @@ module Aws::SecurityHub
|
|
|
8077
8122
|
attr_accessor name: ::String
|
|
8078
8123
|
attr_accessor description: ::String
|
|
8079
8124
|
attr_accessor enabled_by_default: bool
|
|
8080
|
-
attr_accessor provider: ("AWS" | "Azure")
|
|
8125
|
+
attr_accessor provider: ("AWS" | "Azure" | "GCP")
|
|
8081
8126
|
attr_accessor standards_managed_by: Types::StandardsManagedBy
|
|
8082
8127
|
SENSITIVE: []
|
|
8083
8128
|
end
|
|
@@ -8155,7 +8200,7 @@ module Aws::SecurityHub
|
|
|
8155
8200
|
attr_accessor standards_status: ("PENDING" | "READY" | "FAILED" | "DELETING" | "INCOMPLETE")
|
|
8156
8201
|
attr_accessor standards_controls_updatable: ("READY_FOR_UPDATES" | "NOT_READY_FOR_UPDATES")
|
|
8157
8202
|
attr_accessor standards_status_reason: Types::StandardsStatusReason
|
|
8158
|
-
attr_accessor provider: ("AWS" | "Azure")
|
|
8203
|
+
attr_accessor provider: ("AWS" | "Azure" | "GCP")
|
|
8159
8204
|
SENSITIVE: []
|
|
8160
8205
|
end
|
|
8161
8206
|
|