aws-sdk-securityhub 1.82.0 → 1.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +1328 -155
- data/lib/aws-sdk-securityhub/client_api.rb +237 -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 +851 -0
- data/lib/aws-sdk-securityhub.rb +1 -1
- metadata +4 -4
@@ -23,6 +23,7 @@ module Aws::SecurityHub
|
|
23
23
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
24
24
|
AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
|
25
25
|
Action = Shapes::StructureShape.new(name: 'Action')
|
26
|
+
ActionList = Shapes::ListShape.new(name: 'ActionList')
|
26
27
|
ActionLocalIpDetails = Shapes::StructureShape.new(name: 'ActionLocalIpDetails')
|
27
28
|
ActionLocalPortDetails = Shapes::StructureShape.new(name: 'ActionLocalPortDetails')
|
28
29
|
ActionRemoteIpDetails = Shapes::StructureShape.new(name: 'ActionRemoteIpDetails')
|
@@ -43,6 +44,15 @@ module Aws::SecurityHub
|
|
43
44
|
AssociationStateDetails = Shapes::StructureShape.new(name: 'AssociationStateDetails')
|
44
45
|
AssociationStatus = Shapes::StringShape.new(name: 'AssociationStatus')
|
45
46
|
AutoEnableStandards = Shapes::StringShape.new(name: 'AutoEnableStandards')
|
47
|
+
AutomationRulesAction = Shapes::StructureShape.new(name: 'AutomationRulesAction')
|
48
|
+
AutomationRulesActionType = Shapes::StringShape.new(name: 'AutomationRulesActionType')
|
49
|
+
AutomationRulesArnsList = Shapes::ListShape.new(name: 'AutomationRulesArnsList')
|
50
|
+
AutomationRulesConfig = Shapes::StructureShape.new(name: 'AutomationRulesConfig')
|
51
|
+
AutomationRulesConfigList = Shapes::ListShape.new(name: 'AutomationRulesConfigList')
|
52
|
+
AutomationRulesFindingFieldsUpdate = Shapes::StructureShape.new(name: 'AutomationRulesFindingFieldsUpdate')
|
53
|
+
AutomationRulesFindingFilters = Shapes::StructureShape.new(name: 'AutomationRulesFindingFilters')
|
54
|
+
AutomationRulesMetadata = Shapes::StructureShape.new(name: 'AutomationRulesMetadata')
|
55
|
+
AutomationRulesMetadataList = Shapes::ListShape.new(name: 'AutomationRulesMetadataList')
|
46
56
|
AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
|
47
57
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
48
58
|
AwsAmazonMqBrokerDetails = Shapes::StructureShape.new(name: 'AwsAmazonMqBrokerDetails')
|
@@ -643,10 +653,14 @@ module Aws::SecurityHub
|
|
643
653
|
AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails = Shapes::StructureShape.new(name: 'AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails')
|
644
654
|
AwsWafv2WebAclDetails = Shapes::StructureShape.new(name: 'AwsWafv2WebAclDetails')
|
645
655
|
AwsXrayEncryptionConfigDetails = Shapes::StructureShape.new(name: 'AwsXrayEncryptionConfigDetails')
|
656
|
+
BatchDeleteAutomationRulesRequest = Shapes::StructureShape.new(name: 'BatchDeleteAutomationRulesRequest')
|
657
|
+
BatchDeleteAutomationRulesResponse = Shapes::StructureShape.new(name: 'BatchDeleteAutomationRulesResponse')
|
646
658
|
BatchDisableStandardsRequest = Shapes::StructureShape.new(name: 'BatchDisableStandardsRequest')
|
647
659
|
BatchDisableStandardsResponse = Shapes::StructureShape.new(name: 'BatchDisableStandardsResponse')
|
648
660
|
BatchEnableStandardsRequest = Shapes::StructureShape.new(name: 'BatchEnableStandardsRequest')
|
649
661
|
BatchEnableStandardsResponse = Shapes::StructureShape.new(name: 'BatchEnableStandardsResponse')
|
662
|
+
BatchGetAutomationRulesRequest = Shapes::StructureShape.new(name: 'BatchGetAutomationRulesRequest')
|
663
|
+
BatchGetAutomationRulesResponse = Shapes::StructureShape.new(name: 'BatchGetAutomationRulesResponse')
|
650
664
|
BatchGetSecurityControlsRequest = Shapes::StructureShape.new(name: 'BatchGetSecurityControlsRequest')
|
651
665
|
BatchGetSecurityControlsResponse = Shapes::StructureShape.new(name: 'BatchGetSecurityControlsResponse')
|
652
666
|
BatchGetStandardsControlAssociationsRequest = Shapes::StructureShape.new(name: 'BatchGetStandardsControlAssociationsRequest')
|
@@ -654,6 +668,8 @@ module Aws::SecurityHub
|
|
654
668
|
BatchImportFindingsRequest = Shapes::StructureShape.new(name: 'BatchImportFindingsRequest')
|
655
669
|
BatchImportFindingsRequestFindingList = Shapes::ListShape.new(name: 'BatchImportFindingsRequestFindingList')
|
656
670
|
BatchImportFindingsResponse = Shapes::StructureShape.new(name: 'BatchImportFindingsResponse')
|
671
|
+
BatchUpdateAutomationRulesRequest = Shapes::StructureShape.new(name: 'BatchUpdateAutomationRulesRequest')
|
672
|
+
BatchUpdateAutomationRulesResponse = Shapes::StructureShape.new(name: 'BatchUpdateAutomationRulesResponse')
|
657
673
|
BatchUpdateFindingsRequest = Shapes::StructureShape.new(name: 'BatchUpdateFindingsRequest')
|
658
674
|
BatchUpdateFindingsResponse = Shapes::StructureShape.new(name: 'BatchUpdateFindingsResponse')
|
659
675
|
BatchUpdateFindingsUnprocessedFinding = Shapes::StructureShape.new(name: 'BatchUpdateFindingsUnprocessedFinding')
|
@@ -679,6 +695,8 @@ module Aws::SecurityHub
|
|
679
695
|
Country = Shapes::StructureShape.new(name: 'Country')
|
680
696
|
CreateActionTargetRequest = Shapes::StructureShape.new(name: 'CreateActionTargetRequest')
|
681
697
|
CreateActionTargetResponse = Shapes::StructureShape.new(name: 'CreateActionTargetResponse')
|
698
|
+
CreateAutomationRuleRequest = Shapes::StructureShape.new(name: 'CreateAutomationRuleRequest')
|
699
|
+
CreateAutomationRuleResponse = Shapes::StructureShape.new(name: 'CreateAutomationRuleResponse')
|
682
700
|
CreateFindingAggregatorRequest = Shapes::StructureShape.new(name: 'CreateFindingAggregatorRequest')
|
683
701
|
CreateFindingAggregatorResponse = Shapes::StructureShape.new(name: 'CreateFindingAggregatorResponse')
|
684
702
|
CreateInsightRequest = Shapes::StructureShape.new(name: 'CreateInsightRequest')
|
@@ -808,6 +826,8 @@ module Aws::SecurityHub
|
|
808
826
|
KeywordFilter = Shapes::StructureShape.new(name: 'KeywordFilter')
|
809
827
|
KeywordFilterList = Shapes::ListShape.new(name: 'KeywordFilterList')
|
810
828
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
829
|
+
ListAutomationRulesRequest = Shapes::StructureShape.new(name: 'ListAutomationRulesRequest')
|
830
|
+
ListAutomationRulesResponse = Shapes::StructureShape.new(name: 'ListAutomationRulesResponse')
|
811
831
|
ListEnabledProductsForImportRequest = Shapes::StructureShape.new(name: 'ListEnabledProductsForImportRequest')
|
812
832
|
ListEnabledProductsForImportResponse = Shapes::StructureShape.new(name: 'ListEnabledProductsForImportResponse')
|
813
833
|
ListFindingAggregatorsRequest = Shapes::StructureShape.new(name: 'ListFindingAggregatorsRequest')
|
@@ -919,6 +939,8 @@ module Aws::SecurityHub
|
|
919
939
|
RuleGroupVariables = Shapes::StructureShape.new(name: 'RuleGroupVariables')
|
920
940
|
RuleGroupVariablesIpSetsDetails = Shapes::StructureShape.new(name: 'RuleGroupVariablesIpSetsDetails')
|
921
941
|
RuleGroupVariablesPortSetsDetails = Shapes::StructureShape.new(name: 'RuleGroupVariablesPortSetsDetails')
|
942
|
+
RuleOrderValue = Shapes::IntegerShape.new(name: 'RuleOrderValue')
|
943
|
+
RuleStatus = Shapes::StringShape.new(name: 'RuleStatus')
|
922
944
|
SecurityControl = Shapes::StructureShape.new(name: 'SecurityControl')
|
923
945
|
SecurityControlDefinition = Shapes::StructureShape.new(name: 'SecurityControlDefinition')
|
924
946
|
SecurityControlDefinitions = Shapes::ListShape.new(name: 'SecurityControlDefinitions')
|
@@ -985,6 +1007,8 @@ module Aws::SecurityHub
|
|
985
1007
|
ThreatList = Shapes::ListShape.new(name: 'ThreatList')
|
986
1008
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
987
1009
|
TypeList = Shapes::ListShape.new(name: 'TypeList')
|
1010
|
+
UnprocessedAutomationRule = Shapes::StructureShape.new(name: 'UnprocessedAutomationRule')
|
1011
|
+
UnprocessedAutomationRulesList = Shapes::ListShape.new(name: 'UnprocessedAutomationRulesList')
|
988
1012
|
UnprocessedErrorCode = Shapes::StringShape.new(name: 'UnprocessedErrorCode')
|
989
1013
|
UnprocessedSecurityControl = Shapes::StructureShape.new(name: 'UnprocessedSecurityControl')
|
990
1014
|
UnprocessedSecurityControls = Shapes::ListShape.new(name: 'UnprocessedSecurityControls')
|
@@ -996,6 +1020,8 @@ module Aws::SecurityHub
|
|
996
1020
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
997
1021
|
UpdateActionTargetRequest = Shapes::StructureShape.new(name: 'UpdateActionTargetRequest')
|
998
1022
|
UpdateActionTargetResponse = Shapes::StructureShape.new(name: 'UpdateActionTargetResponse')
|
1023
|
+
UpdateAutomationRulesRequestItem = Shapes::StructureShape.new(name: 'UpdateAutomationRulesRequestItem')
|
1024
|
+
UpdateAutomationRulesRequestItemsList = Shapes::ListShape.new(name: 'UpdateAutomationRulesRequestItemsList')
|
999
1025
|
UpdateFindingAggregatorRequest = Shapes::StructureShape.new(name: 'UpdateFindingAggregatorRequest')
|
1000
1026
|
UpdateFindingAggregatorResponse = Shapes::StructureShape.new(name: 'UpdateFindingAggregatorResponse')
|
1001
1027
|
UpdateFindingsRequest = Shapes::StructureShape.new(name: 'UpdateFindingsRequest')
|
@@ -1060,6 +1086,8 @@ module Aws::SecurityHub
|
|
1060
1086
|
Action.add_member(:port_probe_action, Shapes::ShapeRef.new(shape: PortProbeAction, location_name: "PortProbeAction"))
|
1061
1087
|
Action.struct_class = Types::Action
|
1062
1088
|
|
1089
|
+
ActionList.member = Shapes::ShapeRef.new(shape: AutomationRulesAction)
|
1090
|
+
|
1063
1091
|
ActionLocalIpDetails.add_member(:ip_address_v4, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "IpAddressV4"))
|
1064
1092
|
ActionLocalIpDetails.struct_class = Types::ActionLocalIpDetails
|
1065
1093
|
|
@@ -1118,6 +1146,88 @@ module Aws::SecurityHub
|
|
1118
1146
|
AssociationStateDetails.add_member(:status_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "StatusMessage"))
|
1119
1147
|
AssociationStateDetails.struct_class = Types::AssociationStateDetails
|
1120
1148
|
|
1149
|
+
AutomationRulesAction.add_member(:type, Shapes::ShapeRef.new(shape: AutomationRulesActionType, location_name: "Type"))
|
1150
|
+
AutomationRulesAction.add_member(:finding_fields_update, Shapes::ShapeRef.new(shape: AutomationRulesFindingFieldsUpdate, location_name: "FindingFieldsUpdate"))
|
1151
|
+
AutomationRulesAction.struct_class = Types::AutomationRulesAction
|
1152
|
+
|
1153
|
+
AutomationRulesArnsList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
1154
|
+
|
1155
|
+
AutomationRulesConfig.add_member(:rule_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleArn"))
|
1156
|
+
AutomationRulesConfig.add_member(:rule_status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "RuleStatus"))
|
1157
|
+
AutomationRulesConfig.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrderValue, location_name: "RuleOrder"))
|
1158
|
+
AutomationRulesConfig.add_member(:rule_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleName"))
|
1159
|
+
AutomationRulesConfig.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
1160
|
+
AutomationRulesConfig.add_member(:is_terminal, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsTerminal"))
|
1161
|
+
AutomationRulesConfig.add_member(:criteria, Shapes::ShapeRef.new(shape: AutomationRulesFindingFilters, location_name: "Criteria"))
|
1162
|
+
AutomationRulesConfig.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "Actions"))
|
1163
|
+
AutomationRulesConfig.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
1164
|
+
AutomationRulesConfig.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
1165
|
+
AutomationRulesConfig.add_member(:created_by, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CreatedBy"))
|
1166
|
+
AutomationRulesConfig.struct_class = Types::AutomationRulesConfig
|
1167
|
+
|
1168
|
+
AutomationRulesConfigList.member = Shapes::ShapeRef.new(shape: AutomationRulesConfig)
|
1169
|
+
|
1170
|
+
AutomationRulesFindingFieldsUpdate.add_member(:note, Shapes::ShapeRef.new(shape: NoteUpdate, location_name: "Note"))
|
1171
|
+
AutomationRulesFindingFieldsUpdate.add_member(:severity, Shapes::ShapeRef.new(shape: SeverityUpdate, location_name: "Severity"))
|
1172
|
+
AutomationRulesFindingFieldsUpdate.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location_name: "VerificationState"))
|
1173
|
+
AutomationRulesFindingFieldsUpdate.add_member(:confidence, Shapes::ShapeRef.new(shape: RatioScale, location_name: "Confidence"))
|
1174
|
+
AutomationRulesFindingFieldsUpdate.add_member(:criticality, Shapes::ShapeRef.new(shape: RatioScale, location_name: "Criticality"))
|
1175
|
+
AutomationRulesFindingFieldsUpdate.add_member(:types, Shapes::ShapeRef.new(shape: TypeList, location_name: "Types"))
|
1176
|
+
AutomationRulesFindingFieldsUpdate.add_member(:user_defined_fields, Shapes::ShapeRef.new(shape: FieldMap, location_name: "UserDefinedFields"))
|
1177
|
+
AutomationRulesFindingFieldsUpdate.add_member(:workflow, Shapes::ShapeRef.new(shape: WorkflowUpdate, location_name: "Workflow"))
|
1178
|
+
AutomationRulesFindingFieldsUpdate.add_member(:related_findings, Shapes::ShapeRef.new(shape: RelatedFindingList, location_name: "RelatedFindings"))
|
1179
|
+
AutomationRulesFindingFieldsUpdate.struct_class = Types::AutomationRulesFindingFieldsUpdate
|
1180
|
+
|
1181
|
+
AutomationRulesFindingFilters.add_member(:product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ProductArn"))
|
1182
|
+
AutomationRulesFindingFilters.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "AwsAccountId"))
|
1183
|
+
AutomationRulesFindingFilters.add_member(:id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "Id"))
|
1184
|
+
AutomationRulesFindingFilters.add_member(:generator_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "GeneratorId"))
|
1185
|
+
AutomationRulesFindingFilters.add_member(:type, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "Type"))
|
1186
|
+
AutomationRulesFindingFilters.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "FirstObservedAt"))
|
1187
|
+
AutomationRulesFindingFilters.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "LastObservedAt"))
|
1188
|
+
AutomationRulesFindingFilters.add_member(:created_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "CreatedAt"))
|
1189
|
+
AutomationRulesFindingFilters.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "UpdatedAt"))
|
1190
|
+
AutomationRulesFindingFilters.add_member(:confidence, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "Confidence"))
|
1191
|
+
AutomationRulesFindingFilters.add_member(:criticality, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "Criticality"))
|
1192
|
+
AutomationRulesFindingFilters.add_member(:title, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "Title"))
|
1193
|
+
AutomationRulesFindingFilters.add_member(:description, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "Description"))
|
1194
|
+
AutomationRulesFindingFilters.add_member(:source_url, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "SourceUrl"))
|
1195
|
+
AutomationRulesFindingFilters.add_member(:product_name, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ProductName"))
|
1196
|
+
AutomationRulesFindingFilters.add_member(:company_name, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "CompanyName"))
|
1197
|
+
AutomationRulesFindingFilters.add_member(:severity_label, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "SeverityLabel"))
|
1198
|
+
AutomationRulesFindingFilters.add_member(:resource_type, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ResourceType"))
|
1199
|
+
AutomationRulesFindingFilters.add_member(:resource_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ResourceId"))
|
1200
|
+
AutomationRulesFindingFilters.add_member(:resource_partition, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ResourcePartition"))
|
1201
|
+
AutomationRulesFindingFilters.add_member(:resource_region, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ResourceRegion"))
|
1202
|
+
AutomationRulesFindingFilters.add_member(:resource_tags, Shapes::ShapeRef.new(shape: MapFilterList, location_name: "ResourceTags"))
|
1203
|
+
AutomationRulesFindingFilters.add_member(:resource_details_other, Shapes::ShapeRef.new(shape: MapFilterList, location_name: "ResourceDetailsOther"))
|
1204
|
+
AutomationRulesFindingFilters.add_member(:compliance_status, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceStatus"))
|
1205
|
+
AutomationRulesFindingFilters.add_member(:compliance_security_control_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceSecurityControlId"))
|
1206
|
+
AutomationRulesFindingFilters.add_member(:compliance_associated_standards_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceAssociatedStandardsId"))
|
1207
|
+
AutomationRulesFindingFilters.add_member(:verification_state, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "VerificationState"))
|
1208
|
+
AutomationRulesFindingFilters.add_member(:workflow_status, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "WorkflowStatus"))
|
1209
|
+
AutomationRulesFindingFilters.add_member(:record_state, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "RecordState"))
|
1210
|
+
AutomationRulesFindingFilters.add_member(:related_findings_product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "RelatedFindingsProductArn"))
|
1211
|
+
AutomationRulesFindingFilters.add_member(:related_findings_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "RelatedFindingsId"))
|
1212
|
+
AutomationRulesFindingFilters.add_member(:note_text, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "NoteText"))
|
1213
|
+
AutomationRulesFindingFilters.add_member(:note_updated_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "NoteUpdatedAt"))
|
1214
|
+
AutomationRulesFindingFilters.add_member(:note_updated_by, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "NoteUpdatedBy"))
|
1215
|
+
AutomationRulesFindingFilters.add_member(:user_defined_fields, Shapes::ShapeRef.new(shape: MapFilterList, location_name: "UserDefinedFields"))
|
1216
|
+
AutomationRulesFindingFilters.struct_class = Types::AutomationRulesFindingFilters
|
1217
|
+
|
1218
|
+
AutomationRulesMetadata.add_member(:rule_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleArn"))
|
1219
|
+
AutomationRulesMetadata.add_member(:rule_status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "RuleStatus"))
|
1220
|
+
AutomationRulesMetadata.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrderValue, location_name: "RuleOrder"))
|
1221
|
+
AutomationRulesMetadata.add_member(:rule_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleName"))
|
1222
|
+
AutomationRulesMetadata.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
1223
|
+
AutomationRulesMetadata.add_member(:is_terminal, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsTerminal"))
|
1224
|
+
AutomationRulesMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
1225
|
+
AutomationRulesMetadata.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
1226
|
+
AutomationRulesMetadata.add_member(:created_by, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CreatedBy"))
|
1227
|
+
AutomationRulesMetadata.struct_class = Types::AutomationRulesMetadata
|
1228
|
+
|
1229
|
+
AutomationRulesMetadataList.member = Shapes::ShapeRef.new(shape: AutomationRulesMetadata)
|
1230
|
+
|
1121
1231
|
AvailabilityZone.add_member(:zone_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ZoneName"))
|
1122
1232
|
AvailabilityZone.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetId"))
|
1123
1233
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
@@ -4572,6 +4682,13 @@ module Aws::SecurityHub
|
|
4572
4682
|
AwsXrayEncryptionConfigDetails.add_member(:type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Type"))
|
4573
4683
|
AwsXrayEncryptionConfigDetails.struct_class = Types::AwsXrayEncryptionConfigDetails
|
4574
4684
|
|
4685
|
+
BatchDeleteAutomationRulesRequest.add_member(:automation_rules_arns, Shapes::ShapeRef.new(shape: AutomationRulesArnsList, required: true, location_name: "AutomationRulesArns"))
|
4686
|
+
BatchDeleteAutomationRulesRequest.struct_class = Types::BatchDeleteAutomationRulesRequest
|
4687
|
+
|
4688
|
+
BatchDeleteAutomationRulesResponse.add_member(:processed_automation_rules, Shapes::ShapeRef.new(shape: AutomationRulesArnsList, location_name: "ProcessedAutomationRules"))
|
4689
|
+
BatchDeleteAutomationRulesResponse.add_member(:unprocessed_automation_rules, Shapes::ShapeRef.new(shape: UnprocessedAutomationRulesList, location_name: "UnprocessedAutomationRules"))
|
4690
|
+
BatchDeleteAutomationRulesResponse.struct_class = Types::BatchDeleteAutomationRulesResponse
|
4691
|
+
|
4575
4692
|
BatchDisableStandardsRequest.add_member(:standards_subscription_arns, Shapes::ShapeRef.new(shape: StandardsSubscriptionArns, required: true, location_name: "StandardsSubscriptionArns"))
|
4576
4693
|
BatchDisableStandardsRequest.struct_class = Types::BatchDisableStandardsRequest
|
4577
4694
|
|
@@ -4584,6 +4701,13 @@ module Aws::SecurityHub
|
|
4584
4701
|
BatchEnableStandardsResponse.add_member(:standards_subscriptions, Shapes::ShapeRef.new(shape: StandardsSubscriptions, location_name: "StandardsSubscriptions"))
|
4585
4702
|
BatchEnableStandardsResponse.struct_class = Types::BatchEnableStandardsResponse
|
4586
4703
|
|
4704
|
+
BatchGetAutomationRulesRequest.add_member(:automation_rules_arns, Shapes::ShapeRef.new(shape: AutomationRulesArnsList, required: true, location_name: "AutomationRulesArns"))
|
4705
|
+
BatchGetAutomationRulesRequest.struct_class = Types::BatchGetAutomationRulesRequest
|
4706
|
+
|
4707
|
+
BatchGetAutomationRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: AutomationRulesConfigList, location_name: "Rules"))
|
4708
|
+
BatchGetAutomationRulesResponse.add_member(:unprocessed_automation_rules, Shapes::ShapeRef.new(shape: UnprocessedAutomationRulesList, location_name: "UnprocessedAutomationRules"))
|
4709
|
+
BatchGetAutomationRulesResponse.struct_class = Types::BatchGetAutomationRulesResponse
|
4710
|
+
|
4587
4711
|
BatchGetSecurityControlsRequest.add_member(:security_control_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "SecurityControlIds"))
|
4588
4712
|
BatchGetSecurityControlsRequest.struct_class = Types::BatchGetSecurityControlsRequest
|
4589
4713
|
|
@@ -4608,6 +4732,13 @@ module Aws::SecurityHub
|
|
4608
4732
|
BatchImportFindingsResponse.add_member(:failed_findings, Shapes::ShapeRef.new(shape: ImportFindingsErrorList, location_name: "FailedFindings"))
|
4609
4733
|
BatchImportFindingsResponse.struct_class = Types::BatchImportFindingsResponse
|
4610
4734
|
|
4735
|
+
BatchUpdateAutomationRulesRequest.add_member(:update_automation_rules_request_items, Shapes::ShapeRef.new(shape: UpdateAutomationRulesRequestItemsList, required: true, location_name: "UpdateAutomationRulesRequestItems"))
|
4736
|
+
BatchUpdateAutomationRulesRequest.struct_class = Types::BatchUpdateAutomationRulesRequest
|
4737
|
+
|
4738
|
+
BatchUpdateAutomationRulesResponse.add_member(:processed_automation_rules, Shapes::ShapeRef.new(shape: AutomationRulesArnsList, location_name: "ProcessedAutomationRules"))
|
4739
|
+
BatchUpdateAutomationRulesResponse.add_member(:unprocessed_automation_rules, Shapes::ShapeRef.new(shape: UnprocessedAutomationRulesList, location_name: "UnprocessedAutomationRules"))
|
4740
|
+
BatchUpdateAutomationRulesResponse.struct_class = Types::BatchUpdateAutomationRulesResponse
|
4741
|
+
|
4611
4742
|
BatchUpdateFindingsRequest.add_member(:finding_identifiers, Shapes::ShapeRef.new(shape: AwsSecurityFindingIdentifierList, required: true, location_name: "FindingIdentifiers"))
|
4612
4743
|
BatchUpdateFindingsRequest.add_member(:note, Shapes::ShapeRef.new(shape: NoteUpdate, location_name: "Note"))
|
4613
4744
|
BatchUpdateFindingsRequest.add_member(:severity, Shapes::ShapeRef.new(shape: SeverityUpdate, location_name: "Severity"))
|
@@ -4702,6 +4833,19 @@ module Aws::SecurityHub
|
|
4702
4833
|
CreateActionTargetResponse.add_member(:action_target_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ActionTargetArn"))
|
4703
4834
|
CreateActionTargetResponse.struct_class = Types::CreateActionTargetResponse
|
4704
4835
|
|
4836
|
+
CreateAutomationRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
4837
|
+
CreateAutomationRuleRequest.add_member(:rule_status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "RuleStatus"))
|
4838
|
+
CreateAutomationRuleRequest.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrderValue, required: true, location_name: "RuleOrder"))
|
4839
|
+
CreateAutomationRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "RuleName"))
|
4840
|
+
CreateAutomationRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Description"))
|
4841
|
+
CreateAutomationRuleRequest.add_member(:is_terminal, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsTerminal"))
|
4842
|
+
CreateAutomationRuleRequest.add_member(:criteria, Shapes::ShapeRef.new(shape: AutomationRulesFindingFilters, required: true, location_name: "Criteria"))
|
4843
|
+
CreateAutomationRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, required: true, location_name: "Actions"))
|
4844
|
+
CreateAutomationRuleRequest.struct_class = Types::CreateAutomationRuleRequest
|
4845
|
+
|
4846
|
+
CreateAutomationRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleArn"))
|
4847
|
+
CreateAutomationRuleResponse.struct_class = Types::CreateAutomationRuleResponse
|
4848
|
+
|
4705
4849
|
CreateFindingAggregatorRequest.add_member(:region_linking_mode, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "RegionLinkingMode"))
|
4706
4850
|
CreateFindingAggregatorRequest.add_member(:regions, Shapes::ShapeRef.new(shape: StringList, location_name: "Regions"))
|
4707
4851
|
CreateFindingAggregatorRequest.struct_class = Types::CreateFindingAggregatorRequest
|
@@ -5137,6 +5281,14 @@ module Aws::SecurityHub
|
|
5137
5281
|
LimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
5138
5282
|
LimitExceededException.struct_class = Types::LimitExceededException
|
5139
5283
|
|
5284
|
+
ListAutomationRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
5285
|
+
ListAutomationRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
5286
|
+
ListAutomationRulesRequest.struct_class = Types::ListAutomationRulesRequest
|
5287
|
+
|
5288
|
+
ListAutomationRulesResponse.add_member(:automation_rules_metadata, Shapes::ShapeRef.new(shape: AutomationRulesMetadataList, location_name: "AutomationRulesMetadata"))
|
5289
|
+
ListAutomationRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
5290
|
+
ListAutomationRulesResponse.struct_class = Types::ListAutomationRulesResponse
|
5291
|
+
|
5140
5292
|
ListEnabledProductsForImportRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
5141
5293
|
ListEnabledProductsForImportRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
5142
5294
|
ListEnabledProductsForImportRequest.struct_class = Types::ListEnabledProductsForImportRequest
|
@@ -5854,6 +6006,13 @@ module Aws::SecurityHub
|
|
5854
6006
|
|
5855
6007
|
TypeList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
5856
6008
|
|
6009
|
+
UnprocessedAutomationRule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleArn"))
|
6010
|
+
UnprocessedAutomationRule.add_member(:error_code, Shapes::ShapeRef.new(shape: Integer, location_name: "ErrorCode"))
|
6011
|
+
UnprocessedAutomationRule.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ErrorMessage"))
|
6012
|
+
UnprocessedAutomationRule.struct_class = Types::UnprocessedAutomationRule
|
6013
|
+
|
6014
|
+
UnprocessedAutomationRulesList.member = Shapes::ShapeRef.new(shape: UnprocessedAutomationRule)
|
6015
|
+
|
5857
6016
|
UnprocessedSecurityControl.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "SecurityControlId"))
|
5858
6017
|
UnprocessedSecurityControl.add_member(:error_code, Shapes::ShapeRef.new(shape: UnprocessedErrorCode, required: true, location_name: "ErrorCode"))
|
5859
6018
|
UnprocessedSecurityControl.add_member(:error_reason, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ErrorReason"))
|
@@ -5888,6 +6047,18 @@ module Aws::SecurityHub
|
|
5888
6047
|
|
5889
6048
|
UpdateActionTargetResponse.struct_class = Types::UpdateActionTargetResponse
|
5890
6049
|
|
6050
|
+
UpdateAutomationRulesRequestItem.add_member(:rule_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "RuleArn"))
|
6051
|
+
UpdateAutomationRulesRequestItem.add_member(:rule_status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "RuleStatus"))
|
6052
|
+
UpdateAutomationRulesRequestItem.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrderValue, location_name: "RuleOrder"))
|
6053
|
+
UpdateAutomationRulesRequestItem.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
6054
|
+
UpdateAutomationRulesRequestItem.add_member(:rule_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleName"))
|
6055
|
+
UpdateAutomationRulesRequestItem.add_member(:is_terminal, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsTerminal"))
|
6056
|
+
UpdateAutomationRulesRequestItem.add_member(:criteria, Shapes::ShapeRef.new(shape: AutomationRulesFindingFilters, location_name: "Criteria"))
|
6057
|
+
UpdateAutomationRulesRequestItem.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "Actions"))
|
6058
|
+
UpdateAutomationRulesRequestItem.struct_class = Types::UpdateAutomationRulesRequestItem
|
6059
|
+
|
6060
|
+
UpdateAutomationRulesRequestItemsList.member = Shapes::ShapeRef.new(shape: UpdateAutomationRulesRequestItem)
|
6061
|
+
|
5891
6062
|
UpdateFindingAggregatorRequest.add_member(:finding_aggregator_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "FindingAggregatorArn"))
|
5892
6063
|
UpdateFindingAggregatorRequest.add_member(:region_linking_mode, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "RegionLinkingMode"))
|
5893
6064
|
UpdateFindingAggregatorRequest.add_member(:regions, Shapes::ShapeRef.new(shape: StringList, location_name: "Regions"))
|
@@ -6034,6 +6205,19 @@ module Aws::SecurityHub
|
|
6034
6205
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
6035
6206
|
end)
|
6036
6207
|
|
6208
|
+
api.add_operation(:batch_delete_automation_rules, Seahorse::Model::Operation.new.tap do |o|
|
6209
|
+
o.name = "BatchDeleteAutomationRules"
|
6210
|
+
o.http_method = "POST"
|
6211
|
+
o.http_request_uri = "/automationrules/delete"
|
6212
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDeleteAutomationRulesRequest)
|
6213
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDeleteAutomationRulesResponse)
|
6214
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
6215
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
6216
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
6217
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
6218
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6219
|
+
end)
|
6220
|
+
|
6037
6221
|
api.add_operation(:batch_disable_standards, Seahorse::Model::Operation.new.tap do |o|
|
6038
6222
|
o.name = "BatchDisableStandards"
|
6039
6223
|
o.http_method = "POST"
|
@@ -6058,6 +6242,20 @@ module Aws::SecurityHub
|
|
6058
6242
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
6059
6243
|
end)
|
6060
6244
|
|
6245
|
+
api.add_operation(:batch_get_automation_rules, Seahorse::Model::Operation.new.tap do |o|
|
6246
|
+
o.name = "BatchGetAutomationRules"
|
6247
|
+
o.http_method = "POST"
|
6248
|
+
o.http_request_uri = "/automationrules/get"
|
6249
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetAutomationRulesRequest)
|
6250
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetAutomationRulesResponse)
|
6251
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
6252
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
6253
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
6254
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
6255
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
6256
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6257
|
+
end)
|
6258
|
+
|
6061
6259
|
api.add_operation(:batch_get_security_controls, Seahorse::Model::Operation.new.tap do |o|
|
6062
6260
|
o.name = "BatchGetSecurityControls"
|
6063
6261
|
o.http_method = "POST"
|
@@ -6094,6 +6292,19 @@ module Aws::SecurityHub
|
|
6094
6292
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
6095
6293
|
end)
|
6096
6294
|
|
6295
|
+
api.add_operation(:batch_update_automation_rules, Seahorse::Model::Operation.new.tap do |o|
|
6296
|
+
o.name = "BatchUpdateAutomationRules"
|
6297
|
+
o.http_method = "PATCH"
|
6298
|
+
o.http_request_uri = "/automationrules/update"
|
6299
|
+
o.input = Shapes::ShapeRef.new(shape: BatchUpdateAutomationRulesRequest)
|
6300
|
+
o.output = Shapes::ShapeRef.new(shape: BatchUpdateAutomationRulesResponse)
|
6301
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
6302
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
6303
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
6304
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
6305
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6306
|
+
end)
|
6307
|
+
|
6097
6308
|
api.add_operation(:batch_update_findings, Seahorse::Model::Operation.new.tap do |o|
|
6098
6309
|
o.name = "BatchUpdateFindings"
|
6099
6310
|
o.http_method = "PATCH"
|
@@ -6131,6 +6342,19 @@ module Aws::SecurityHub
|
|
6131
6342
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
6132
6343
|
end)
|
6133
6344
|
|
6345
|
+
api.add_operation(:create_automation_rule, Seahorse::Model::Operation.new.tap do |o|
|
6346
|
+
o.name = "CreateAutomationRule"
|
6347
|
+
o.http_method = "POST"
|
6348
|
+
o.http_request_uri = "/automationrules/create"
|
6349
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAutomationRuleRequest)
|
6350
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAutomationRuleResponse)
|
6351
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
6352
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
6353
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
6354
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
6355
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
6356
|
+
end)
|
6357
|
+
|
6134
6358
|
api.add_operation(:create_finding_aggregator, Seahorse::Model::Operation.new.tap do |o|
|
6135
6359
|
o.name = "CreateFindingAggregator"
|
6136
6360
|
o.http_method = "POST"
|
@@ -6623,6 +6847,19 @@ module Aws::SecurityHub
|
|
6623
6847
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6624
6848
|
end)
|
6625
6849
|
|
6850
|
+
api.add_operation(:list_automation_rules, Seahorse::Model::Operation.new.tap do |o|
|
6851
|
+
o.name = "ListAutomationRules"
|
6852
|
+
o.http_method = "GET"
|
6853
|
+
o.http_request_uri = "/automationrules/list"
|
6854
|
+
o.input = Shapes::ShapeRef.new(shape: ListAutomationRulesRequest)
|
6855
|
+
o.output = Shapes::ShapeRef.new(shape: ListAutomationRulesResponse)
|
6856
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
6857
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
6858
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
6859
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
6860
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
6861
|
+
end)
|
6862
|
+
|
6626
6863
|
api.add_operation(:list_enabled_products_for_import, Seahorse::Model::Operation.new.tap do |o|
|
6627
6864
|
o.name = "ListEnabledProductsForImport"
|
6628
6865
|
o.http_method = "GET"
|
@@ -39,6 +39,20 @@ module Aws::SecurityHub
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
class BatchDeleteAutomationRules
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::SecurityHub::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
42
56
|
class BatchDisableStandards
|
43
57
|
def self.build(context)
|
44
58
|
unless context.config.regional_endpoint
|
@@ -67,6 +81,20 @@ module Aws::SecurityHub
|
|
67
81
|
end
|
68
82
|
end
|
69
83
|
|
84
|
+
class BatchGetAutomationRules
|
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 BatchGetSecurityControls
|
71
99
|
def self.build(context)
|
72
100
|
unless context.config.regional_endpoint
|
@@ -109,6 +137,20 @@ module Aws::SecurityHub
|
|
109
137
|
end
|
110
138
|
end
|
111
139
|
|
140
|
+
class BatchUpdateAutomationRules
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::SecurityHub::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
112
154
|
class BatchUpdateFindings
|
113
155
|
def self.build(context)
|
114
156
|
unless context.config.regional_endpoint
|
@@ -151,6 +193,20 @@ module Aws::SecurityHub
|
|
151
193
|
end
|
152
194
|
end
|
153
195
|
|
196
|
+
class CreateAutomationRule
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::SecurityHub::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
154
210
|
class CreateFindingAggregator
|
155
211
|
def self.build(context)
|
156
212
|
unless context.config.regional_endpoint
|
@@ -641,6 +697,20 @@ module Aws::SecurityHub
|
|
641
697
|
end
|
642
698
|
end
|
643
699
|
|
700
|
+
class ListAutomationRules
|
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
|
+
|
644
714
|
class ListEnabledProductsForImport
|
645
715
|
def self.build(context)
|
646
716
|
unless context.config.regional_endpoint
|
@@ -60,22 +60,30 @@ module Aws::SecurityHub
|
|
60
60
|
Aws::SecurityHub::Endpoints::AcceptAdministratorInvitation.build(context)
|
61
61
|
when :accept_invitation
|
62
62
|
Aws::SecurityHub::Endpoints::AcceptInvitation.build(context)
|
63
|
+
when :batch_delete_automation_rules
|
64
|
+
Aws::SecurityHub::Endpoints::BatchDeleteAutomationRules.build(context)
|
63
65
|
when :batch_disable_standards
|
64
66
|
Aws::SecurityHub::Endpoints::BatchDisableStandards.build(context)
|
65
67
|
when :batch_enable_standards
|
66
68
|
Aws::SecurityHub::Endpoints::BatchEnableStandards.build(context)
|
69
|
+
when :batch_get_automation_rules
|
70
|
+
Aws::SecurityHub::Endpoints::BatchGetAutomationRules.build(context)
|
67
71
|
when :batch_get_security_controls
|
68
72
|
Aws::SecurityHub::Endpoints::BatchGetSecurityControls.build(context)
|
69
73
|
when :batch_get_standards_control_associations
|
70
74
|
Aws::SecurityHub::Endpoints::BatchGetStandardsControlAssociations.build(context)
|
71
75
|
when :batch_import_findings
|
72
76
|
Aws::SecurityHub::Endpoints::BatchImportFindings.build(context)
|
77
|
+
when :batch_update_automation_rules
|
78
|
+
Aws::SecurityHub::Endpoints::BatchUpdateAutomationRules.build(context)
|
73
79
|
when :batch_update_findings
|
74
80
|
Aws::SecurityHub::Endpoints::BatchUpdateFindings.build(context)
|
75
81
|
when :batch_update_standards_control_associations
|
76
82
|
Aws::SecurityHub::Endpoints::BatchUpdateStandardsControlAssociations.build(context)
|
77
83
|
when :create_action_target
|
78
84
|
Aws::SecurityHub::Endpoints::CreateActionTarget.build(context)
|
85
|
+
when :create_automation_rule
|
86
|
+
Aws::SecurityHub::Endpoints::CreateAutomationRule.build(context)
|
79
87
|
when :create_finding_aggregator
|
80
88
|
Aws::SecurityHub::Endpoints::CreateFindingAggregator.build(context)
|
81
89
|
when :create_insight
|
@@ -146,6 +154,8 @@ module Aws::SecurityHub
|
|
146
154
|
Aws::SecurityHub::Endpoints::GetMembers.build(context)
|
147
155
|
when :invite_members
|
148
156
|
Aws::SecurityHub::Endpoints::InviteMembers.build(context)
|
157
|
+
when :list_automation_rules
|
158
|
+
Aws::SecurityHub::Endpoints::ListAutomationRules.build(context)
|
149
159
|
when :list_enabled_products_for_import
|
150
160
|
Aws::SecurityHub::Endpoints::ListEnabledProductsForImport.build(context)
|
151
161
|
when :list_finding_aggregators
|