aws-sdk-securityhub 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-securityhub/client.rb +56 -6
- data/lib/aws-sdk-securityhub/client_api.rb +43 -5
- data/lib/aws-sdk-securityhub/types.rb +26 -0
- data/lib/aws-sdk-securityhub.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5280ad15321a45d4d18d92b034979b15ccf0b67a
|
4
|
+
data.tar.gz: 32d02f9dbca936e70acf38d45ca2738875972d4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebfc9a55589b297800b77b50e7862eb7ec62559c80e2408936143733b190972f857de7a7d84ed2bcdd5a7cb2ae4654175650767ca85d40165262f6c346be75b3
|
7
|
+
data.tar.gz: 178da2c8686e7f1342be63d1fd3c07e156372ee41354b6da2630d1044e862107dea9a565fb31ed56d7d481f9cfdc16fc893144c2b056690f6afde51bb60d7bdb
|
@@ -199,6 +199,49 @@ module Aws::SecurityHub
|
|
199
199
|
# When `true`, request parameters are validated before
|
200
200
|
# sending the request.
|
201
201
|
#
|
202
|
+
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
203
|
+
# requests through. Formatted like 'http://proxy.com:123'.
|
204
|
+
#
|
205
|
+
# @option options [Float] :http_open_timeout (15) The number of
|
206
|
+
# seconds to wait when opening a HTTP session before rasing a
|
207
|
+
# `Timeout::Error`.
|
208
|
+
#
|
209
|
+
# @option options [Integer] :http_read_timeout (60) The default
|
210
|
+
# number of seconds to wait for response data. This value can
|
211
|
+
# safely be set
|
212
|
+
# per-request on the session yeidled by {#session_for}.
|
213
|
+
#
|
214
|
+
# @option options [Float] :http_idle_timeout (5) The number of
|
215
|
+
# seconds a connection is allowed to sit idble before it is
|
216
|
+
# considered stale. Stale connections are closed and removed
|
217
|
+
# from the pool before making a request.
|
218
|
+
#
|
219
|
+
# @option options [Float] :http_continue_timeout (1) The number of
|
220
|
+
# seconds to wait for a 100-continue response before sending the
|
221
|
+
# request body. This option has no effect unless the request has
|
222
|
+
# "Expect" header set to "100-continue". Defaults to `nil` which
|
223
|
+
# disables this behaviour. This value can safely be set per
|
224
|
+
# request on the session yeidled by {#session_for}.
|
225
|
+
#
|
226
|
+
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
227
|
+
# HTTP debug output will be sent to the `:logger`.
|
228
|
+
#
|
229
|
+
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
|
230
|
+
# SSL peer certificates are verified when establishing a
|
231
|
+
# connection.
|
232
|
+
#
|
233
|
+
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
234
|
+
# certificate authority bundle file that should be used when
|
235
|
+
# verifying peer certificates. If you do not pass
|
236
|
+
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
237
|
+
# will be used if available.
|
238
|
+
#
|
239
|
+
# @option options [String] :ssl_ca_directory Full path of the
|
240
|
+
# directory that contains the unbundled SSL certificate
|
241
|
+
# authority files for verifying peer certificates. If you do
|
242
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
243
|
+
# system default will be used if available.
|
244
|
+
#
|
202
245
|
def initialize(*args)
|
203
246
|
super
|
204
247
|
end
|
@@ -280,6 +323,12 @@ module Aws::SecurityHub
|
|
280
323
|
# @option params [required, Array<Types::StandardsSubscriptionRequest>] :standards_subscription_requests
|
281
324
|
# The list of standards that you want to enable.
|
282
325
|
#
|
326
|
+
# In this release, Security Hub only supports the CIS AWS Foundations
|
327
|
+
# standard.
|
328
|
+
#
|
329
|
+
# Its ARN is
|
330
|
+
# arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.
|
331
|
+
#
|
283
332
|
# @return [Types::BatchEnableStandardsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
284
333
|
#
|
285
334
|
# * {Types::BatchEnableStandardsResponse#standards_subscriptions #standards_subscriptions} => Array<Types::StandardsSubscription>
|
@@ -1236,8 +1285,8 @@ module Aws::SecurityHub
|
|
1236
1285
|
req.send_request(options)
|
1237
1286
|
end
|
1238
1287
|
|
1239
|
-
#
|
1240
|
-
#
|
1288
|
+
# Cancels the subscription that allows a findings-generating solution
|
1289
|
+
# (product) to import its findings into Security Hub.
|
1241
1290
|
#
|
1242
1291
|
# @option params [required, String] :product_subscription_arn
|
1243
1292
|
# The ARN of a resource that represents your subscription to a supported
|
@@ -1311,8 +1360,8 @@ module Aws::SecurityHub
|
|
1311
1360
|
req.send_request(options)
|
1312
1361
|
end
|
1313
1362
|
|
1314
|
-
#
|
1315
|
-
#
|
1363
|
+
# Sets up the subscription that enables a findings-generating solution
|
1364
|
+
# (product) to import its findings into Security Hub.
|
1316
1365
|
#
|
1317
1366
|
# @option params [required, String] :product_arn
|
1318
1367
|
# The ARN of the product that generates findings that you want to import
|
@@ -2563,7 +2612,8 @@ module Aws::SecurityHub
|
|
2563
2612
|
req.send_request(options)
|
2564
2613
|
end
|
2565
2614
|
|
2566
|
-
# Lists all
|
2615
|
+
# Lists all findings-generating solutions (products) whose findings
|
2616
|
+
# you've subscribed to receive in Security Hub.
|
2567
2617
|
#
|
2568
2618
|
# @option params [String] :next_token
|
2569
2619
|
# Paginates results. Set the value of this parameter to NULL on your
|
@@ -3875,7 +3925,7 @@ module Aws::SecurityHub
|
|
3875
3925
|
params: params,
|
3876
3926
|
config: config)
|
3877
3927
|
context[:gem_name] = 'aws-sdk-securityhub'
|
3878
|
-
context[:gem_version] = '1.
|
3928
|
+
context[:gem_version] = '1.4.0'
|
3879
3929
|
Seahorse::Client::Request.new(handlers, context)
|
3880
3930
|
end
|
3881
3931
|
|
@@ -13,6 +13,7 @@ module Aws::SecurityHub
|
|
13
13
|
|
14
14
|
AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
|
15
15
|
AcceptInvitationResponse = Shapes::StructureShape.new(name: 'AcceptInvitationResponse')
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
16
17
|
AccountDetails = Shapes::StructureShape.new(name: 'AccountDetails')
|
17
18
|
AccountDetailsList = Shapes::ListShape.new(name: 'AccountDetailsList')
|
18
19
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
@@ -88,6 +89,7 @@ module Aws::SecurityHub
|
|
88
89
|
InsightResults = Shapes::StructureShape.new(name: 'InsightResults')
|
89
90
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
90
91
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
92
|
+
InvalidAccessException = Shapes::StructureShape.new(name: 'InvalidAccessException')
|
91
93
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
92
94
|
Invitation = Shapes::StructureShape.new(name: 'Invitation')
|
93
95
|
InvitationList = Shapes::ListShape.new(name: 'InvitationList')
|
@@ -131,6 +133,7 @@ module Aws::SecurityHub
|
|
131
133
|
RelatedFindingList = Shapes::ListShape.new(name: 'RelatedFindingList')
|
132
134
|
Remediation = Shapes::StructureShape.new(name: 'Remediation')
|
133
135
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
136
|
+
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
134
137
|
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
|
135
138
|
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
136
139
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -746,6 +749,7 @@ module Aws::SecurityHub
|
|
746
749
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
747
750
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
748
751
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
749
753
|
end)
|
750
754
|
|
751
755
|
api.add_operation(:batch_disable_standards, Seahorse::Model::Operation.new.tap do |o|
|
@@ -756,6 +760,7 @@ module Aws::SecurityHub
|
|
756
760
|
o.output = Shapes::ShapeRef.new(shape: BatchDisableStandardsResponse)
|
757
761
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
758
762
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
763
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
759
764
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
760
765
|
end)
|
761
766
|
|
@@ -767,6 +772,7 @@ module Aws::SecurityHub
|
|
767
772
|
o.output = Shapes::ShapeRef.new(shape: BatchEnableStandardsResponse)
|
768
773
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
769
774
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
770
776
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
771
777
|
end)
|
772
778
|
|
@@ -779,6 +785,7 @@ module Aws::SecurityHub
|
|
779
785
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
780
786
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
781
787
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
782
789
|
end)
|
783
790
|
|
784
791
|
api.add_operation(:create_insight, Seahorse::Model::Operation.new.tap do |o|
|
@@ -790,6 +797,8 @@ module Aws::SecurityHub
|
|
790
797
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
791
798
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
792
799
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
801
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
793
802
|
end)
|
794
803
|
|
795
804
|
api.add_operation(:create_members, Seahorse::Model::Operation.new.tap do |o|
|
@@ -801,6 +810,8 @@ module Aws::SecurityHub
|
|
801
810
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
802
811
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
803
812
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
804
815
|
end)
|
805
816
|
|
806
817
|
api.add_operation(:decline_invitations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -811,7 +822,7 @@ module Aws::SecurityHub
|
|
811
822
|
o.output = Shapes::ShapeRef.new(shape: DeclineInvitationsResponse)
|
812
823
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
813
824
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
814
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
815
826
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
816
827
|
end)
|
817
828
|
|
@@ -823,7 +834,9 @@ module Aws::SecurityHub
|
|
823
834
|
o.output = Shapes::ShapeRef.new(shape: DeleteInsightResponse)
|
824
835
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
825
836
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
826
838
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
827
840
|
end)
|
828
841
|
|
829
842
|
api.add_operation(:delete_invitations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -836,6 +849,7 @@ module Aws::SecurityHub
|
|
836
849
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
837
850
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
838
851
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
839
853
|
end)
|
840
854
|
|
841
855
|
api.add_operation(:delete_members, Seahorse::Model::Operation.new.tap do |o|
|
@@ -846,6 +860,7 @@ module Aws::SecurityHub
|
|
846
860
|
o.output = Shapes::ShapeRef.new(shape: DeleteMembersResponse)
|
847
861
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
848
862
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
849
864
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
850
865
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
851
866
|
end)
|
@@ -859,6 +874,8 @@ module Aws::SecurityHub
|
|
859
874
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
860
875
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
861
876
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
862
879
|
end)
|
863
880
|
|
864
881
|
api.add_operation(:disable_security_hub, Seahorse::Model::Operation.new.tap do |o|
|
@@ -869,6 +886,8 @@ module Aws::SecurityHub
|
|
869
886
|
o.output = Shapes::ShapeRef.new(shape: DisableSecurityHubResponse)
|
870
887
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
871
888
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
889
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
872
891
|
end)
|
873
892
|
|
874
893
|
api.add_operation(:disassociate_from_master_account, Seahorse::Model::Operation.new.tap do |o|
|
@@ -879,6 +898,7 @@ module Aws::SecurityHub
|
|
879
898
|
o.output = Shapes::ShapeRef.new(shape: DisassociateFromMasterAccountResponse)
|
880
899
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
881
900
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
901
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
882
902
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
883
903
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
884
904
|
end)
|
@@ -891,6 +911,7 @@ module Aws::SecurityHub
|
|
891
911
|
o.output = Shapes::ShapeRef.new(shape: DisassociateMembersResponse)
|
892
912
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
893
913
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
914
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
894
915
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
895
916
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
896
917
|
end)
|
@@ -903,6 +924,9 @@ module Aws::SecurityHub
|
|
903
924
|
o.output = Shapes::ShapeRef.new(shape: EnableImportFindingsForProductResponse)
|
904
925
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
905
926
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
927
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
928
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
906
930
|
end)
|
907
931
|
|
908
932
|
api.add_operation(:enable_security_hub, Seahorse::Model::Operation.new.tap do |o|
|
@@ -913,6 +937,9 @@ module Aws::SecurityHub
|
|
913
937
|
o.output = Shapes::ShapeRef.new(shape: EnableSecurityHubResponse)
|
914
938
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
915
939
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
940
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
916
943
|
end)
|
917
944
|
|
918
945
|
api.add_operation(:get_enabled_standards, Seahorse::Model::Operation.new.tap do |o|
|
@@ -923,6 +950,7 @@ module Aws::SecurityHub
|
|
923
950
|
o.output = Shapes::ShapeRef.new(shape: GetEnabledStandardsResponse)
|
924
951
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
925
952
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
953
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
926
954
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
927
955
|
end)
|
928
956
|
|
@@ -934,8 +962,8 @@ module Aws::SecurityHub
|
|
934
962
|
o.output = Shapes::ShapeRef.new(shape: GetFindingsResponse)
|
935
963
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
936
964
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
965
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
937
966
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
938
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
939
967
|
o[:pager] = Aws::Pager.new(
|
940
968
|
limit_key: "max_results",
|
941
969
|
tokens: {
|
@@ -952,7 +980,9 @@ module Aws::SecurityHub
|
|
952
980
|
o.output = Shapes::ShapeRef.new(shape: GetInsightResultsResponse)
|
953
981
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
954
982
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
983
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
955
984
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
985
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
956
986
|
end)
|
957
987
|
|
958
988
|
api.add_operation(:get_insights, Seahorse::Model::Operation.new.tap do |o|
|
@@ -963,7 +993,9 @@ module Aws::SecurityHub
|
|
963
993
|
o.output = Shapes::ShapeRef.new(shape: GetInsightsResponse)
|
964
994
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
965
995
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
996
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
966
997
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
998
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
967
999
|
o[:pager] = Aws::Pager.new(
|
968
1000
|
limit_key: "max_results",
|
969
1001
|
tokens: {
|
@@ -980,8 +1012,8 @@ module Aws::SecurityHub
|
|
980
1012
|
o.output = Shapes::ShapeRef.new(shape: GetInvitationsCountResponse)
|
981
1013
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
982
1014
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
983
1016
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
984
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
985
1017
|
end)
|
986
1018
|
|
987
1019
|
api.add_operation(:get_master_account, Seahorse::Model::Operation.new.tap do |o|
|
@@ -992,6 +1024,7 @@ module Aws::SecurityHub
|
|
992
1024
|
o.output = Shapes::ShapeRef.new(shape: GetMasterAccountResponse)
|
993
1025
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
994
1026
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
995
1028
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
996
1029
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
997
1030
|
end)
|
@@ -1004,6 +1037,7 @@ module Aws::SecurityHub
|
|
1004
1037
|
o.output = Shapes::ShapeRef.new(shape: GetMembersResponse)
|
1005
1038
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1006
1039
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1040
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
1007
1041
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1008
1042
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1009
1043
|
end)
|
@@ -1016,6 +1050,7 @@ module Aws::SecurityHub
|
|
1016
1050
|
o.output = Shapes::ShapeRef.new(shape: InviteMembersResponse)
|
1017
1051
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1018
1052
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1053
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
1019
1054
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1020
1055
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1021
1056
|
end)
|
@@ -1028,6 +1063,7 @@ module Aws::SecurityHub
|
|
1028
1063
|
o.output = Shapes::ShapeRef.new(shape: ListEnabledProductsForImportResponse)
|
1029
1064
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1030
1065
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1066
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
1031
1067
|
o[:pager] = Aws::Pager.new(
|
1032
1068
|
limit_key: "max_results",
|
1033
1069
|
tokens: {
|
@@ -1044,8 +1080,8 @@ module Aws::SecurityHub
|
|
1044
1080
|
o.output = Shapes::ShapeRef.new(shape: ListInvitationsResponse)
|
1045
1081
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1046
1082
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
1047
1084
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1048
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1049
1085
|
end)
|
1050
1086
|
|
1051
1087
|
api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1056,8 +1092,8 @@ module Aws::SecurityHub
|
|
1056
1092
|
o.output = Shapes::ShapeRef.new(shape: ListMembersResponse)
|
1057
1093
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1058
1094
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1095
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
1059
1096
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1060
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1061
1097
|
end)
|
1062
1098
|
|
1063
1099
|
api.add_operation(:update_findings, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1069,6 +1105,7 @@ module Aws::SecurityHub
|
|
1069
1105
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1070
1106
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1071
1107
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1108
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
1072
1109
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1073
1110
|
end)
|
1074
1111
|
|
@@ -1080,6 +1117,7 @@ module Aws::SecurityHub
|
|
1080
1117
|
o.output = Shapes::ShapeRef.new(shape: UpdateInsightResponse)
|
1081
1118
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1082
1119
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1120
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
1083
1121
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1084
1122
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1085
1123
|
end)
|
@@ -415,10 +415,18 @@ module Aws::SecurityHub
|
|
415
415
|
#
|
416
416
|
# @!attribute [rw] title
|
417
417
|
# A finding's title.
|
418
|
+
#
|
419
|
+
# <note markdown="1"> In this release, Title is a required property.
|
420
|
+
#
|
421
|
+
# </note>
|
418
422
|
# @return [String]
|
419
423
|
#
|
420
424
|
# @!attribute [rw] description
|
421
425
|
# A finding's description.
|
426
|
+
#
|
427
|
+
# <note markdown="1"> In this release, Description is a required property.
|
428
|
+
#
|
429
|
+
# </note>
|
422
430
|
# @return [String]
|
423
431
|
#
|
424
432
|
# @!attribute [rw] remediation
|
@@ -1588,6 +1596,12 @@ module Aws::SecurityHub
|
|
1588
1596
|
#
|
1589
1597
|
# @!attribute [rw] standards_subscription_requests
|
1590
1598
|
# The list of standards that you want to enable.
|
1599
|
+
#
|
1600
|
+
# In this release, Security Hub only supports the CIS AWS Foundations
|
1601
|
+
# standard.
|
1602
|
+
#
|
1603
|
+
# Its ARN is
|
1604
|
+
# arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.
|
1591
1605
|
# @return [Array<Types::StandardsSubscriptionRequest>]
|
1592
1606
|
#
|
1593
1607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandardsRequest AWS API Documentation
|
@@ -4571,6 +4585,12 @@ module Aws::SecurityHub
|
|
4571
4585
|
#
|
4572
4586
|
# @!attribute [rw] standards_arn
|
4573
4587
|
# The ARN of a standard.
|
4588
|
+
#
|
4589
|
+
# In this release, Security Hub only supports the CIS AWS Foundations
|
4590
|
+
# standard.
|
4591
|
+
#
|
4592
|
+
# Its ARN is
|
4593
|
+
# arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.
|
4574
4594
|
# @return [String]
|
4575
4595
|
#
|
4576
4596
|
# @!attribute [rw] standards_input
|
@@ -4604,6 +4624,12 @@ module Aws::SecurityHub
|
|
4604
4624
|
#
|
4605
4625
|
# @!attribute [rw] standards_arn
|
4606
4626
|
# The ARN of the standard that you want to enable.
|
4627
|
+
#
|
4628
|
+
# In this release, Security Hub only supports the CIS AWS Foundations
|
4629
|
+
# standard.
|
4630
|
+
#
|
4631
|
+
# Its ARN is
|
4632
|
+
# arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.
|
4607
4633
|
# @return [String]
|
4608
4634
|
#
|
4609
4635
|
# @!attribute [rw] standards_input
|
data/lib/aws-sdk-securityhub.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-securityhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|