aws-sdk-securityhub 1.180.0 → 1.182.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 +10 -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 +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd551bb46b86f7dbafbe84c19ca171f9c9a4e69ef9784df56991d8ffa3bf9e4a
|
|
4
|
+
data.tar.gz: 1dcbbe9bdd60005199fb9b98b876a945bf283022a12e369d6e42462803e5ec4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 021b8380fd34ef3e4817c5c5731bbde62604ad158ebda2e7b9cdc5d8630820b3292cb70a9933427b8af2f098e25198aef4cd1b7b0041ca8b34b74a127e6bff91
|
|
7
|
+
data.tar.gz: 825a8bbf532521b636b5a788d47c9e68b49cd49dade802cac9bba1b6b138c4367f1ca09ef49e9b521599413b847d6b5c8fe59ddf8bb27e7aa9a65b49983217b6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.182.0 (2026-11-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.181.0 (2026-11-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Security Hub now supports Google Cloud. Use connector APIs to connect GCP organizations or projects and monitor their security posture. It also infers resource criticality from tags, CloudWatch metrics, and SBOM data to help you prioritize findings
|
|
13
|
+
|
|
4
14
|
1.180.0 (2026-11-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.182.0
|
|
@@ -710,7 +710,7 @@ module Aws::SecurityHub
|
|
|
710
710
|
# resp.standards_subscriptions[0].standards_status #=> String, one of "PENDING", "READY", "FAILED", "DELETING", "INCOMPLETE"
|
|
711
711
|
# resp.standards_subscriptions[0].standards_controls_updatable #=> String, one of "READY_FOR_UPDATES", "NOT_READY_FOR_UPDATES"
|
|
712
712
|
# resp.standards_subscriptions[0].standards_status_reason.status_reason_code #=> String, one of "NO_AVAILABLE_CONFIGURATION_RECORDER", "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED", "NO_AVAILABLE_MULTICLOUD_CONNECTOR", "INTERNAL_ERROR"
|
|
713
|
-
# resp.standards_subscriptions[0].provider #=> String, one of "AWS", "Azure"
|
|
713
|
+
# resp.standards_subscriptions[0].provider #=> String, one of "AWS", "Azure", "GCP"
|
|
714
714
|
#
|
|
715
715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandards AWS API Documentation
|
|
716
716
|
#
|
|
@@ -790,7 +790,7 @@ module Aws::SecurityHub
|
|
|
790
790
|
# resp.standards_subscriptions[0].standards_status #=> String, one of "PENDING", "READY", "FAILED", "DELETING", "INCOMPLETE"
|
|
791
791
|
# resp.standards_subscriptions[0].standards_controls_updatable #=> String, one of "READY_FOR_UPDATES", "NOT_READY_FOR_UPDATES"
|
|
792
792
|
# resp.standards_subscriptions[0].standards_status_reason.status_reason_code #=> String, one of "NO_AVAILABLE_CONFIGURATION_RECORDER", "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED", "NO_AVAILABLE_MULTICLOUD_CONNECTOR", "INTERNAL_ERROR"
|
|
793
|
-
# resp.standards_subscriptions[0].provider #=> String, one of "AWS", "Azure"
|
|
793
|
+
# resp.standards_subscriptions[0].provider #=> String, one of "AWS", "Azure", "GCP"
|
|
794
794
|
#
|
|
795
795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandards AWS API Documentation
|
|
796
796
|
#
|
|
@@ -1307,7 +1307,7 @@ module Aws::SecurityHub
|
|
|
1307
1307
|
# resp.security_controls[0].parameters["NonEmptyString"].value.enum_list #=> Array
|
|
1308
1308
|
# resp.security_controls[0].parameters["NonEmptyString"].value.enum_list[0] #=> String
|
|
1309
1309
|
# resp.security_controls[0].last_update_reason #=> String
|
|
1310
|
-
# resp.security_controls[0].provider #=> String, one of "AWS", "Azure"
|
|
1310
|
+
# resp.security_controls[0].provider #=> String, one of "AWS", "Azure", "GCP"
|
|
1311
1311
|
# resp.unprocessed_ids #=> Array
|
|
1312
1312
|
# resp.unprocessed_ids[0].security_control_id #=> String
|
|
1313
1313
|
# resp.unprocessed_ids[0].error_code #=> String, one of "INVALID_INPUT", "ACCESS_DENIED", "NOT_FOUND", "RESOURCE_NOT_FOUND", "LIMIT_EXCEEDED"
|
|
@@ -3467,6 +3467,14 @@ module Aws::SecurityHub
|
|
|
3467
3467
|
# },
|
|
3468
3468
|
# azure_regions: ["NonEmptyString"], # required
|
|
3469
3469
|
# },
|
|
3470
|
+
# gcp: {
|
|
3471
|
+
# aws_config_connector_arn: "NonEmptyString", # required
|
|
3472
|
+
# scope_configuration: { # required
|
|
3473
|
+
# scope_type: "PROJECT", # required, accepts PROJECT, ORGANIZATION
|
|
3474
|
+
# scope_values: ["NonEmptyString"],
|
|
3475
|
+
# },
|
|
3476
|
+
# gcp_regions: ["NonEmptyString"], # required
|
|
3477
|
+
# },
|
|
3470
3478
|
# },
|
|
3471
3479
|
# tags: {
|
|
3472
3480
|
# "TagKey" => "TagValue",
|
|
@@ -3543,6 +3551,14 @@ module Aws::SecurityHub
|
|
|
3543
3551
|
# },
|
|
3544
3552
|
# azure_regions: ["NonEmptyString"], # required
|
|
3545
3553
|
# },
|
|
3554
|
+
# gcp: {
|
|
3555
|
+
# aws_config_connector_arn: "NonEmptyString", # required
|
|
3556
|
+
# scope_configuration: { # required
|
|
3557
|
+
# scope_type: "PROJECT", # required, accepts PROJECT, ORGANIZATION
|
|
3558
|
+
# scope_values: ["NonEmptyString"],
|
|
3559
|
+
# },
|
|
3560
|
+
# gcp_regions: ["NonEmptyString"], # required
|
|
3561
|
+
# },
|
|
3546
3562
|
# },
|
|
3547
3563
|
# kms_key_arn: "NonEmptyString",
|
|
3548
3564
|
# tags: {
|
|
@@ -5480,6 +5496,7 @@ module Aws::SecurityHub
|
|
|
5480
5496
|
# @option params [Array<String>] :providers
|
|
5481
5497
|
# A list of cloud providers to filter the standards by. For example,
|
|
5482
5498
|
# specify `Azure` to return only standards that evaluate Azure
|
|
5499
|
+
# resources, or `GCP` to return only standards that evaluate GCP
|
|
5483
5500
|
# resources.
|
|
5484
5501
|
#
|
|
5485
5502
|
# @return [Types::DescribeStandardsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
@@ -5555,6 +5572,17 @@ module Aws::SecurityHub
|
|
|
5555
5572
|
# product: "Security Hub",
|
|
5556
5573
|
# },
|
|
5557
5574
|
# },
|
|
5575
|
+
# {
|
|
5576
|
+
# description: "The Center for Internet Security (CIS) Google Cloud Platform Foundation Benchmark v4.0.0 is a set of security configuration best practices for Google Cloud Platform. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
|
|
5577
|
+
# enabled_by_default: false,
|
|
5578
|
+
# name: "CIS Google Cloud Platform Foundation Benchmark v4.0.0",
|
|
5579
|
+
# provider: "GCP",
|
|
5580
|
+
# standards_arn: "arn:aws:securityhub:us-west-1::standards/cis-gcp-foundation-benchmark/v/4.0.0",
|
|
5581
|
+
# standards_managed_by: {
|
|
5582
|
+
# company: "AWS",
|
|
5583
|
+
# product: "Security Hub",
|
|
5584
|
+
# },
|
|
5585
|
+
# },
|
|
5558
5586
|
# ],
|
|
5559
5587
|
# }
|
|
5560
5588
|
#
|
|
@@ -5585,12 +5613,39 @@ module Aws::SecurityHub
|
|
|
5585
5613
|
# ],
|
|
5586
5614
|
# }
|
|
5587
5615
|
#
|
|
5616
|
+
# @example Example: To get available GCP security standards
|
|
5617
|
+
#
|
|
5618
|
+
# # The following example returns a list of available security standards from a specified provider.
|
|
5619
|
+
#
|
|
5620
|
+
# resp = client.describe_standards({
|
|
5621
|
+
# providers: [
|
|
5622
|
+
# "GCP",
|
|
5623
|
+
# ],
|
|
5624
|
+
# })
|
|
5625
|
+
#
|
|
5626
|
+
# resp.to_h outputs the following:
|
|
5627
|
+
# {
|
|
5628
|
+
# standards: [
|
|
5629
|
+
# {
|
|
5630
|
+
# description: "The Center for Internet Security (CIS) Google Cloud Platform Foundation Benchmark v4.0.0 is a set of security configuration best practices for Google Cloud Platform. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
|
|
5631
|
+
# enabled_by_default: false,
|
|
5632
|
+
# name: "CIS Google Cloud Platform Foundation Benchmark v4.0.0",
|
|
5633
|
+
# provider: "GCP",
|
|
5634
|
+
# standards_arn: "arn:aws:securityhub:us-west-1::standards/cis-gcp-foundation-benchmark/v/4.0.0",
|
|
5635
|
+
# standards_managed_by: {
|
|
5636
|
+
# company: "AWS",
|
|
5637
|
+
# product: "Security Hub",
|
|
5638
|
+
# },
|
|
5639
|
+
# },
|
|
5640
|
+
# ],
|
|
5641
|
+
# }
|
|
5642
|
+
#
|
|
5588
5643
|
# @example Request syntax with placeholder values
|
|
5589
5644
|
#
|
|
5590
5645
|
# resp = client.describe_standards({
|
|
5591
5646
|
# next_token: "NextToken",
|
|
5592
5647
|
# max_results: 1,
|
|
5593
|
-
# providers: ["AWS"], # accepts AWS, Azure
|
|
5648
|
+
# providers: ["AWS"], # accepts AWS, Azure, GCP
|
|
5594
5649
|
# })
|
|
5595
5650
|
#
|
|
5596
5651
|
# @example Response structure
|
|
@@ -5600,7 +5655,7 @@ module Aws::SecurityHub
|
|
|
5600
5655
|
# resp.standards[0].name #=> String
|
|
5601
5656
|
# resp.standards[0].description #=> String
|
|
5602
5657
|
# resp.standards[0].enabled_by_default #=> Boolean
|
|
5603
|
-
# resp.standards[0].provider #=> String, one of "AWS", "Azure"
|
|
5658
|
+
# resp.standards[0].provider #=> String, one of "AWS", "Azure", "GCP"
|
|
5604
5659
|
# resp.standards[0].standards_managed_by.company #=> String
|
|
5605
5660
|
# resp.standards[0].standards_managed_by.product #=> String
|
|
5606
5661
|
# resp.next_token #=> String
|
|
@@ -6693,6 +6748,12 @@ module Aws::SecurityHub
|
|
|
6693
6748
|
# resp.provider_detail.azure.scope_configuration.scope_values[0] #=> String
|
|
6694
6749
|
# resp.provider_detail.azure.azure_regions #=> Array
|
|
6695
6750
|
# resp.provider_detail.azure.azure_regions[0] #=> String
|
|
6751
|
+
# resp.provider_detail.gcp.aws_config_connector_arn #=> String
|
|
6752
|
+
# resp.provider_detail.gcp.scope_configuration.scope_type #=> String, one of "PROJECT", "ORGANIZATION"
|
|
6753
|
+
# resp.provider_detail.gcp.scope_configuration.scope_values #=> Array
|
|
6754
|
+
# resp.provider_detail.gcp.scope_configuration.scope_values[0] #=> String
|
|
6755
|
+
# resp.provider_detail.gcp.gcp_regions #=> Array
|
|
6756
|
+
# resp.provider_detail.gcp.gcp_regions[0] #=> String
|
|
6696
6757
|
# resp.created_by #=> String
|
|
6697
6758
|
# resp.enablement_status #=> String, one of "ENABLED", "PENDING_ENABLEMENT", "PENDING_UPDATE", "PENDING_DELETION"
|
|
6698
6759
|
#
|
|
@@ -6760,6 +6821,12 @@ module Aws::SecurityHub
|
|
|
6760
6821
|
# resp.provider_detail.azure.scope_configuration.scope_values[0] #=> String
|
|
6761
6822
|
# resp.provider_detail.azure.azure_regions #=> Array
|
|
6762
6823
|
# resp.provider_detail.azure.azure_regions[0] #=> String
|
|
6824
|
+
# resp.provider_detail.gcp.aws_config_connector_arn #=> String
|
|
6825
|
+
# resp.provider_detail.gcp.scope_configuration.scope_type #=> String, one of "PROJECT", "ORGANIZATION"
|
|
6826
|
+
# resp.provider_detail.gcp.scope_configuration.scope_values #=> Array
|
|
6827
|
+
# resp.provider_detail.gcp.scope_configuration.scope_values[0] #=> String
|
|
6828
|
+
# resp.provider_detail.gcp.gcp_regions #=> Array
|
|
6829
|
+
# resp.provider_detail.gcp.gcp_regions[0] #=> String
|
|
6763
6830
|
# resp.enablement_status #=> String, one of "ENABLED", "PENDING_ENABLEMENT", "FAILED_TO_ENABLE", "PENDING_UPDATE", "FAILED_TO_UPDATE", "PENDING_DELETION", "FAILED_TO_DELETE"
|
|
6764
6831
|
# resp.enablement_status_reason #=> String
|
|
6765
6832
|
#
|
|
@@ -6793,7 +6860,8 @@ module Aws::SecurityHub
|
|
|
6793
6860
|
# @option params [Array<String>] :providers
|
|
6794
6861
|
# A list of cloud providers to filter the enabled standards by. For
|
|
6795
6862
|
# example, specify `Azure` to return only enabled standards that
|
|
6796
|
-
# evaluate Azure resources
|
|
6863
|
+
# evaluate Azure resources, or `GCP` to return only enabled standards
|
|
6864
|
+
# that evaluate GCP resources.
|
|
6797
6865
|
#
|
|
6798
6866
|
# @return [Types::GetEnabledStandardsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6799
6867
|
#
|
|
@@ -6833,7 +6901,7 @@ module Aws::SecurityHub
|
|
|
6833
6901
|
# standards_subscription_arns: ["NonEmptyString"],
|
|
6834
6902
|
# next_token: "NextToken",
|
|
6835
6903
|
# max_results: 1,
|
|
6836
|
-
# providers: ["AWS"], # accepts AWS, Azure
|
|
6904
|
+
# providers: ["AWS"], # accepts AWS, Azure, GCP
|
|
6837
6905
|
# })
|
|
6838
6906
|
#
|
|
6839
6907
|
# @example Response structure
|
|
@@ -6846,7 +6914,7 @@ module Aws::SecurityHub
|
|
|
6846
6914
|
# resp.standards_subscriptions[0].standards_status #=> String, one of "PENDING", "READY", "FAILED", "DELETING", "INCOMPLETE"
|
|
6847
6915
|
# resp.standards_subscriptions[0].standards_controls_updatable #=> String, one of "READY_FOR_UPDATES", "NOT_READY_FOR_UPDATES"
|
|
6848
6916
|
# resp.standards_subscriptions[0].standards_status_reason.status_reason_code #=> String, one of "NO_AVAILABLE_CONFIGURATION_RECORDER", "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED", "NO_AVAILABLE_MULTICLOUD_CONNECTOR", "INTERNAL_ERROR"
|
|
6849
|
-
# resp.standards_subscriptions[0].provider #=> String, one of "AWS", "Azure"
|
|
6917
|
+
# resp.standards_subscriptions[0].provider #=> String, one of "AWS", "Azure", "GCP"
|
|
6850
6918
|
# resp.next_token #=> String
|
|
6851
6919
|
#
|
|
6852
6920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards AWS API Documentation
|
|
@@ -9448,7 +9516,7 @@ module Aws::SecurityHub
|
|
|
9448
9516
|
# resp.items[0].resource.id #=> String
|
|
9449
9517
|
# resp.items[0].resource.resource_guid #=> String
|
|
9450
9518
|
# resp.items[0].resource.resource_region #=> String
|
|
9451
|
-
# resp.items[0].resource.cloud_provider #=> String, one of "Azure", "AWS"
|
|
9519
|
+
# resp.items[0].resource.cloud_provider #=> String, one of "Azure", "AWS", "GCP"
|
|
9452
9520
|
# resp.items[0].status #=> String, one of "New", "Updated", "Resolved"
|
|
9453
9521
|
# resp.items[0].trait.type #=> String
|
|
9454
9522
|
# resp.items[0].trait.title #=> String
|
|
@@ -9907,7 +9975,7 @@ module Aws::SecurityHub
|
|
|
9907
9975
|
# resp.resources[0].resource_info.ai_details.self_hosted_total_ai_resource_count #=> Integer
|
|
9908
9976
|
# resp.resources[0].resource_criticality #=> String, one of "Very High", "High", "Medium", "Low", "Unknown"
|
|
9909
9977
|
# resp.resources[0].criticality_sources #=> Array
|
|
9910
|
-
# resp.resources[0].criticality_sources[0].source #=> String, one of "AutomationRule", "ResourceName", "TagInference"
|
|
9978
|
+
# resp.resources[0].criticality_sources[0].source #=> String, one of "AutomationRule", "ResourceName", "TagInference", "CloudWatchTelemetryInference", "InstalledSoftwareAndPackageInference"
|
|
9911
9979
|
# resp.resources[0].criticality_sources[0].reason #=> String
|
|
9912
9980
|
# resp.next_token #=> String
|
|
9913
9981
|
#
|
|
@@ -10012,7 +10080,7 @@ module Aws::SecurityHub
|
|
|
10012
10080
|
# resp.security_control_definition.parameter_definitions["NonEmptyString"].configuration_options.enum_list.max_items #=> Integer
|
|
10013
10081
|
# resp.security_control_definition.parameter_definitions["NonEmptyString"].configuration_options.enum_list.allowed_values #=> Array
|
|
10014
10082
|
# resp.security_control_definition.parameter_definitions["NonEmptyString"].configuration_options.enum_list.allowed_values[0] #=> String
|
|
10015
|
-
# resp.security_control_definition.provider #=> String, one of "AWS", "Azure"
|
|
10083
|
+
# resp.security_control_definition.provider #=> String, one of "AWS", "Azure", "GCP"
|
|
10016
10084
|
#
|
|
10017
10085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetSecurityControlDefinition AWS API Documentation
|
|
10018
10086
|
#
|
|
@@ -10876,7 +10944,7 @@ module Aws::SecurityHub
|
|
|
10876
10944
|
# resp = client.list_connectors({
|
|
10877
10945
|
# next_token: "NextToken",
|
|
10878
10946
|
# max_results: 1,
|
|
10879
|
-
# provider_name: "AZURE", # accepts AZURE
|
|
10947
|
+
# provider_name: "AZURE", # accepts AZURE, GCP
|
|
10880
10948
|
# connector_status: "CONNECTED", # accepts CONNECTED, DEGRADED, FAILED_TO_CONNECT, UNKNOWN
|
|
10881
10949
|
# enablement_status: "ENABLED", # accepts ENABLED, PENDING_ENABLEMENT, PENDING_UPDATE, PENDING_DELETION
|
|
10882
10950
|
# })
|
|
@@ -10889,7 +10957,7 @@ module Aws::SecurityHub
|
|
|
10889
10957
|
# resp.connectors[0].connector_id #=> String
|
|
10890
10958
|
# resp.connectors[0].name #=> String
|
|
10891
10959
|
# resp.connectors[0].description #=> String
|
|
10892
|
-
# resp.connectors[0].provider_summary.provider_name #=> String, one of "AZURE"
|
|
10960
|
+
# resp.connectors[0].provider_summary.provider_name #=> String, one of "AZURE", "GCP"
|
|
10893
10961
|
# resp.connectors[0].provider_summary.connector_status #=> String, one of "CONNECTED", "DEGRADED", "FAILED_TO_CONNECT", "UNKNOWN"
|
|
10894
10962
|
# resp.connectors[0].provider_summary.provider_configuration.azure.aws_config_connector_arn #=> String
|
|
10895
10963
|
# resp.connectors[0].provider_summary.provider_configuration.azure.scope_configuration.scope_type #=> String, one of "TENANT", "SUBSCRIPTION"
|
|
@@ -10897,6 +10965,12 @@ module Aws::SecurityHub
|
|
|
10897
10965
|
# resp.connectors[0].provider_summary.provider_configuration.azure.scope_configuration.scope_values[0] #=> String
|
|
10898
10966
|
# resp.connectors[0].provider_summary.provider_configuration.azure.azure_regions #=> Array
|
|
10899
10967
|
# resp.connectors[0].provider_summary.provider_configuration.azure.azure_regions[0] #=> String
|
|
10968
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.aws_config_connector_arn #=> String
|
|
10969
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.scope_configuration.scope_type #=> String, one of "PROJECT", "ORGANIZATION"
|
|
10970
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.scope_configuration.scope_values #=> Array
|
|
10971
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.scope_configuration.scope_values[0] #=> String
|
|
10972
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.gcp_regions #=> Array
|
|
10973
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.gcp_regions[0] #=> String
|
|
10900
10974
|
# resp.connectors[0].created_at #=> Time
|
|
10901
10975
|
# resp.connectors[0].created_by #=> String
|
|
10902
10976
|
# resp.connectors[0].enablement_status #=> String, one of "ENABLED", "PENDING_ENABLEMENT", "PENDING_UPDATE", "PENDING_DELETION"
|
|
@@ -10938,7 +11012,7 @@ module Aws::SecurityHub
|
|
|
10938
11012
|
# resp = client.list_connectors_v2({
|
|
10939
11013
|
# next_token: "NextToken",
|
|
10940
11014
|
# max_results: 1,
|
|
10941
|
-
# provider_name: "JIRA_CLOUD", # accepts JIRA_CLOUD, SERVICENOW, AZURE
|
|
11015
|
+
# provider_name: "JIRA_CLOUD", # accepts JIRA_CLOUD, SERVICENOW, AZURE, GCP
|
|
10942
11016
|
# connector_status: "CONNECTED", # accepts CONNECTED, DEGRADED, FAILED_TO_CONNECT, PENDING_AUTHORIZATION, PENDING_CONFIGURATION, UNKNOWN
|
|
10943
11017
|
# enablement_status: "ENABLED", # accepts ENABLED, PENDING_ENABLEMENT, FAILED_TO_ENABLE, PENDING_UPDATE, FAILED_TO_UPDATE, PENDING_DELETION, FAILED_TO_DELETE
|
|
10944
11018
|
# })
|
|
@@ -10951,7 +11025,7 @@ module Aws::SecurityHub
|
|
|
10951
11025
|
# resp.connectors[0].connector_id #=> String
|
|
10952
11026
|
# resp.connectors[0].name #=> String
|
|
10953
11027
|
# resp.connectors[0].description #=> String
|
|
10954
|
-
# resp.connectors[0].provider_summary.provider_name #=> String, one of "JIRA_CLOUD", "SERVICENOW", "AZURE"
|
|
11028
|
+
# resp.connectors[0].provider_summary.provider_name #=> String, one of "JIRA_CLOUD", "SERVICENOW", "AZURE", "GCP"
|
|
10955
11029
|
# resp.connectors[0].provider_summary.connector_status #=> String, one of "CONNECTED", "DEGRADED", "FAILED_TO_CONNECT", "PENDING_AUTHORIZATION", "PENDING_CONFIGURATION", "UNKNOWN"
|
|
10956
11030
|
# resp.connectors[0].provider_summary.provider_configuration.jira_cloud.cloud_id #=> String
|
|
10957
11031
|
# resp.connectors[0].provider_summary.provider_configuration.jira_cloud.project_key #=> String
|
|
@@ -10967,6 +11041,12 @@ module Aws::SecurityHub
|
|
|
10967
11041
|
# resp.connectors[0].provider_summary.provider_configuration.azure.scope_configuration.scope_values[0] #=> String
|
|
10968
11042
|
# resp.connectors[0].provider_summary.provider_configuration.azure.azure_regions #=> Array
|
|
10969
11043
|
# resp.connectors[0].provider_summary.provider_configuration.azure.azure_regions[0] #=> String
|
|
11044
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.aws_config_connector_arn #=> String
|
|
11045
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.scope_configuration.scope_type #=> String, one of "PROJECT", "ORGANIZATION"
|
|
11046
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.scope_configuration.scope_values #=> Array
|
|
11047
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.scope_configuration.scope_values[0] #=> String
|
|
11048
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.gcp_regions #=> Array
|
|
11049
|
+
# resp.connectors[0].provider_summary.provider_configuration.gcp.gcp_regions[0] #=> String
|
|
10970
11050
|
# resp.connectors[0].created_at #=> Time
|
|
10971
11051
|
# resp.connectors[0].enablement_status #=> String, one of "ENABLED", "PENDING_ENABLEMENT", "FAILED_TO_ENABLE", "PENDING_UPDATE", "FAILED_TO_UPDATE", "PENDING_DELETION", "FAILED_TO_DELETE"
|
|
10972
11052
|
# resp.connectors[0].enablement_status_reason #=> String
|
|
@@ -11209,7 +11289,7 @@ module Aws::SecurityHub
|
|
|
11209
11289
|
# resp.resource.id #=> String
|
|
11210
11290
|
# resp.resource.resource_guid #=> String
|
|
11211
11291
|
# resp.resource.resource_region #=> String
|
|
11212
|
-
# resp.resource.cloud_provider #=> String, one of "Azure", "AWS"
|
|
11292
|
+
# resp.resource.cloud_provider #=> String, one of "Azure", "AWS", "GCP"
|
|
11213
11293
|
# resp.total_count #=> Integer
|
|
11214
11294
|
# resp.trait.type #=> String
|
|
11215
11295
|
# resp.trait.title #=> String
|
|
@@ -11615,7 +11695,8 @@ module Aws::SecurityHub
|
|
|
11615
11695
|
# @option params [Array<String>] :providers
|
|
11616
11696
|
# A list of cloud providers to filter the security control definitions
|
|
11617
11697
|
# by. For example, specify `Azure` to return only controls that evaluate
|
|
11618
|
-
# Azure resources
|
|
11698
|
+
# Azure resources, or `GCP` to return only controls that evaluate GCP
|
|
11699
|
+
# resources.
|
|
11619
11700
|
#
|
|
11620
11701
|
# @return [Types::ListSecurityControlDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11621
11702
|
#
|
|
@@ -11678,11 +11759,22 @@ module Aws::SecurityHub
|
|
|
11678
11759
|
# ],
|
|
11679
11760
|
# description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
11680
11761
|
# provider: "Azure",
|
|
11681
|
-
# remediation_url: "https://
|
|
11762
|
+
# remediation_url: "https://learn.microsoft.com/en-us/azure/container-apps/managed-identity",
|
|
11682
11763
|
# security_control_id: "Azure.App.1",
|
|
11683
11764
|
# severity_rating: "MEDIUM",
|
|
11684
11765
|
# title: "Azure Container Apps with managed identity enabled should follow least privilege",
|
|
11685
11766
|
# },
|
|
11767
|
+
# {
|
|
11768
|
+
# current_region_availability: "AVAILABLE",
|
|
11769
|
+
# customizable_properties: [
|
|
11770
|
+
# ],
|
|
11771
|
+
# description: "This control checks whether any GCP API keys exist. The control fails if an API key exists.",
|
|
11772
|
+
# provider: "GCP",
|
|
11773
|
+
# remediation_url: "https://cloud.google.com/sdk/gcloud/reference/services/api-keys/delete",
|
|
11774
|
+
# security_control_id: "GCP.ApiKeys.1",
|
|
11775
|
+
# severity_rating: "MEDIUM",
|
|
11776
|
+
# title: "GCP API keys should not exist",
|
|
11777
|
+
# },
|
|
11686
11778
|
# ],
|
|
11687
11779
|
# }
|
|
11688
11780
|
#
|
|
@@ -11707,7 +11799,7 @@ module Aws::SecurityHub
|
|
|
11707
11799
|
# ],
|
|
11708
11800
|
# description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
|
|
11709
11801
|
# provider: "Azure",
|
|
11710
|
-
# remediation_url: "https://
|
|
11802
|
+
# remediation_url: "https://learn.microsoft.com/en-us/azure/container-apps/managed-identity",
|
|
11711
11803
|
# security_control_id: "Azure.App.1",
|
|
11712
11804
|
# severity_rating: "MEDIUM",
|
|
11713
11805
|
# title: "Azure Container Apps with managed identity enabled should follow least privilege",
|
|
@@ -11718,7 +11810,7 @@ module Aws::SecurityHub
|
|
|
11718
11810
|
# ],
|
|
11719
11811
|
# description: "This control checks whether an Azure Container App passes Azure SDK credentials as plain-text container environment variables. The control fails if any container (including initContainers) defines AZURE_CLIENT_SECRET, AZURE_CLIENT_CERTIFICATE_PASSWORD, or AZURE_PASSWORD as a plain-text environment variable instead of referencing a secret via secretRef.",
|
|
11720
11812
|
# provider: "Azure",
|
|
11721
|
-
# remediation_url: "https://
|
|
11813
|
+
# remediation_url: "https://learn.microsoft.com/en-us/azure/container-apps/manage-secrets",
|
|
11722
11814
|
# security_control_id: "Azure.App.2",
|
|
11723
11815
|
# severity_rating: "CRITICAL",
|
|
11724
11816
|
# title: "Azure Container Apps should not pass Azure SDK credentials as environment variables",
|
|
@@ -11729,7 +11821,7 @@ module Aws::SecurityHub
|
|
|
11729
11821
|
# ],
|
|
11730
11822
|
# description: "This control checks whether Azure Container Apps have external ingress configured. The control fails if the Container App ingress is set to accept traffic from anywhere (external).",
|
|
11731
11823
|
# provider: "Azure",
|
|
11732
|
-
# remediation_url: "https://
|
|
11824
|
+
# remediation_url: "https://learn.microsoft.com/en-us/azure/container-apps/ingress-how-to",
|
|
11733
11825
|
# security_control_id: "Azure.App.3",
|
|
11734
11826
|
# severity_rating: "HIGH",
|
|
11735
11827
|
# title: "Azure Container Apps should not have external ingress enabled",
|
|
@@ -11737,13 +11829,64 @@ module Aws::SecurityHub
|
|
|
11737
11829
|
# ],
|
|
11738
11830
|
# }
|
|
11739
11831
|
#
|
|
11832
|
+
# @example Example: To list GCP security control definitions
|
|
11833
|
+
#
|
|
11834
|
+
# # The following example lists security control definitions for a specified provider.
|
|
11835
|
+
#
|
|
11836
|
+
# resp = client.list_security_control_definitions({
|
|
11837
|
+
# max_results: 3,
|
|
11838
|
+
# providers: [
|
|
11839
|
+
# "GCP",
|
|
11840
|
+
# ],
|
|
11841
|
+
# })
|
|
11842
|
+
#
|
|
11843
|
+
# resp.to_h outputs the following:
|
|
11844
|
+
# {
|
|
11845
|
+
# next_token: "U2FsdGVkX1...",
|
|
11846
|
+
# security_control_definitions: [
|
|
11847
|
+
# {
|
|
11848
|
+
# current_region_availability: "AVAILABLE",
|
|
11849
|
+
# customizable_properties: [
|
|
11850
|
+
# ],
|
|
11851
|
+
# description: "This control checks whether any GCP API keys exist. The control fails if an API key exists.",
|
|
11852
|
+
# provider: "GCP",
|
|
11853
|
+
# remediation_url: "https://cloud.google.com/sdk/gcloud/reference/services/api-keys/delete",
|
|
11854
|
+
# security_control_id: "GCP.ApiKeys.1",
|
|
11855
|
+
# severity_rating: "MEDIUM",
|
|
11856
|
+
# title: "GCP API keys should not exist",
|
|
11857
|
+
# },
|
|
11858
|
+
# {
|
|
11859
|
+
# current_region_availability: "AVAILABLE",
|
|
11860
|
+
# customizable_properties: [
|
|
11861
|
+
# ],
|
|
11862
|
+
# description: "This control checks whether a GCP API key restricts which hosts or apps may use it. The control fails if the key has no HTTP referrer, IP address, Android app, or iOS app restriction, or if any allowed HTTP referrer or IP address is effectively open. A referrer is effectively open when its host is * or a wildcard over a top-level domain, such as https://* or *.com. An IP address is effectively open when it allows any host, such as 0.0.0.0, 0.0.0.0/0, ::, or ::/0. A single open entry fails the key even when specific entries are also listed, because the key accepts a request that matches any entry.",
|
|
11863
|
+
# provider: "GCP",
|
|
11864
|
+
# remediation_url: "https://cloud.google.com/docs/authentication/api-keys#adding-application-restrictions",
|
|
11865
|
+
# security_control_id: "GCP.ApiKeys.2",
|
|
11866
|
+
# severity_rating: "MEDIUM",
|
|
11867
|
+
# title: "GCP API keys should be restricted to specified hosts and apps",
|
|
11868
|
+
# },
|
|
11869
|
+
# {
|
|
11870
|
+
# current_region_availability: "AVAILABLE",
|
|
11871
|
+
# customizable_properties: [
|
|
11872
|
+
# ],
|
|
11873
|
+
# description: "This control checks whether a GCP API key is restricted to only the specific APIs an application needs. The control fails if the key declares no restrictions.apiTargets entries, or if any entry targets the broad cloudapis.googleapis.com service, which allows the key to call every enabled service.",
|
|
11874
|
+
# provider: "GCP",
|
|
11875
|
+
# remediation_url: "https://cloud.google.com/docs/authentication/api-keys#adding-api-restrictions",
|
|
11876
|
+
# security_control_id: "GCP.ApiKeys.3",
|
|
11877
|
+
# severity_rating: "HIGH",
|
|
11878
|
+
# title: "GCP API keys should be restricted to only the APIs an application needs",
|
|
11879
|
+
# },
|
|
11880
|
+
# ],
|
|
11881
|
+
# }
|
|
11882
|
+
#
|
|
11740
11883
|
# @example Request syntax with placeholder values
|
|
11741
11884
|
#
|
|
11742
11885
|
# resp = client.list_security_control_definitions({
|
|
11743
11886
|
# standards_arn: "NonEmptyString",
|
|
11744
11887
|
# next_token: "NextToken",
|
|
11745
11888
|
# max_results: 1,
|
|
11746
|
-
# providers: ["AWS"], # accepts AWS, Azure
|
|
11889
|
+
# providers: ["AWS"], # accepts AWS, Azure, GCP
|
|
11747
11890
|
# })
|
|
11748
11891
|
#
|
|
11749
11892
|
# @example Response structure
|
|
@@ -11787,7 +11930,7 @@ module Aws::SecurityHub
|
|
|
11787
11930
|
# resp.security_control_definitions[0].parameter_definitions["NonEmptyString"].configuration_options.enum_list.max_items #=> Integer
|
|
11788
11931
|
# resp.security_control_definitions[0].parameter_definitions["NonEmptyString"].configuration_options.enum_list.allowed_values #=> Array
|
|
11789
11932
|
# resp.security_control_definitions[0].parameter_definitions["NonEmptyString"].configuration_options.enum_list.allowed_values[0] #=> String
|
|
11790
|
-
# resp.security_control_definitions[0].provider #=> String, one of "AWS", "Azure"
|
|
11933
|
+
# resp.security_control_definitions[0].provider #=> String, one of "AWS", "Azure", "GCP"
|
|
11791
11934
|
# resp.next_token #=> String
|
|
11792
11935
|
#
|
|
11793
11936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListSecurityControlDefinitions AWS API Documentation
|
|
@@ -13046,6 +13189,13 @@ module Aws::SecurityHub
|
|
|
13046
13189
|
# },
|
|
13047
13190
|
# azure_regions: ["NonEmptyString"], # required
|
|
13048
13191
|
# },
|
|
13192
|
+
# gcp: {
|
|
13193
|
+
# scope_configuration: { # required
|
|
13194
|
+
# scope_type: "PROJECT", # required, accepts PROJECT, ORGANIZATION
|
|
13195
|
+
# scope_values: ["NonEmptyString"],
|
|
13196
|
+
# },
|
|
13197
|
+
# gcp_regions: ["NonEmptyString"], # required
|
|
13198
|
+
# },
|
|
13049
13199
|
# },
|
|
13050
13200
|
# })
|
|
13051
13201
|
#
|
|
@@ -13099,6 +13249,13 @@ module Aws::SecurityHub
|
|
|
13099
13249
|
# },
|
|
13100
13250
|
# azure_regions: ["NonEmptyString"], # required
|
|
13101
13251
|
# },
|
|
13252
|
+
# gcp: {
|
|
13253
|
+
# scope_configuration: { # required
|
|
13254
|
+
# scope_type: "PROJECT", # required, accepts PROJECT, ORGANIZATION
|
|
13255
|
+
# scope_values: ["NonEmptyString"],
|
|
13256
|
+
# },
|
|
13257
|
+
# gcp_regions: ["NonEmptyString"], # required
|
|
13258
|
+
# },
|
|
13102
13259
|
# },
|
|
13103
13260
|
# })
|
|
13104
13261
|
#
|
|
@@ -15061,7 +15218,7 @@ module Aws::SecurityHub
|
|
|
15061
15218
|
tracer: tracer
|
|
15062
15219
|
)
|
|
15063
15220
|
context[:gem_name] = 'aws-sdk-securityhub'
|
|
15064
|
-
context[:gem_version] = '1.
|
|
15221
|
+
context[:gem_version] = '1.182.0'
|
|
15065
15222
|
Seahorse::Client::Request.new(handlers, context)
|
|
15066
15223
|
end
|
|
15067
15224
|
|
|
@@ -996,6 +996,13 @@ module Aws::SecurityHub
|
|
|
996
996
|
FreeTrialStatusValue = Shapes::StringShape.new(name: 'FreeTrialStatusValue')
|
|
997
997
|
FreeTrialStatusValueList = Shapes::ListShape.new(name: 'FreeTrialStatusValueList')
|
|
998
998
|
FreeTrialType = Shapes::StringShape.new(name: 'FreeTrialType')
|
|
999
|
+
GcpDetail = Shapes::StructureShape.new(name: 'GcpDetail')
|
|
1000
|
+
GcpProviderConfiguration = Shapes::StructureShape.new(name: 'GcpProviderConfiguration')
|
|
1001
|
+
GcpRegionList = Shapes::ListShape.new(name: 'GcpRegionList')
|
|
1002
|
+
GcpResourceDetails = Shapes::DocumentShape.new(name: 'GcpResourceDetails', document: true)
|
|
1003
|
+
GcpScopeConfiguration = Shapes::StructureShape.new(name: 'GcpScopeConfiguration')
|
|
1004
|
+
GcpScopeType = Shapes::StringShape.new(name: 'GcpScopeType')
|
|
1005
|
+
GcpUpdateConfiguration = Shapes::StructureShape.new(name: 'GcpUpdateConfiguration')
|
|
999
1006
|
GenerateRecommendedPolicyV2Request = Shapes::StructureShape.new(name: 'GenerateRecommendedPolicyV2Request')
|
|
1000
1007
|
GenerateRecommendedPolicyV2Response = Shapes::StructureShape.new(name: 'GenerateRecommendedPolicyV2Response')
|
|
1001
1008
|
GeneratorDetails = Shapes::StructureShape.new(name: 'GeneratorDetails')
|
|
@@ -6008,14 +6015,18 @@ module Aws::SecurityHub
|
|
|
6008
6015
|
CspmHealthCheck.struct_class = Types::CspmHealthCheck
|
|
6009
6016
|
|
|
6010
6017
|
CspmProviderConfiguration.add_member(:azure, Shapes::ShapeRef.new(shape: AzureProviderConfiguration, location_name: "Azure"))
|
|
6018
|
+
CspmProviderConfiguration.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpProviderConfiguration, location_name: "GCP"))
|
|
6011
6019
|
CspmProviderConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6012
6020
|
CspmProviderConfiguration.add_member_subclass(:azure, Types::CspmProviderConfiguration::Azure)
|
|
6021
|
+
CspmProviderConfiguration.add_member_subclass(:gcp, Types::CspmProviderConfiguration::Gcp)
|
|
6013
6022
|
CspmProviderConfiguration.add_member_subclass(:unknown, Types::CspmProviderConfiguration::Unknown)
|
|
6014
6023
|
CspmProviderConfiguration.struct_class = Types::CspmProviderConfiguration
|
|
6015
6024
|
|
|
6016
6025
|
CspmProviderDetail.add_member(:azure, Shapes::ShapeRef.new(shape: AzureDetail, location_name: "Azure"))
|
|
6026
|
+
CspmProviderDetail.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpDetail, location_name: "GCP"))
|
|
6017
6027
|
CspmProviderDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6018
6028
|
CspmProviderDetail.add_member_subclass(:azure, Types::CspmProviderDetail::Azure)
|
|
6029
|
+
CspmProviderDetail.add_member_subclass(:gcp, Types::CspmProviderDetail::Gcp)
|
|
6019
6030
|
CspmProviderDetail.add_member_subclass(:unknown, Types::CspmProviderDetail::Unknown)
|
|
6020
6031
|
CspmProviderDetail.struct_class = Types::CspmProviderDetail
|
|
6021
6032
|
|
|
@@ -6025,8 +6036,10 @@ module Aws::SecurityHub
|
|
|
6025
6036
|
CspmProviderSummary.struct_class = Types::CspmProviderSummary
|
|
6026
6037
|
|
|
6027
6038
|
CspmProviderUpdateConfiguration.add_member(:azure, Shapes::ShapeRef.new(shape: AzureUpdateConfiguration, location_name: "Azure"))
|
|
6039
|
+
CspmProviderUpdateConfiguration.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpUpdateConfiguration, location_name: "GCP"))
|
|
6028
6040
|
CspmProviderUpdateConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6029
6041
|
CspmProviderUpdateConfiguration.add_member_subclass(:azure, Types::CspmProviderUpdateConfiguration::Azure)
|
|
6042
|
+
CspmProviderUpdateConfiguration.add_member_subclass(:gcp, Types::CspmProviderUpdateConfiguration::Gcp)
|
|
6030
6043
|
CspmProviderUpdateConfiguration.add_member_subclass(:unknown, Types::CspmProviderUpdateConfiguration::Unknown)
|
|
6031
6044
|
CspmProviderUpdateConfiguration.struct_class = Types::CspmProviderUpdateConfiguration
|
|
6032
6045
|
|
|
@@ -6465,6 +6478,26 @@ module Aws::SecurityHub
|
|
|
6465
6478
|
|
|
6466
6479
|
FreeTrialStatusValueList.member = Shapes::ShapeRef.new(shape: FreeTrialStatusValue)
|
|
6467
6480
|
|
|
6481
|
+
GcpDetail.add_member(:aws_config_connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AWSConfigConnectorArn"))
|
|
6482
|
+
GcpDetail.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: GcpScopeConfiguration, required: true, location_name: "ScopeConfiguration"))
|
|
6483
|
+
GcpDetail.add_member(:gcp_regions, Shapes::ShapeRef.new(shape: GcpRegionList, required: true, location_name: "GCPRegions"))
|
|
6484
|
+
GcpDetail.struct_class = Types::GcpDetail
|
|
6485
|
+
|
|
6486
|
+
GcpProviderConfiguration.add_member(:aws_config_connector_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AWSConfigConnectorArn"))
|
|
6487
|
+
GcpProviderConfiguration.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: GcpScopeConfiguration, required: true, location_name: "ScopeConfiguration"))
|
|
6488
|
+
GcpProviderConfiguration.add_member(:gcp_regions, Shapes::ShapeRef.new(shape: GcpRegionList, required: true, location_name: "GCPRegions"))
|
|
6489
|
+
GcpProviderConfiguration.struct_class = Types::GcpProviderConfiguration
|
|
6490
|
+
|
|
6491
|
+
GcpRegionList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
6492
|
+
|
|
6493
|
+
GcpScopeConfiguration.add_member(:scope_type, Shapes::ShapeRef.new(shape: GcpScopeType, required: true, location_name: "ScopeType"))
|
|
6494
|
+
GcpScopeConfiguration.add_member(:scope_values, Shapes::ShapeRef.new(shape: ScopeValueList, location_name: "ScopeValues"))
|
|
6495
|
+
GcpScopeConfiguration.struct_class = Types::GcpScopeConfiguration
|
|
6496
|
+
|
|
6497
|
+
GcpUpdateConfiguration.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: GcpScopeConfiguration, required: true, location_name: "ScopeConfiguration"))
|
|
6498
|
+
GcpUpdateConfiguration.add_member(:gcp_regions, Shapes::ShapeRef.new(shape: GcpRegionList, required: true, location_name: "GCPRegions"))
|
|
6499
|
+
GcpUpdateConfiguration.struct_class = Types::GcpUpdateConfiguration
|
|
6500
|
+
|
|
6468
6501
|
GenerateRecommendedPolicyV2Request.add_member(:metadata_uid, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "MetadataUid"))
|
|
6469
6502
|
GenerateRecommendedPolicyV2Request.struct_class = Types::GenerateRecommendedPolicyV2Request
|
|
6470
6503
|
|
|
@@ -7414,20 +7447,24 @@ module Aws::SecurityHub
|
|
|
7414
7447
|
ProviderConfiguration.add_member(:jira_cloud, Shapes::ShapeRef.new(shape: JiraCloudProviderConfiguration, location_name: "JiraCloud"))
|
|
7415
7448
|
ProviderConfiguration.add_member(:service_now, Shapes::ShapeRef.new(shape: ServiceNowProviderConfiguration, location_name: "ServiceNow"))
|
|
7416
7449
|
ProviderConfiguration.add_member(:azure, Shapes::ShapeRef.new(shape: AzureProviderConfiguration, location_name: "Azure"))
|
|
7450
|
+
ProviderConfiguration.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpProviderConfiguration, location_name: "GCP"))
|
|
7417
7451
|
ProviderConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
7418
7452
|
ProviderConfiguration.add_member_subclass(:jira_cloud, Types::ProviderConfiguration::JiraCloud)
|
|
7419
7453
|
ProviderConfiguration.add_member_subclass(:service_now, Types::ProviderConfiguration::ServiceNow)
|
|
7420
7454
|
ProviderConfiguration.add_member_subclass(:azure, Types::ProviderConfiguration::Azure)
|
|
7455
|
+
ProviderConfiguration.add_member_subclass(:gcp, Types::ProviderConfiguration::Gcp)
|
|
7421
7456
|
ProviderConfiguration.add_member_subclass(:unknown, Types::ProviderConfiguration::Unknown)
|
|
7422
7457
|
ProviderConfiguration.struct_class = Types::ProviderConfiguration
|
|
7423
7458
|
|
|
7424
7459
|
ProviderDetail.add_member(:jira_cloud, Shapes::ShapeRef.new(shape: JiraCloudDetail, location_name: "JiraCloud"))
|
|
7425
7460
|
ProviderDetail.add_member(:service_now, Shapes::ShapeRef.new(shape: ServiceNowDetail, location_name: "ServiceNow"))
|
|
7426
7461
|
ProviderDetail.add_member(:azure, Shapes::ShapeRef.new(shape: AzureDetail, location_name: "Azure"))
|
|
7462
|
+
ProviderDetail.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpDetail, location_name: "GCP"))
|
|
7427
7463
|
ProviderDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
7428
7464
|
ProviderDetail.add_member_subclass(:jira_cloud, Types::ProviderDetail::JiraCloud)
|
|
7429
7465
|
ProviderDetail.add_member_subclass(:service_now, Types::ProviderDetail::ServiceNow)
|
|
7430
7466
|
ProviderDetail.add_member_subclass(:azure, Types::ProviderDetail::Azure)
|
|
7467
|
+
ProviderDetail.add_member_subclass(:gcp, Types::ProviderDetail::Gcp)
|
|
7431
7468
|
ProviderDetail.add_member_subclass(:unknown, Types::ProviderDetail::Unknown)
|
|
7432
7469
|
ProviderDetail.struct_class = Types::ProviderDetail
|
|
7433
7470
|
|
|
@@ -7439,10 +7476,12 @@ module Aws::SecurityHub
|
|
|
7439
7476
|
ProviderUpdateConfiguration.add_member(:jira_cloud, Shapes::ShapeRef.new(shape: JiraCloudUpdateConfiguration, location_name: "JiraCloud"))
|
|
7440
7477
|
ProviderUpdateConfiguration.add_member(:service_now, Shapes::ShapeRef.new(shape: ServiceNowUpdateConfiguration, location_name: "ServiceNow"))
|
|
7441
7478
|
ProviderUpdateConfiguration.add_member(:azure, Shapes::ShapeRef.new(shape: AzureUpdateConfiguration, location_name: "Azure"))
|
|
7479
|
+
ProviderUpdateConfiguration.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpUpdateConfiguration, location_name: "GCP"))
|
|
7442
7480
|
ProviderUpdateConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
7443
7481
|
ProviderUpdateConfiguration.add_member_subclass(:jira_cloud, Types::ProviderUpdateConfiguration::JiraCloud)
|
|
7444
7482
|
ProviderUpdateConfiguration.add_member_subclass(:service_now, Types::ProviderUpdateConfiguration::ServiceNow)
|
|
7445
7483
|
ProviderUpdateConfiguration.add_member_subclass(:azure, Types::ProviderUpdateConfiguration::Azure)
|
|
7484
|
+
ProviderUpdateConfiguration.add_member_subclass(:gcp, Types::ProviderUpdateConfiguration::Gcp)
|
|
7446
7485
|
ProviderUpdateConfiguration.add_member_subclass(:unknown, Types::ProviderUpdateConfiguration::Unknown)
|
|
7447
7486
|
ProviderUpdateConfiguration.struct_class = Types::ProviderUpdateConfiguration
|
|
7448
7487
|
|
|
@@ -7735,6 +7774,7 @@ module Aws::SecurityHub
|
|
|
7735
7774
|
ResourceDetails.add_member(:aws_ec2_client_vpn_endpoint, Shapes::ShapeRef.new(shape: AwsEc2ClientVpnEndpointDetails, location_name: "AwsEc2ClientVpnEndpoint"))
|
|
7736
7775
|
ResourceDetails.add_member(:code_repository, Shapes::ShapeRef.new(shape: CodeRepositoryDetails, location_name: "CodeRepository"))
|
|
7737
7776
|
ResourceDetails.add_member(:azure_resource, Shapes::ShapeRef.new(shape: AzureResourceDetails, location_name: "AzureResource"))
|
|
7777
|
+
ResourceDetails.add_member(:gcp_resource, Shapes::ShapeRef.new(shape: GcpResourceDetails, location_name: "GcpResource"))
|
|
7738
7778
|
ResourceDetails.struct_class = Types::ResourceDetails
|
|
7739
7779
|
|
|
7740
7780
|
ResourceFindingsSummary.add_member(:finding_type, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "FindingType"))
|