aws-sdk-securityhub 1.77.0 → 1.79.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 +306 -9
- data/lib/aws-sdk-securityhub/client_api.rb +309 -0
- data/lib/aws-sdk-securityhub/endpoints.rb +70 -0
- data/lib/aws-sdk-securityhub/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-securityhub/types.rb +1030 -27
- data/lib/aws-sdk-securityhub.rb +1 -1
- metadata +2 -2
@@ -67,6 +67,34 @@ module Aws::SecurityHub
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
class BatchGetSecurityControls
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::SecurityHub::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class BatchGetStandardsControlAssociations
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::SecurityHub::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
70
98
|
class BatchImportFindings
|
71
99
|
def self.build(context)
|
72
100
|
unless context.config.regional_endpoint
|
@@ -95,6 +123,20 @@ module Aws::SecurityHub
|
|
95
123
|
end
|
96
124
|
end
|
97
125
|
|
126
|
+
class BatchUpdateStandardsControlAssociations
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::SecurityHub::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
98
140
|
class CreateActionTarget
|
99
141
|
def self.build(context)
|
100
142
|
unless context.config.regional_endpoint
|
@@ -655,6 +697,34 @@ module Aws::SecurityHub
|
|
655
697
|
end
|
656
698
|
end
|
657
699
|
|
700
|
+
class ListSecurityControlDefinitions
|
701
|
+
def self.build(context)
|
702
|
+
unless context.config.regional_endpoint
|
703
|
+
endpoint = context.config.endpoint.to_s
|
704
|
+
end
|
705
|
+
Aws::SecurityHub::EndpointParameters.new(
|
706
|
+
region: context.config.region,
|
707
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
708
|
+
use_fips: context.config.use_fips_endpoint,
|
709
|
+
endpoint: endpoint,
|
710
|
+
)
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
class ListStandardsControlAssociations
|
715
|
+
def self.build(context)
|
716
|
+
unless context.config.regional_endpoint
|
717
|
+
endpoint = context.config.endpoint.to_s
|
718
|
+
end
|
719
|
+
Aws::SecurityHub::EndpointParameters.new(
|
720
|
+
region: context.config.region,
|
721
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
722
|
+
use_fips: context.config.use_fips_endpoint,
|
723
|
+
endpoint: endpoint,
|
724
|
+
)
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
658
728
|
class ListTagsForResource
|
659
729
|
def self.build(context)
|
660
730
|
unless context.config.regional_endpoint
|
@@ -64,10 +64,16 @@ module Aws::SecurityHub
|
|
64
64
|
Aws::SecurityHub::Endpoints::BatchDisableStandards.build(context)
|
65
65
|
when :batch_enable_standards
|
66
66
|
Aws::SecurityHub::Endpoints::BatchEnableStandards.build(context)
|
67
|
+
when :batch_get_security_controls
|
68
|
+
Aws::SecurityHub::Endpoints::BatchGetSecurityControls.build(context)
|
69
|
+
when :batch_get_standards_control_associations
|
70
|
+
Aws::SecurityHub::Endpoints::BatchGetStandardsControlAssociations.build(context)
|
67
71
|
when :batch_import_findings
|
68
72
|
Aws::SecurityHub::Endpoints::BatchImportFindings.build(context)
|
69
73
|
when :batch_update_findings
|
70
74
|
Aws::SecurityHub::Endpoints::BatchUpdateFindings.build(context)
|
75
|
+
when :batch_update_standards_control_associations
|
76
|
+
Aws::SecurityHub::Endpoints::BatchUpdateStandardsControlAssociations.build(context)
|
71
77
|
when :create_action_target
|
72
78
|
Aws::SecurityHub::Endpoints::CreateActionTarget.build(context)
|
73
79
|
when :create_finding_aggregator
|
@@ -148,6 +154,10 @@ module Aws::SecurityHub
|
|
148
154
|
Aws::SecurityHub::Endpoints::ListMembers.build(context)
|
149
155
|
when :list_organization_admin_accounts
|
150
156
|
Aws::SecurityHub::Endpoints::ListOrganizationAdminAccounts.build(context)
|
157
|
+
when :list_security_control_definitions
|
158
|
+
Aws::SecurityHub::Endpoints::ListSecurityControlDefinitions.build(context)
|
159
|
+
when :list_standards_control_associations
|
160
|
+
Aws::SecurityHub::Endpoints::ListStandardsControlAssociations.build(context)
|
151
161
|
when :list_tags_for_resource
|
152
162
|
Aws::SecurityHub::Endpoints::ListTagsForResource.build(context)
|
153
163
|
when :tag_resource
|