aws-sdk-guardduty 1.33.0 → 1.38.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-guardduty.rb +3 -1
- data/lib/aws-sdk-guardduty/client.rb +265 -22
- data/lib/aws-sdk-guardduty/client_api.rb +245 -0
- data/lib/aws-sdk-guardduty/errors.rb +2 -0
- data/lib/aws-sdk-guardduty/resource.rb +2 -0
- data/lib/aws-sdk-guardduty/types.rb +1009 -20
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -37,6 +39,7 @@ module Aws::GuardDuty
|
|
37
39
|
:detector_id,
|
38
40
|
:master_id,
|
39
41
|
:invitation_id)
|
42
|
+
SENSITIVE = []
|
40
43
|
include Aws::Structure
|
41
44
|
end
|
42
45
|
|
@@ -44,6 +47,28 @@ module Aws::GuardDuty
|
|
44
47
|
#
|
45
48
|
class AcceptInvitationResponse < Aws::EmptyStructure; end
|
46
49
|
|
50
|
+
# Contains information on the current access control policies for the
|
51
|
+
# bucket.
|
52
|
+
#
|
53
|
+
# @!attribute [rw] allows_public_read_access
|
54
|
+
# A value that indicates whether public read access for the bucket is
|
55
|
+
# enabled through an Access Control List (ACL).
|
56
|
+
# @return [Boolean]
|
57
|
+
#
|
58
|
+
# @!attribute [rw] allows_public_write_access
|
59
|
+
# A value that indicates whether public write access for the bucket is
|
60
|
+
# enabled through an Access Control List (ACL).
|
61
|
+
# @return [Boolean]
|
62
|
+
#
|
63
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccessControlList AWS API Documentation
|
64
|
+
#
|
65
|
+
class AccessControlList < Struct.new(
|
66
|
+
:allows_public_read_access,
|
67
|
+
:allows_public_write_access)
|
68
|
+
SENSITIVE = []
|
69
|
+
include Aws::Structure
|
70
|
+
end
|
71
|
+
|
47
72
|
# Contains information about the access keys.
|
48
73
|
#
|
49
74
|
# @!attribute [rw] access_key_id
|
@@ -69,6 +94,7 @@ module Aws::GuardDuty
|
|
69
94
|
:principal_id,
|
70
95
|
:user_name,
|
71
96
|
:user_type)
|
97
|
+
SENSITIVE = []
|
72
98
|
include Aws::Structure
|
73
99
|
end
|
74
100
|
|
@@ -95,6 +121,23 @@ module Aws::GuardDuty
|
|
95
121
|
class AccountDetail < Struct.new(
|
96
122
|
:account_id,
|
97
123
|
:email)
|
124
|
+
SENSITIVE = []
|
125
|
+
include Aws::Structure
|
126
|
+
end
|
127
|
+
|
128
|
+
# Contains information about the account level permissions on the S3
|
129
|
+
# bucket.
|
130
|
+
#
|
131
|
+
# @!attribute [rw] block_public_access
|
132
|
+
# Describes the S3 Block Public Access settings of the bucket's
|
133
|
+
# parent account.
|
134
|
+
# @return [Types::BlockPublicAccess]
|
135
|
+
#
|
136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountLevelPermissions AWS API Documentation
|
137
|
+
#
|
138
|
+
class AccountLevelPermissions < Struct.new(
|
139
|
+
:block_public_access)
|
140
|
+
SENSITIVE = []
|
98
141
|
include Aws::Structure
|
99
142
|
end
|
100
143
|
|
@@ -130,6 +173,7 @@ module Aws::GuardDuty
|
|
130
173
|
:dns_request_action,
|
131
174
|
:network_connection_action,
|
132
175
|
:port_probe_action)
|
176
|
+
SENSITIVE = []
|
133
177
|
include Aws::Structure
|
134
178
|
end
|
135
179
|
|
@@ -150,6 +194,7 @@ module Aws::GuardDuty
|
|
150
194
|
class AdminAccount < Struct.new(
|
151
195
|
:admin_account_id,
|
152
196
|
:admin_status)
|
197
|
+
SENSITIVE = []
|
153
198
|
include Aws::Structure
|
154
199
|
end
|
155
200
|
|
@@ -175,6 +220,7 @@ module Aws::GuardDuty
|
|
175
220
|
class ArchiveFindingsRequest < Struct.new(
|
176
221
|
:detector_id,
|
177
222
|
:finding_ids)
|
223
|
+
SENSITIVE = []
|
178
224
|
include Aws::Structure
|
179
225
|
end
|
180
226
|
|
@@ -212,6 +258,7 @@ module Aws::GuardDuty
|
|
212
258
|
:domain_details,
|
213
259
|
:remote_ip_details,
|
214
260
|
:service_name)
|
261
|
+
SENSITIVE = []
|
215
262
|
include Aws::Structure
|
216
263
|
end
|
217
264
|
|
@@ -230,6 +277,91 @@ module Aws::GuardDuty
|
|
230
277
|
class BadRequestException < Struct.new(
|
231
278
|
:message,
|
232
279
|
:type)
|
280
|
+
SENSITIVE = []
|
281
|
+
include Aws::Structure
|
282
|
+
end
|
283
|
+
|
284
|
+
# Contains information on how the bucker owner's S3 Block Public Access
|
285
|
+
# settings are being applied to the S3 bucket. See [S3 Block Public
|
286
|
+
# Access][1] for more information.
|
287
|
+
#
|
288
|
+
#
|
289
|
+
#
|
290
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
|
291
|
+
#
|
292
|
+
# @!attribute [rw] ignore_public_acls
|
293
|
+
# Indicates if S3 Block Public Access is set to `IgnorePublicAcls`.
|
294
|
+
# @return [Boolean]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] restrict_public_buckets
|
297
|
+
# Indicates if S3 Block Public Access is set to
|
298
|
+
# `RestrictPublicBuckets`.
|
299
|
+
# @return [Boolean]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] block_public_acls
|
302
|
+
# Indicates if S3 Block Public Access is set to `BlockPublicAcls`.
|
303
|
+
# @return [Boolean]
|
304
|
+
#
|
305
|
+
# @!attribute [rw] block_public_policy
|
306
|
+
# Indicates if S3 Block Public Access is set to `BlockPublicPolicy`.
|
307
|
+
# @return [Boolean]
|
308
|
+
#
|
309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BlockPublicAccess AWS API Documentation
|
310
|
+
#
|
311
|
+
class BlockPublicAccess < Struct.new(
|
312
|
+
:ignore_public_acls,
|
313
|
+
:restrict_public_buckets,
|
314
|
+
:block_public_acls,
|
315
|
+
:block_public_policy)
|
316
|
+
SENSITIVE = []
|
317
|
+
include Aws::Structure
|
318
|
+
end
|
319
|
+
|
320
|
+
# Contains information about the bucket level permissions for the S3
|
321
|
+
# bucket.
|
322
|
+
#
|
323
|
+
# @!attribute [rw] access_control_list
|
324
|
+
# Contains information on how Access Control Policies are applied to
|
325
|
+
# the bucket.
|
326
|
+
# @return [Types::AccessControlList]
|
327
|
+
#
|
328
|
+
# @!attribute [rw] bucket_policy
|
329
|
+
# Contains information on the bucket policies for the S3 bucket.
|
330
|
+
# @return [Types::BucketPolicy]
|
331
|
+
#
|
332
|
+
# @!attribute [rw] block_public_access
|
333
|
+
# Contains information on which account level S3 Block Public Access
|
334
|
+
# settings are applied to the S3 bucket.
|
335
|
+
# @return [Types::BlockPublicAccess]
|
336
|
+
#
|
337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BucketLevelPermissions AWS API Documentation
|
338
|
+
#
|
339
|
+
class BucketLevelPermissions < Struct.new(
|
340
|
+
:access_control_list,
|
341
|
+
:bucket_policy,
|
342
|
+
:block_public_access)
|
343
|
+
SENSITIVE = []
|
344
|
+
include Aws::Structure
|
345
|
+
end
|
346
|
+
|
347
|
+
# Contains information on the current bucket policies for the S3 bucket.
|
348
|
+
#
|
349
|
+
# @!attribute [rw] allows_public_read_access
|
350
|
+
# A value that indicates whether public read access for the bucket is
|
351
|
+
# enabled through a bucket policy.
|
352
|
+
# @return [Boolean]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] allows_public_write_access
|
355
|
+
# A value that indicates whether public write access for the bucket is
|
356
|
+
# enabled through a bucket policy.
|
357
|
+
# @return [Boolean]
|
358
|
+
#
|
359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BucketPolicy AWS API Documentation
|
360
|
+
#
|
361
|
+
class BucketPolicy < Struct.new(
|
362
|
+
:allows_public_read_access,
|
363
|
+
:allows_public_write_access)
|
364
|
+
SENSITIVE = []
|
233
365
|
include Aws::Structure
|
234
366
|
end
|
235
367
|
|
@@ -243,6 +375,23 @@ module Aws::GuardDuty
|
|
243
375
|
#
|
244
376
|
class City < Struct.new(
|
245
377
|
:city_name)
|
378
|
+
SENSITIVE = []
|
379
|
+
include Aws::Structure
|
380
|
+
end
|
381
|
+
|
382
|
+
# Contains information on the status of CloudTrail as a data source for
|
383
|
+
# the detector.
|
384
|
+
#
|
385
|
+
# @!attribute [rw] status
|
386
|
+
# Describes whether CloudTrail is enabled as a data source for the
|
387
|
+
# detector.
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CloudTrailConfigurationResult AWS API Documentation
|
391
|
+
#
|
392
|
+
class CloudTrailConfigurationResult < Struct.new(
|
393
|
+
:status)
|
394
|
+
SENSITIVE = []
|
246
395
|
include Aws::Structure
|
247
396
|
end
|
248
397
|
|
@@ -341,6 +490,7 @@ module Aws::GuardDuty
|
|
341
490
|
:greater_than_or_equal,
|
342
491
|
:less_than,
|
343
492
|
:less_than_or_equal)
|
493
|
+
SENSITIVE = []
|
344
494
|
include Aws::Structure
|
345
495
|
end
|
346
496
|
|
@@ -360,6 +510,7 @@ module Aws::GuardDuty
|
|
360
510
|
class Country < Struct.new(
|
361
511
|
:country_code,
|
362
512
|
:country_name)
|
513
|
+
SENSITIVE = []
|
363
514
|
include Aws::Structure
|
364
515
|
end
|
365
516
|
|
@@ -370,6 +521,11 @@ module Aws::GuardDuty
|
|
370
521
|
# enable: false, # required
|
371
522
|
# client_token: "ClientToken",
|
372
523
|
# finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
|
524
|
+
# data_sources: {
|
525
|
+
# s3_logs: {
|
526
|
+
# enable: false, # required
|
527
|
+
# },
|
528
|
+
# },
|
373
529
|
# tags: {
|
374
530
|
# "TagKey" => "TagValue",
|
375
531
|
# },
|
@@ -392,6 +548,11 @@ module Aws::GuardDuty
|
|
392
548
|
# exported.
|
393
549
|
# @return [String]
|
394
550
|
#
|
551
|
+
# @!attribute [rw] data_sources
|
552
|
+
# An object that describes which data sources will be enabled for the
|
553
|
+
# detector.
|
554
|
+
# @return [Types::DataSourceConfigurations]
|
555
|
+
#
|
395
556
|
# @!attribute [rw] tags
|
396
557
|
# The tags to be added to a new detector resource.
|
397
558
|
# @return [Hash<String,String>]
|
@@ -402,7 +563,9 @@ module Aws::GuardDuty
|
|
402
563
|
:enable,
|
403
564
|
:client_token,
|
404
565
|
:finding_publishing_frequency,
|
566
|
+
:data_sources,
|
405
567
|
:tags)
|
568
|
+
SENSITIVE = []
|
406
569
|
include Aws::Structure
|
407
570
|
end
|
408
571
|
|
@@ -414,6 +577,7 @@ module Aws::GuardDuty
|
|
414
577
|
#
|
415
578
|
class CreateDetectorResponse < Struct.new(
|
416
579
|
:detector_id)
|
580
|
+
SENSITIVE = []
|
417
581
|
include Aws::Structure
|
418
582
|
end
|
419
583
|
|
@@ -612,6 +776,7 @@ module Aws::GuardDuty
|
|
612
776
|
:finding_criteria,
|
613
777
|
:client_token,
|
614
778
|
:tags)
|
779
|
+
SENSITIVE = []
|
615
780
|
include Aws::Structure
|
616
781
|
end
|
617
782
|
|
@@ -623,6 +788,7 @@ module Aws::GuardDuty
|
|
623
788
|
#
|
624
789
|
class CreateFilterResponse < Struct.new(
|
625
790
|
:name)
|
791
|
+
SENSITIVE = []
|
626
792
|
include Aws::Structure
|
627
793
|
end
|
628
794
|
|
@@ -658,7 +824,8 @@ module Aws::GuardDuty
|
|
658
824
|
# @return [String]
|
659
825
|
#
|
660
826
|
# @!attribute [rw] location
|
661
|
-
# The URI of the file that contains the IPSet.
|
827
|
+
# The URI of the file that contains the IPSet. For example:
|
828
|
+
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
662
829
|
# @return [String]
|
663
830
|
#
|
664
831
|
# @!attribute [rw] activate
|
@@ -687,6 +854,7 @@ module Aws::GuardDuty
|
|
687
854
|
:activate,
|
688
855
|
:client_token,
|
689
856
|
:tags)
|
857
|
+
SENSITIVE = []
|
690
858
|
include Aws::Structure
|
691
859
|
end
|
692
860
|
|
@@ -698,6 +866,7 @@ module Aws::GuardDuty
|
|
698
866
|
#
|
699
867
|
class CreateIPSetResponse < Struct.new(
|
700
868
|
:ip_set_id)
|
869
|
+
SENSITIVE = []
|
701
870
|
include Aws::Structure
|
702
871
|
end
|
703
872
|
|
@@ -729,6 +898,7 @@ module Aws::GuardDuty
|
|
729
898
|
class CreateMembersRequest < Struct.new(
|
730
899
|
:detector_id,
|
731
900
|
:account_details)
|
901
|
+
SENSITIVE = []
|
732
902
|
include Aws::Structure
|
733
903
|
end
|
734
904
|
|
@@ -741,6 +911,7 @@ module Aws::GuardDuty
|
|
741
911
|
#
|
742
912
|
class CreateMembersResponse < Struct.new(
|
743
913
|
:unprocessed_accounts)
|
914
|
+
SENSITIVE = []
|
744
915
|
include Aws::Structure
|
745
916
|
end
|
746
917
|
|
@@ -786,6 +957,7 @@ module Aws::GuardDuty
|
|
786
957
|
:destination_type,
|
787
958
|
:destination_properties,
|
788
959
|
:client_token)
|
960
|
+
SENSITIVE = []
|
789
961
|
include Aws::Structure
|
790
962
|
end
|
791
963
|
|
@@ -797,6 +969,7 @@ module Aws::GuardDuty
|
|
797
969
|
#
|
798
970
|
class CreatePublishingDestinationResponse < Struct.new(
|
799
971
|
:destination_id)
|
972
|
+
SENSITIVE = []
|
800
973
|
include Aws::Structure
|
801
974
|
end
|
802
975
|
|
@@ -821,6 +994,7 @@ module Aws::GuardDuty
|
|
821
994
|
class CreateSampleFindingsRequest < Struct.new(
|
822
995
|
:detector_id,
|
823
996
|
:finding_types)
|
997
|
+
SENSITIVE = []
|
824
998
|
include Aws::Structure
|
825
999
|
end
|
826
1000
|
|
@@ -859,7 +1033,8 @@ module Aws::GuardDuty
|
|
859
1033
|
# @return [String]
|
860
1034
|
#
|
861
1035
|
# @!attribute [rw] location
|
862
|
-
# The URI of the file that contains the ThreatIntelSet.
|
1036
|
+
# The URI of the file that contains the ThreatIntelSet. For example:
|
1037
|
+
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
863
1038
|
# @return [String]
|
864
1039
|
#
|
865
1040
|
# @!attribute [rw] activate
|
@@ -888,6 +1063,7 @@ module Aws::GuardDuty
|
|
888
1063
|
:activate,
|
889
1064
|
:client_token,
|
890
1065
|
:tags)
|
1066
|
+
SENSITIVE = []
|
891
1067
|
include Aws::Structure
|
892
1068
|
end
|
893
1069
|
|
@@ -899,6 +1075,77 @@ module Aws::GuardDuty
|
|
899
1075
|
#
|
900
1076
|
class CreateThreatIntelSetResponse < Struct.new(
|
901
1077
|
:threat_intel_set_id)
|
1078
|
+
SENSITIVE = []
|
1079
|
+
include Aws::Structure
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
# Contains information on the status of DNS logs as a data source.
|
1083
|
+
#
|
1084
|
+
# @!attribute [rw] status
|
1085
|
+
# Denotes whether DNS logs is enabled as a data source.
|
1086
|
+
# @return [String]
|
1087
|
+
#
|
1088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DNSLogsConfigurationResult AWS API Documentation
|
1089
|
+
#
|
1090
|
+
class DNSLogsConfigurationResult < Struct.new(
|
1091
|
+
:status)
|
1092
|
+
SENSITIVE = []
|
1093
|
+
include Aws::Structure
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Contains information about which data sources are enabled.
|
1097
|
+
#
|
1098
|
+
# @note When making an API call, you may pass DataSourceConfigurations
|
1099
|
+
# data as a hash:
|
1100
|
+
#
|
1101
|
+
# {
|
1102
|
+
# s3_logs: {
|
1103
|
+
# enable: false, # required
|
1104
|
+
# },
|
1105
|
+
# }
|
1106
|
+
#
|
1107
|
+
# @!attribute [rw] s3_logs
|
1108
|
+
# Describes whether S3 data event logs are enabled as a data source.
|
1109
|
+
# @return [Types::S3LogsConfiguration]
|
1110
|
+
#
|
1111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurations AWS API Documentation
|
1112
|
+
#
|
1113
|
+
class DataSourceConfigurations < Struct.new(
|
1114
|
+
:s3_logs)
|
1115
|
+
SENSITIVE = []
|
1116
|
+
include Aws::Structure
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
# Contains information on the status of data sources for the detector.
|
1120
|
+
#
|
1121
|
+
# @!attribute [rw] cloud_trail
|
1122
|
+
# An object that contains information on the status of CloudTrail as a
|
1123
|
+
# data source.
|
1124
|
+
# @return [Types::CloudTrailConfigurationResult]
|
1125
|
+
#
|
1126
|
+
# @!attribute [rw] dns_logs
|
1127
|
+
# An object that contains information on the status of DNS logs as a
|
1128
|
+
# data source.
|
1129
|
+
# @return [Types::DNSLogsConfigurationResult]
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] flow_logs
|
1132
|
+
# An object that contains information on the status of VPC flow logs
|
1133
|
+
# as a data source.
|
1134
|
+
# @return [Types::FlowLogsConfigurationResult]
|
1135
|
+
#
|
1136
|
+
# @!attribute [rw] s3_logs
|
1137
|
+
# An object that contains information on the status of S3 Data event
|
1138
|
+
# logs as a data source.
|
1139
|
+
# @return [Types::S3LogsConfigurationResult]
|
1140
|
+
#
|
1141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurationsResult AWS API Documentation
|
1142
|
+
#
|
1143
|
+
class DataSourceConfigurationsResult < Struct.new(
|
1144
|
+
:cloud_trail,
|
1145
|
+
:dns_logs,
|
1146
|
+
:flow_logs,
|
1147
|
+
:s3_logs)
|
1148
|
+
SENSITIVE = []
|
902
1149
|
include Aws::Structure
|
903
1150
|
end
|
904
1151
|
|
@@ -919,6 +1166,7 @@ module Aws::GuardDuty
|
|
919
1166
|
#
|
920
1167
|
class DeclineInvitationsRequest < Struct.new(
|
921
1168
|
:account_ids)
|
1169
|
+
SENSITIVE = []
|
922
1170
|
include Aws::Structure
|
923
1171
|
end
|
924
1172
|
|
@@ -931,6 +1179,32 @@ module Aws::GuardDuty
|
|
931
1179
|
#
|
932
1180
|
class DeclineInvitationsResponse < Struct.new(
|
933
1181
|
:unprocessed_accounts)
|
1182
|
+
SENSITIVE = []
|
1183
|
+
include Aws::Structure
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
# Contains information on the server side encryption method used in the
|
1187
|
+
# S3 bucket. See [S3 Server-Side Encryption][1] for more information.
|
1188
|
+
#
|
1189
|
+
#
|
1190
|
+
#
|
1191
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/atest/dev/serv-side-encryption.html
|
1192
|
+
#
|
1193
|
+
# @!attribute [rw] encryption_type
|
1194
|
+
# The type of encryption used for objects within the S3 bucket.
|
1195
|
+
# @return [String]
|
1196
|
+
#
|
1197
|
+
# @!attribute [rw] kms_master_key_arn
|
1198
|
+
# The Amazon Resource Name (ARN) of the KMS encryption key. Only
|
1199
|
+
# available if the bucket `EncryptionType` is `aws:kms`.
|
1200
|
+
# @return [String]
|
1201
|
+
#
|
1202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DefaultServerSideEncryption AWS API Documentation
|
1203
|
+
#
|
1204
|
+
class DefaultServerSideEncryption < Struct.new(
|
1205
|
+
:encryption_type,
|
1206
|
+
:kms_master_key_arn)
|
1207
|
+
SENSITIVE = []
|
934
1208
|
include Aws::Structure
|
935
1209
|
end
|
936
1210
|
|
@@ -949,6 +1223,7 @@ module Aws::GuardDuty
|
|
949
1223
|
#
|
950
1224
|
class DeleteDetectorRequest < Struct.new(
|
951
1225
|
:detector_id)
|
1226
|
+
SENSITIVE = []
|
952
1227
|
include Aws::Structure
|
953
1228
|
end
|
954
1229
|
|
@@ -977,6 +1252,7 @@ module Aws::GuardDuty
|
|
977
1252
|
class DeleteFilterRequest < Struct.new(
|
978
1253
|
:detector_id,
|
979
1254
|
:filter_name)
|
1255
|
+
SENSITIVE = []
|
980
1256
|
include Aws::Structure
|
981
1257
|
end
|
982
1258
|
|
@@ -1005,6 +1281,7 @@ module Aws::GuardDuty
|
|
1005
1281
|
class DeleteIPSetRequest < Struct.new(
|
1006
1282
|
:detector_id,
|
1007
1283
|
:ip_set_id)
|
1284
|
+
SENSITIVE = []
|
1008
1285
|
include Aws::Structure
|
1009
1286
|
end
|
1010
1287
|
|
@@ -1028,6 +1305,7 @@ module Aws::GuardDuty
|
|
1028
1305
|
#
|
1029
1306
|
class DeleteInvitationsRequest < Struct.new(
|
1030
1307
|
:account_ids)
|
1308
|
+
SENSITIVE = []
|
1031
1309
|
include Aws::Structure
|
1032
1310
|
end
|
1033
1311
|
|
@@ -1040,6 +1318,7 @@ module Aws::GuardDuty
|
|
1040
1318
|
#
|
1041
1319
|
class DeleteInvitationsResponse < Struct.new(
|
1042
1320
|
:unprocessed_accounts)
|
1321
|
+
SENSITIVE = []
|
1043
1322
|
include Aws::Structure
|
1044
1323
|
end
|
1045
1324
|
|
@@ -1066,6 +1345,7 @@ module Aws::GuardDuty
|
|
1066
1345
|
class DeleteMembersRequest < Struct.new(
|
1067
1346
|
:detector_id,
|
1068
1347
|
:account_ids)
|
1348
|
+
SENSITIVE = []
|
1069
1349
|
include Aws::Structure
|
1070
1350
|
end
|
1071
1351
|
|
@@ -1077,6 +1357,7 @@ module Aws::GuardDuty
|
|
1077
1357
|
#
|
1078
1358
|
class DeleteMembersResponse < Struct.new(
|
1079
1359
|
:unprocessed_accounts)
|
1360
|
+
SENSITIVE = []
|
1080
1361
|
include Aws::Structure
|
1081
1362
|
end
|
1082
1363
|
|
@@ -1102,6 +1383,7 @@ module Aws::GuardDuty
|
|
1102
1383
|
class DeletePublishingDestinationRequest < Struct.new(
|
1103
1384
|
:detector_id,
|
1104
1385
|
:destination_id)
|
1386
|
+
SENSITIVE = []
|
1105
1387
|
include Aws::Structure
|
1106
1388
|
end
|
1107
1389
|
|
@@ -1131,6 +1413,7 @@ module Aws::GuardDuty
|
|
1131
1413
|
class DeleteThreatIntelSetRequest < Struct.new(
|
1132
1414
|
:detector_id,
|
1133
1415
|
:threat_intel_set_id)
|
1416
|
+
SENSITIVE = []
|
1134
1417
|
include Aws::Structure
|
1135
1418
|
end
|
1136
1419
|
|
@@ -1154,6 +1437,7 @@ module Aws::GuardDuty
|
|
1154
1437
|
#
|
1155
1438
|
class DescribeOrganizationConfigurationRequest < Struct.new(
|
1156
1439
|
:detector_id)
|
1440
|
+
SENSITIVE = []
|
1157
1441
|
include Aws::Structure
|
1158
1442
|
end
|
1159
1443
|
|
@@ -1167,11 +1451,18 @@ module Aws::GuardDuty
|
|
1167
1451
|
# already associated with the delegated administrator master account.
|
1168
1452
|
# @return [Boolean]
|
1169
1453
|
#
|
1454
|
+
# @!attribute [rw] data_sources
|
1455
|
+
# An object that describes which data sources are enabled
|
1456
|
+
# automatically for member accounts.
|
1457
|
+
# @return [Types::OrganizationDataSourceConfigurationsResult]
|
1458
|
+
#
|
1170
1459
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
|
1171
1460
|
#
|
1172
1461
|
class DescribeOrganizationConfigurationResponse < Struct.new(
|
1173
1462
|
:auto_enable,
|
1174
|
-
:member_account_limit_reached
|
1463
|
+
:member_account_limit_reached,
|
1464
|
+
:data_sources)
|
1465
|
+
SENSITIVE = []
|
1175
1466
|
include Aws::Structure
|
1176
1467
|
end
|
1177
1468
|
|
@@ -1197,6 +1488,7 @@ module Aws::GuardDuty
|
|
1197
1488
|
class DescribePublishingDestinationRequest < Struct.new(
|
1198
1489
|
:detector_id,
|
1199
1490
|
:destination_id)
|
1491
|
+
SENSITIVE = []
|
1200
1492
|
include Aws::Structure
|
1201
1493
|
end
|
1202
1494
|
|
@@ -1231,6 +1523,7 @@ module Aws::GuardDuty
|
|
1231
1523
|
:status,
|
1232
1524
|
:publishing_failure_start_timestamp,
|
1233
1525
|
:destination_properties)
|
1526
|
+
SENSITIVE = []
|
1234
1527
|
include Aws::Structure
|
1235
1528
|
end
|
1236
1529
|
|
@@ -1256,6 +1549,7 @@ module Aws::GuardDuty
|
|
1256
1549
|
:destination_id,
|
1257
1550
|
:destination_type,
|
1258
1551
|
:status)
|
1552
|
+
SENSITIVE = []
|
1259
1553
|
include Aws::Structure
|
1260
1554
|
end
|
1261
1555
|
|
@@ -1284,6 +1578,7 @@ module Aws::GuardDuty
|
|
1284
1578
|
class DestinationProperties < Struct.new(
|
1285
1579
|
:destination_arn,
|
1286
1580
|
:kms_key_arn)
|
1581
|
+
SENSITIVE = []
|
1287
1582
|
include Aws::Structure
|
1288
1583
|
end
|
1289
1584
|
|
@@ -1303,6 +1598,7 @@ module Aws::GuardDuty
|
|
1303
1598
|
#
|
1304
1599
|
class DisableOrganizationAdminAccountRequest < Struct.new(
|
1305
1600
|
:admin_account_id)
|
1601
|
+
SENSITIVE = []
|
1306
1602
|
include Aws::Structure
|
1307
1603
|
end
|
1308
1604
|
|
@@ -1325,6 +1621,7 @@ module Aws::GuardDuty
|
|
1325
1621
|
#
|
1326
1622
|
class DisassociateFromMasterAccountRequest < Struct.new(
|
1327
1623
|
:detector_id)
|
1624
|
+
SENSITIVE = []
|
1328
1625
|
include Aws::Structure
|
1329
1626
|
end
|
1330
1627
|
|
@@ -1355,6 +1652,7 @@ module Aws::GuardDuty
|
|
1355
1652
|
class DisassociateMembersRequest < Struct.new(
|
1356
1653
|
:detector_id,
|
1357
1654
|
:account_ids)
|
1655
|
+
SENSITIVE = []
|
1358
1656
|
include Aws::Structure
|
1359
1657
|
end
|
1360
1658
|
|
@@ -1367,6 +1665,7 @@ module Aws::GuardDuty
|
|
1367
1665
|
#
|
1368
1666
|
class DisassociateMembersResponse < Struct.new(
|
1369
1667
|
:unprocessed_accounts)
|
1668
|
+
SENSITIVE = []
|
1370
1669
|
include Aws::Structure
|
1371
1670
|
end
|
1372
1671
|
|
@@ -1381,6 +1680,7 @@ module Aws::GuardDuty
|
|
1381
1680
|
#
|
1382
1681
|
class DnsRequestAction < Struct.new(
|
1383
1682
|
:domain)
|
1683
|
+
SENSITIVE = []
|
1384
1684
|
include Aws::Structure
|
1385
1685
|
end
|
1386
1686
|
|
@@ -1394,6 +1694,7 @@ module Aws::GuardDuty
|
|
1394
1694
|
#
|
1395
1695
|
class DomainDetails < Struct.new(
|
1396
1696
|
:domain)
|
1697
|
+
SENSITIVE = []
|
1397
1698
|
include Aws::Structure
|
1398
1699
|
end
|
1399
1700
|
|
@@ -1413,6 +1714,7 @@ module Aws::GuardDuty
|
|
1413
1714
|
#
|
1414
1715
|
class EnableOrganizationAdminAccountRequest < Struct.new(
|
1415
1716
|
:admin_account_id)
|
1717
|
+
SENSITIVE = []
|
1416
1718
|
include Aws::Structure
|
1417
1719
|
end
|
1418
1720
|
|
@@ -1430,6 +1732,7 @@ module Aws::GuardDuty
|
|
1430
1732
|
#
|
1431
1733
|
class Evidence < Struct.new(
|
1432
1734
|
:threat_intelligence_details)
|
1735
|
+
SENSITIVE = []
|
1433
1736
|
include Aws::Structure
|
1434
1737
|
end
|
1435
1738
|
|
@@ -1515,6 +1818,7 @@ module Aws::GuardDuty
|
|
1515
1818
|
:title,
|
1516
1819
|
:type,
|
1517
1820
|
:updated_at)
|
1821
|
+
SENSITIVE = []
|
1518
1822
|
include Aws::Structure
|
1519
1823
|
end
|
1520
1824
|
|
@@ -1551,6 +1855,7 @@ module Aws::GuardDuty
|
|
1551
1855
|
#
|
1552
1856
|
class FindingCriteria < Struct.new(
|
1553
1857
|
:criterion)
|
1858
|
+
SENSITIVE = []
|
1554
1859
|
include Aws::Structure
|
1555
1860
|
end
|
1556
1861
|
|
@@ -1565,6 +1870,21 @@ module Aws::GuardDuty
|
|
1565
1870
|
#
|
1566
1871
|
class FindingStatistics < Struct.new(
|
1567
1872
|
:count_by_severity)
|
1873
|
+
SENSITIVE = []
|
1874
|
+
include Aws::Structure
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
# Contains information on the status of VPC flow logs as a data source.
|
1878
|
+
#
|
1879
|
+
# @!attribute [rw] status
|
1880
|
+
# Denotes whether VPC flow logs is enabled as a data source.
|
1881
|
+
# @return [String]
|
1882
|
+
#
|
1883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FlowLogsConfigurationResult AWS API Documentation
|
1884
|
+
#
|
1885
|
+
class FlowLogsConfigurationResult < Struct.new(
|
1886
|
+
:status)
|
1887
|
+
SENSITIVE = []
|
1568
1888
|
include Aws::Structure
|
1569
1889
|
end
|
1570
1890
|
|
@@ -1583,6 +1903,7 @@ module Aws::GuardDuty
|
|
1583
1903
|
class GeoLocation < Struct.new(
|
1584
1904
|
:lat,
|
1585
1905
|
:lon)
|
1906
|
+
SENSITIVE = []
|
1586
1907
|
include Aws::Structure
|
1587
1908
|
end
|
1588
1909
|
|
@@ -1601,6 +1922,7 @@ module Aws::GuardDuty
|
|
1601
1922
|
#
|
1602
1923
|
class GetDetectorRequest < Struct.new(
|
1603
1924
|
:detector_id)
|
1925
|
+
SENSITIVE = []
|
1604
1926
|
include Aws::Structure
|
1605
1927
|
end
|
1606
1928
|
|
@@ -1624,6 +1946,11 @@ module Aws::GuardDuty
|
|
1624
1946
|
# The last-updated timestamp for the detector.
|
1625
1947
|
# @return [String]
|
1626
1948
|
#
|
1949
|
+
# @!attribute [rw] data_sources
|
1950
|
+
# An object that describes which data sources are enabled for the
|
1951
|
+
# detector.
|
1952
|
+
# @return [Types::DataSourceConfigurationsResult]
|
1953
|
+
#
|
1627
1954
|
# @!attribute [rw] tags
|
1628
1955
|
# The tags of the detector resource.
|
1629
1956
|
# @return [Hash<String,String>]
|
@@ -1636,7 +1963,9 @@ module Aws::GuardDuty
|
|
1636
1963
|
:service_role,
|
1637
1964
|
:status,
|
1638
1965
|
:updated_at,
|
1966
|
+
:data_sources,
|
1639
1967
|
:tags)
|
1968
|
+
SENSITIVE = []
|
1640
1969
|
include Aws::Structure
|
1641
1970
|
end
|
1642
1971
|
|
@@ -1661,6 +1990,7 @@ module Aws::GuardDuty
|
|
1661
1990
|
class GetFilterRequest < Struct.new(
|
1662
1991
|
:detector_id,
|
1663
1992
|
:filter_name)
|
1993
|
+
SENSITIVE = []
|
1664
1994
|
include Aws::Structure
|
1665
1995
|
end
|
1666
1996
|
|
@@ -1701,6 +2031,7 @@ module Aws::GuardDuty
|
|
1701
2031
|
:rank,
|
1702
2032
|
:finding_criteria,
|
1703
2033
|
:tags)
|
2034
|
+
SENSITIVE = []
|
1704
2035
|
include Aws::Structure
|
1705
2036
|
end
|
1706
2037
|
|
@@ -1735,6 +2066,7 @@ module Aws::GuardDuty
|
|
1735
2066
|
:detector_id,
|
1736
2067
|
:finding_ids,
|
1737
2068
|
:sort_criteria)
|
2069
|
+
SENSITIVE = []
|
1738
2070
|
include Aws::Structure
|
1739
2071
|
end
|
1740
2072
|
|
@@ -1746,6 +2078,7 @@ module Aws::GuardDuty
|
|
1746
2078
|
#
|
1747
2079
|
class GetFindingsResponse < Struct.new(
|
1748
2080
|
:findings)
|
2081
|
+
SENSITIVE = []
|
1749
2082
|
include Aws::Structure
|
1750
2083
|
end
|
1751
2084
|
|
@@ -1794,6 +2127,7 @@ module Aws::GuardDuty
|
|
1794
2127
|
:detector_id,
|
1795
2128
|
:finding_statistic_types,
|
1796
2129
|
:finding_criteria)
|
2130
|
+
SENSITIVE = []
|
1797
2131
|
include Aws::Structure
|
1798
2132
|
end
|
1799
2133
|
|
@@ -1805,6 +2139,7 @@ module Aws::GuardDuty
|
|
1805
2139
|
#
|
1806
2140
|
class GetFindingsStatisticsResponse < Struct.new(
|
1807
2141
|
:finding_statistics)
|
2142
|
+
SENSITIVE = []
|
1808
2143
|
include Aws::Structure
|
1809
2144
|
end
|
1810
2145
|
|
@@ -1829,6 +2164,7 @@ module Aws::GuardDuty
|
|
1829
2164
|
class GetIPSetRequest < Struct.new(
|
1830
2165
|
:detector_id,
|
1831
2166
|
:ip_set_id)
|
2167
|
+
SENSITIVE = []
|
1832
2168
|
include Aws::Structure
|
1833
2169
|
end
|
1834
2170
|
|
@@ -1841,7 +2177,8 @@ module Aws::GuardDuty
|
|
1841
2177
|
# @return [String]
|
1842
2178
|
#
|
1843
2179
|
# @!attribute [rw] location
|
1844
|
-
# The URI of the file that contains the IPSet.
|
2180
|
+
# The URI of the file that contains the IPSet. For example:
|
2181
|
+
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
1845
2182
|
# @return [String]
|
1846
2183
|
#
|
1847
2184
|
# @!attribute [rw] status
|
@@ -1860,6 +2197,7 @@ module Aws::GuardDuty
|
|
1860
2197
|
:location,
|
1861
2198
|
:status,
|
1862
2199
|
:tags)
|
2200
|
+
SENSITIVE = []
|
1863
2201
|
include Aws::Structure
|
1864
2202
|
end
|
1865
2203
|
|
@@ -1877,6 +2215,7 @@ module Aws::GuardDuty
|
|
1877
2215
|
#
|
1878
2216
|
class GetInvitationsCountResponse < Struct.new(
|
1879
2217
|
:invitations_count)
|
2218
|
+
SENSITIVE = []
|
1880
2219
|
include Aws::Structure
|
1881
2220
|
end
|
1882
2221
|
|
@@ -1895,6 +2234,7 @@ module Aws::GuardDuty
|
|
1895
2234
|
#
|
1896
2235
|
class GetMasterAccountRequest < Struct.new(
|
1897
2236
|
:detector_id)
|
2237
|
+
SENSITIVE = []
|
1898
2238
|
include Aws::Structure
|
1899
2239
|
end
|
1900
2240
|
|
@@ -1906,6 +2246,51 @@ module Aws::GuardDuty
|
|
1906
2246
|
#
|
1907
2247
|
class GetMasterAccountResponse < Struct.new(
|
1908
2248
|
:master)
|
2249
|
+
SENSITIVE = []
|
2250
|
+
include Aws::Structure
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
# @note When making an API call, you may pass GetMemberDetectorsRequest
|
2254
|
+
# data as a hash:
|
2255
|
+
#
|
2256
|
+
# {
|
2257
|
+
# detector_id: "DetectorId", # required
|
2258
|
+
# account_ids: ["AccountId"], # required
|
2259
|
+
# }
|
2260
|
+
#
|
2261
|
+
# @!attribute [rw] detector_id
|
2262
|
+
# The detector ID for the master account.
|
2263
|
+
# @return [String]
|
2264
|
+
#
|
2265
|
+
# @!attribute [rw] account_ids
|
2266
|
+
# The account ID of the member account.
|
2267
|
+
# @return [Array<String>]
|
2268
|
+
#
|
2269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsRequest AWS API Documentation
|
2270
|
+
#
|
2271
|
+
class GetMemberDetectorsRequest < Struct.new(
|
2272
|
+
:detector_id,
|
2273
|
+
:account_ids)
|
2274
|
+
SENSITIVE = []
|
2275
|
+
include Aws::Structure
|
2276
|
+
end
|
2277
|
+
|
2278
|
+
# @!attribute [rw] member_data_source_configurations
|
2279
|
+
# An object that describes which data sources are enabled for a member
|
2280
|
+
# account.
|
2281
|
+
# @return [Array<Types::MemberDataSourceConfiguration>]
|
2282
|
+
#
|
2283
|
+
# @!attribute [rw] unprocessed_accounts
|
2284
|
+
# A list of member account IDs that were unable to be processed along
|
2285
|
+
# with an explanation for why they were not processed.
|
2286
|
+
# @return [Array<Types::UnprocessedAccount>]
|
2287
|
+
#
|
2288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsResponse AWS API Documentation
|
2289
|
+
#
|
2290
|
+
class GetMemberDetectorsResponse < Struct.new(
|
2291
|
+
:member_data_source_configurations,
|
2292
|
+
:unprocessed_accounts)
|
2293
|
+
SENSITIVE = []
|
1909
2294
|
include Aws::Structure
|
1910
2295
|
end
|
1911
2296
|
|
@@ -1932,6 +2317,7 @@ module Aws::GuardDuty
|
|
1932
2317
|
class GetMembersRequest < Struct.new(
|
1933
2318
|
:detector_id,
|
1934
2319
|
:account_ids)
|
2320
|
+
SENSITIVE = []
|
1935
2321
|
include Aws::Structure
|
1936
2322
|
end
|
1937
2323
|
|
@@ -1949,6 +2335,7 @@ module Aws::GuardDuty
|
|
1949
2335
|
class GetMembersResponse < Struct.new(
|
1950
2336
|
:members,
|
1951
2337
|
:unprocessed_accounts)
|
2338
|
+
SENSITIVE = []
|
1952
2339
|
include Aws::Structure
|
1953
2340
|
end
|
1954
2341
|
|
@@ -1974,6 +2361,7 @@ module Aws::GuardDuty
|
|
1974
2361
|
class GetThreatIntelSetRequest < Struct.new(
|
1975
2362
|
:detector_id,
|
1976
2363
|
:threat_intel_set_id)
|
2364
|
+
SENSITIVE = []
|
1977
2365
|
include Aws::Structure
|
1978
2366
|
end
|
1979
2367
|
|
@@ -1988,7 +2376,8 @@ module Aws::GuardDuty
|
|
1988
2376
|
# @return [String]
|
1989
2377
|
#
|
1990
2378
|
# @!attribute [rw] location
|
1991
|
-
# The URI of the file that contains the ThreatIntelSet.
|
2379
|
+
# The URI of the file that contains the ThreatIntelSet. For example:
|
2380
|
+
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
1992
2381
|
# @return [String]
|
1993
2382
|
#
|
1994
2383
|
# @!attribute [rw] status
|
@@ -2007,6 +2396,85 @@ module Aws::GuardDuty
|
|
2007
2396
|
:location,
|
2008
2397
|
:status,
|
2009
2398
|
:tags)
|
2399
|
+
SENSITIVE = []
|
2400
|
+
include Aws::Structure
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
# @note When making an API call, you may pass GetUsageStatisticsRequest
|
2404
|
+
# data as a hash:
|
2405
|
+
#
|
2406
|
+
# {
|
2407
|
+
# detector_id: "DetectorId", # required
|
2408
|
+
# usage_statistic_type: "SUM_BY_ACCOUNT", # required, accepts SUM_BY_ACCOUNT, SUM_BY_DATA_SOURCE, SUM_BY_RESOURCE, TOP_RESOURCES
|
2409
|
+
# usage_criteria: { # required
|
2410
|
+
# account_ids: ["AccountId"],
|
2411
|
+
# data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS
|
2412
|
+
# resources: ["String"],
|
2413
|
+
# },
|
2414
|
+
# unit: "String",
|
2415
|
+
# max_results: 1,
|
2416
|
+
# next_token: "String",
|
2417
|
+
# }
|
2418
|
+
#
|
2419
|
+
# @!attribute [rw] detector_id
|
2420
|
+
# The ID of the detector that specifies the GuardDuty service whose
|
2421
|
+
# usage statistics you want to retrieve.
|
2422
|
+
# @return [String]
|
2423
|
+
#
|
2424
|
+
# @!attribute [rw] usage_statistic_type
|
2425
|
+
# The type of usage statistics to retrieve.
|
2426
|
+
# @return [String]
|
2427
|
+
#
|
2428
|
+
# @!attribute [rw] usage_criteria
|
2429
|
+
# Represents the criteria used for querying usage.
|
2430
|
+
# @return [Types::UsageCriteria]
|
2431
|
+
#
|
2432
|
+
# @!attribute [rw] unit
|
2433
|
+
# The currency unit you would like to view your usage statistics in.
|
2434
|
+
# Current valid values are USD.
|
2435
|
+
# @return [String]
|
2436
|
+
#
|
2437
|
+
# @!attribute [rw] max_results
|
2438
|
+
# The maximum number of results to return in the response.
|
2439
|
+
# @return [Integer]
|
2440
|
+
#
|
2441
|
+
# @!attribute [rw] next_token
|
2442
|
+
# A token to use for paginating results that are returned in the
|
2443
|
+
# response. Set the value of this parameter to null for the first
|
2444
|
+
# request to a list action. For subsequent calls, use the NextToken
|
2445
|
+
# value returned from the previous request to continue listing results
|
2446
|
+
# after the first page.
|
2447
|
+
# @return [String]
|
2448
|
+
#
|
2449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatisticsRequest AWS API Documentation
|
2450
|
+
#
|
2451
|
+
class GetUsageStatisticsRequest < Struct.new(
|
2452
|
+
:detector_id,
|
2453
|
+
:usage_statistic_type,
|
2454
|
+
:usage_criteria,
|
2455
|
+
:unit,
|
2456
|
+
:max_results,
|
2457
|
+
:next_token)
|
2458
|
+
SENSITIVE = []
|
2459
|
+
include Aws::Structure
|
2460
|
+
end
|
2461
|
+
|
2462
|
+
# @!attribute [rw] usage_statistics
|
2463
|
+
# The usage statistics object. If a UsageStatisticType was provided,
|
2464
|
+
# the objects representing other types will be null.
|
2465
|
+
# @return [Types::UsageStatistics]
|
2466
|
+
#
|
2467
|
+
# @!attribute [rw] next_token
|
2468
|
+
# The pagination parameter to be used on the next list operation to
|
2469
|
+
# retrieve more items.
|
2470
|
+
# @return [String]
|
2471
|
+
#
|
2472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatisticsResponse AWS API Documentation
|
2473
|
+
#
|
2474
|
+
class GetUsageStatisticsResponse < Struct.new(
|
2475
|
+
:usage_statistics,
|
2476
|
+
:next_token)
|
2477
|
+
SENSITIVE = []
|
2010
2478
|
include Aws::Structure
|
2011
2479
|
end
|
2012
2480
|
|
@@ -2025,6 +2493,7 @@ module Aws::GuardDuty
|
|
2025
2493
|
class IamInstanceProfile < Struct.new(
|
2026
2494
|
:arn,
|
2027
2495
|
:id)
|
2496
|
+
SENSITIVE = []
|
2028
2497
|
include Aws::Structure
|
2029
2498
|
end
|
2030
2499
|
|
@@ -2099,6 +2568,7 @@ module Aws::GuardDuty
|
|
2099
2568
|
:platform,
|
2100
2569
|
:product_codes,
|
2101
2570
|
:tags)
|
2571
|
+
SENSITIVE = []
|
2102
2572
|
include Aws::Structure
|
2103
2573
|
end
|
2104
2574
|
|
@@ -2117,6 +2587,7 @@ module Aws::GuardDuty
|
|
2117
2587
|
class InternalServerErrorException < Struct.new(
|
2118
2588
|
:message,
|
2119
2589
|
:type)
|
2590
|
+
SENSITIVE = []
|
2120
2591
|
include Aws::Structure
|
2121
2592
|
end
|
2122
2593
|
|
@@ -2147,6 +2618,7 @@ module Aws::GuardDuty
|
|
2147
2618
|
:invitation_id,
|
2148
2619
|
:relationship_status,
|
2149
2620
|
:invited_at)
|
2621
|
+
SENSITIVE = []
|
2150
2622
|
include Aws::Structure
|
2151
2623
|
end
|
2152
2624
|
|
@@ -2172,13 +2644,13 @@ module Aws::GuardDuty
|
|
2172
2644
|
#
|
2173
2645
|
# @!attribute [rw] disable_email_notification
|
2174
2646
|
# A Boolean value that specifies whether you want to disable email
|
2175
|
-
# notification to the accounts that you
|
2647
|
+
# notification to the accounts that you are inviting to GuardDuty as
|
2176
2648
|
# members.
|
2177
2649
|
# @return [Boolean]
|
2178
2650
|
#
|
2179
2651
|
# @!attribute [rw] message
|
2180
2652
|
# The invitation message that you want to send to the accounts that
|
2181
|
-
# you
|
2653
|
+
# you're inviting to GuardDuty as members.
|
2182
2654
|
# @return [String]
|
2183
2655
|
#
|
2184
2656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest AWS API Documentation
|
@@ -2188,6 +2660,7 @@ module Aws::GuardDuty
|
|
2188
2660
|
:account_ids,
|
2189
2661
|
:disable_email_notification,
|
2190
2662
|
:message)
|
2663
|
+
SENSITIVE = []
|
2191
2664
|
include Aws::Structure
|
2192
2665
|
end
|
2193
2666
|
|
@@ -2200,6 +2673,7 @@ module Aws::GuardDuty
|
|
2200
2673
|
#
|
2201
2674
|
class InviteMembersResponse < Struct.new(
|
2202
2675
|
:unprocessed_accounts)
|
2676
|
+
SENSITIVE = []
|
2203
2677
|
include Aws::Structure
|
2204
2678
|
end
|
2205
2679
|
|
@@ -2230,6 +2704,7 @@ module Aws::GuardDuty
|
|
2230
2704
|
class ListDetectorsRequest < Struct.new(
|
2231
2705
|
:max_results,
|
2232
2706
|
:next_token)
|
2707
|
+
SENSITIVE = []
|
2233
2708
|
include Aws::Structure
|
2234
2709
|
end
|
2235
2710
|
|
@@ -2247,6 +2722,7 @@ module Aws::GuardDuty
|
|
2247
2722
|
class ListDetectorsResponse < Struct.new(
|
2248
2723
|
:detector_ids,
|
2249
2724
|
:next_token)
|
2725
|
+
SENSITIVE = []
|
2250
2726
|
include Aws::Structure
|
2251
2727
|
end
|
2252
2728
|
|
@@ -2283,6 +2759,7 @@ module Aws::GuardDuty
|
|
2283
2759
|
:detector_id,
|
2284
2760
|
:max_results,
|
2285
2761
|
:next_token)
|
2762
|
+
SENSITIVE = []
|
2286
2763
|
include Aws::Structure
|
2287
2764
|
end
|
2288
2765
|
|
@@ -2300,6 +2777,7 @@ module Aws::GuardDuty
|
|
2300
2777
|
class ListFiltersResponse < Struct.new(
|
2301
2778
|
:filter_names,
|
2302
2779
|
:next_token)
|
2780
|
+
SENSITIVE = []
|
2303
2781
|
include Aws::Structure
|
2304
2782
|
end
|
2305
2783
|
|
@@ -2367,8 +2845,6 @@ module Aws::GuardDuty
|
|
2367
2845
|
#
|
2368
2846
|
# * resource.instanceDetails.instanceId
|
2369
2847
|
#
|
2370
|
-
# * resource.instanceDetails.outpostArn
|
2371
|
-
#
|
2372
2848
|
# * resource.instanceDetails.networkInterfaces.ipv6Addresses
|
2373
2849
|
#
|
2374
2850
|
# * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
|
@@ -2419,8 +2895,6 @@ module Aws::GuardDuty
|
|
2419
2895
|
#
|
2420
2896
|
# * service.action.networkConnectionAction.protocol
|
2421
2897
|
#
|
2422
|
-
# * service.action.networkConnectionAction.localIpDetails.ipAddressV4
|
2423
|
-
#
|
2424
2898
|
# * service.action.networkConnectionAction.remoteIpDetails.city.cityName
|
2425
2899
|
#
|
2426
2900
|
# * service.action.networkConnectionAction.remoteIpDetails.country.countryName
|
@@ -2479,6 +2953,7 @@ module Aws::GuardDuty
|
|
2479
2953
|
:sort_criteria,
|
2480
2954
|
:max_results,
|
2481
2955
|
:next_token)
|
2956
|
+
SENSITIVE = []
|
2482
2957
|
include Aws::Structure
|
2483
2958
|
end
|
2484
2959
|
|
@@ -2496,6 +2971,7 @@ module Aws::GuardDuty
|
|
2496
2971
|
class ListFindingsResponse < Struct.new(
|
2497
2972
|
:finding_ids,
|
2498
2973
|
:next_token)
|
2974
|
+
SENSITIVE = []
|
2499
2975
|
include Aws::Structure
|
2500
2976
|
end
|
2501
2977
|
|
@@ -2532,6 +3008,7 @@ module Aws::GuardDuty
|
|
2532
3008
|
:detector_id,
|
2533
3009
|
:max_results,
|
2534
3010
|
:next_token)
|
3011
|
+
SENSITIVE = []
|
2535
3012
|
include Aws::Structure
|
2536
3013
|
end
|
2537
3014
|
|
@@ -2549,6 +3026,7 @@ module Aws::GuardDuty
|
|
2549
3026
|
class ListIPSetsResponse < Struct.new(
|
2550
3027
|
:ip_set_ids,
|
2551
3028
|
:next_token)
|
3029
|
+
SENSITIVE = []
|
2552
3030
|
include Aws::Structure
|
2553
3031
|
end
|
2554
3032
|
|
@@ -2579,6 +3057,7 @@ module Aws::GuardDuty
|
|
2579
3057
|
class ListInvitationsRequest < Struct.new(
|
2580
3058
|
:max_results,
|
2581
3059
|
:next_token)
|
3060
|
+
SENSITIVE = []
|
2582
3061
|
include Aws::Structure
|
2583
3062
|
end
|
2584
3063
|
|
@@ -2596,6 +3075,7 @@ module Aws::GuardDuty
|
|
2596
3075
|
class ListInvitationsResponse < Struct.new(
|
2597
3076
|
:invitations,
|
2598
3077
|
:next_token)
|
3078
|
+
SENSITIVE = []
|
2599
3079
|
include Aws::Structure
|
2600
3080
|
end
|
2601
3081
|
|
@@ -2628,11 +3108,9 @@ module Aws::GuardDuty
|
|
2628
3108
|
# @return [String]
|
2629
3109
|
#
|
2630
3110
|
# @!attribute [rw] only_associated
|
2631
|
-
# Specifies
|
2632
|
-
#
|
2633
|
-
#
|
2634
|
-
# member accounts (including members who haven't been invited yet or
|
2635
|
-
# have been disassociated).
|
3111
|
+
# Specifies whether to only return associated members or to return all
|
3112
|
+
# members (including members who haven't been invited yet or have
|
3113
|
+
# been disassociated).
|
2636
3114
|
# @return [String]
|
2637
3115
|
#
|
2638
3116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest AWS API Documentation
|
@@ -2642,6 +3120,7 @@ module Aws::GuardDuty
|
|
2642
3120
|
:max_results,
|
2643
3121
|
:next_token,
|
2644
3122
|
:only_associated)
|
3123
|
+
SENSITIVE = []
|
2645
3124
|
include Aws::Structure
|
2646
3125
|
end
|
2647
3126
|
|
@@ -2659,6 +3138,7 @@ module Aws::GuardDuty
|
|
2659
3138
|
class ListMembersResponse < Struct.new(
|
2660
3139
|
:members,
|
2661
3140
|
:next_token)
|
3141
|
+
SENSITIVE = []
|
2662
3142
|
include Aws::Structure
|
2663
3143
|
end
|
2664
3144
|
|
@@ -2687,6 +3167,7 @@ module Aws::GuardDuty
|
|
2687
3167
|
class ListOrganizationAdminAccountsRequest < Struct.new(
|
2688
3168
|
:max_results,
|
2689
3169
|
:next_token)
|
3170
|
+
SENSITIVE = []
|
2690
3171
|
include Aws::Structure
|
2691
3172
|
end
|
2692
3173
|
|
@@ -2705,6 +3186,7 @@ module Aws::GuardDuty
|
|
2705
3186
|
class ListOrganizationAdminAccountsResponse < Struct.new(
|
2706
3187
|
:admin_accounts,
|
2707
3188
|
:next_token)
|
3189
|
+
SENSITIVE = []
|
2708
3190
|
include Aws::Structure
|
2709
3191
|
end
|
2710
3192
|
|
@@ -2739,6 +3221,7 @@ module Aws::GuardDuty
|
|
2739
3221
|
:detector_id,
|
2740
3222
|
:max_results,
|
2741
3223
|
:next_token)
|
3224
|
+
SENSITIVE = []
|
2742
3225
|
include Aws::Structure
|
2743
3226
|
end
|
2744
3227
|
|
@@ -2760,6 +3243,7 @@ module Aws::GuardDuty
|
|
2760
3243
|
class ListPublishingDestinationsResponse < Struct.new(
|
2761
3244
|
:destinations,
|
2762
3245
|
:next_token)
|
3246
|
+
SENSITIVE = []
|
2763
3247
|
include Aws::Structure
|
2764
3248
|
end
|
2765
3249
|
|
@@ -2778,6 +3262,7 @@ module Aws::GuardDuty
|
|
2778
3262
|
#
|
2779
3263
|
class ListTagsForResourceRequest < Struct.new(
|
2780
3264
|
:resource_arn)
|
3265
|
+
SENSITIVE = []
|
2781
3266
|
include Aws::Structure
|
2782
3267
|
end
|
2783
3268
|
|
@@ -2789,6 +3274,7 @@ module Aws::GuardDuty
|
|
2789
3274
|
#
|
2790
3275
|
class ListTagsForResourceResponse < Struct.new(
|
2791
3276
|
:tags)
|
3277
|
+
SENSITIVE = []
|
2792
3278
|
include Aws::Structure
|
2793
3279
|
end
|
2794
3280
|
|
@@ -2826,6 +3312,7 @@ module Aws::GuardDuty
|
|
2826
3312
|
:detector_id,
|
2827
3313
|
:max_results,
|
2828
3314
|
:next_token)
|
3315
|
+
SENSITIVE = []
|
2829
3316
|
include Aws::Structure
|
2830
3317
|
end
|
2831
3318
|
|
@@ -2843,6 +3330,7 @@ module Aws::GuardDuty
|
|
2843
3330
|
class ListThreatIntelSetsResponse < Struct.new(
|
2844
3331
|
:threat_intel_set_ids,
|
2845
3332
|
:next_token)
|
3333
|
+
SENSITIVE = []
|
2846
3334
|
include Aws::Structure
|
2847
3335
|
end
|
2848
3336
|
|
@@ -2856,6 +3344,7 @@ module Aws::GuardDuty
|
|
2856
3344
|
#
|
2857
3345
|
class LocalIpDetails < Struct.new(
|
2858
3346
|
:ip_address_v4)
|
3347
|
+
SENSITIVE = []
|
2859
3348
|
include Aws::Structure
|
2860
3349
|
end
|
2861
3350
|
|
@@ -2874,6 +3363,7 @@ module Aws::GuardDuty
|
|
2874
3363
|
class LocalPortDetails < Struct.new(
|
2875
3364
|
:port,
|
2876
3365
|
:port_name)
|
3366
|
+
SENSITIVE = []
|
2877
3367
|
include Aws::Structure
|
2878
3368
|
end
|
2879
3369
|
|
@@ -2903,6 +3393,7 @@ module Aws::GuardDuty
|
|
2903
3393
|
:invitation_id,
|
2904
3394
|
:relationship_status,
|
2905
3395
|
:invited_at)
|
3396
|
+
SENSITIVE = []
|
2906
3397
|
include Aws::Structure
|
2907
3398
|
end
|
2908
3399
|
|
@@ -2946,6 +3437,27 @@ module Aws::GuardDuty
|
|
2946
3437
|
:relationship_status,
|
2947
3438
|
:invited_at,
|
2948
3439
|
:updated_at)
|
3440
|
+
SENSITIVE = []
|
3441
|
+
include Aws::Structure
|
3442
|
+
end
|
3443
|
+
|
3444
|
+
# Contains information on which data sources are enabled for a member
|
3445
|
+
# account.
|
3446
|
+
#
|
3447
|
+
# @!attribute [rw] account_id
|
3448
|
+
# The account ID for the member account.
|
3449
|
+
# @return [String]
|
3450
|
+
#
|
3451
|
+
# @!attribute [rw] data_sources
|
3452
|
+
# Contains information on the status of data sources for the account.
|
3453
|
+
# @return [Types::DataSourceConfigurationsResult]
|
3454
|
+
#
|
3455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberDataSourceConfiguration AWS API Documentation
|
3456
|
+
#
|
3457
|
+
class MemberDataSourceConfiguration < Struct.new(
|
3458
|
+
:account_id,
|
3459
|
+
:data_sources)
|
3460
|
+
SENSITIVE = []
|
2949
3461
|
include Aws::Structure
|
2950
3462
|
end
|
2951
3463
|
|
@@ -2991,6 +3503,7 @@ module Aws::GuardDuty
|
|
2991
3503
|
:local_ip_details,
|
2992
3504
|
:remote_ip_details,
|
2993
3505
|
:remote_port_details)
|
3506
|
+
SENSITIVE = []
|
2994
3507
|
include Aws::Structure
|
2995
3508
|
end
|
2996
3509
|
|
@@ -3050,6 +3563,7 @@ module Aws::GuardDuty
|
|
3050
3563
|
:security_groups,
|
3051
3564
|
:subnet_id,
|
3052
3565
|
:vpc_id)
|
3566
|
+
SENSITIVE = []
|
3053
3567
|
include Aws::Structure
|
3054
3568
|
end
|
3055
3569
|
|
@@ -3080,6 +3594,129 @@ module Aws::GuardDuty
|
|
3080
3594
|
:asn_org,
|
3081
3595
|
:isp,
|
3082
3596
|
:org)
|
3597
|
+
SENSITIVE = []
|
3598
|
+
include Aws::Structure
|
3599
|
+
end
|
3600
|
+
|
3601
|
+
# An object that contains information on which data sources will be
|
3602
|
+
# configured to be automatically enabled for new members within the
|
3603
|
+
# organization.
|
3604
|
+
#
|
3605
|
+
# @note When making an API call, you may pass OrganizationDataSourceConfigurations
|
3606
|
+
# data as a hash:
|
3607
|
+
#
|
3608
|
+
# {
|
3609
|
+
# s3_logs: {
|
3610
|
+
# auto_enable: false, # required
|
3611
|
+
# },
|
3612
|
+
# }
|
3613
|
+
#
|
3614
|
+
# @!attribute [rw] s3_logs
|
3615
|
+
# Describes whether S3 data event logs are enabled for new members of
|
3616
|
+
# the organization.
|
3617
|
+
# @return [Types::OrganizationS3LogsConfiguration]
|
3618
|
+
#
|
3619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurations AWS API Documentation
|
3620
|
+
#
|
3621
|
+
class OrganizationDataSourceConfigurations < Struct.new(
|
3622
|
+
:s3_logs)
|
3623
|
+
SENSITIVE = []
|
3624
|
+
include Aws::Structure
|
3625
|
+
end
|
3626
|
+
|
3627
|
+
# An object that contains information on which data sources are
|
3628
|
+
# automatically enabled for new members within the organization.
|
3629
|
+
#
|
3630
|
+
# @!attribute [rw] s3_logs
|
3631
|
+
# Describes whether S3 data event logs are enabled as a data source.
|
3632
|
+
# @return [Types::OrganizationS3LogsConfigurationResult]
|
3633
|
+
#
|
3634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurationsResult AWS API Documentation
|
3635
|
+
#
|
3636
|
+
class OrganizationDataSourceConfigurationsResult < Struct.new(
|
3637
|
+
:s3_logs)
|
3638
|
+
SENSITIVE = []
|
3639
|
+
include Aws::Structure
|
3640
|
+
end
|
3641
|
+
|
3642
|
+
# Describes whether S3 data event logs will be automatically enabled for
|
3643
|
+
# new members of the organization.
|
3644
|
+
#
|
3645
|
+
# @note When making an API call, you may pass OrganizationS3LogsConfiguration
|
3646
|
+
# data as a hash:
|
3647
|
+
#
|
3648
|
+
# {
|
3649
|
+
# auto_enable: false, # required
|
3650
|
+
# }
|
3651
|
+
#
|
3652
|
+
# @!attribute [rw] auto_enable
|
3653
|
+
# A value that contains information on whether S3 data event logs will
|
3654
|
+
# be enabled automatically as a data source for the organization.
|
3655
|
+
# @return [Boolean]
|
3656
|
+
#
|
3657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfiguration AWS API Documentation
|
3658
|
+
#
|
3659
|
+
class OrganizationS3LogsConfiguration < Struct.new(
|
3660
|
+
:auto_enable)
|
3661
|
+
SENSITIVE = []
|
3662
|
+
include Aws::Structure
|
3663
|
+
end
|
3664
|
+
|
3665
|
+
# The current configuration of S3 data event logs as a data source for
|
3666
|
+
# the organization.
|
3667
|
+
#
|
3668
|
+
# @!attribute [rw] auto_enable
|
3669
|
+
# A value that describes whether S3 data event logs are automatically
|
3670
|
+
# enabled for new members of the organization.
|
3671
|
+
# @return [Boolean]
|
3672
|
+
#
|
3673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfigurationResult AWS API Documentation
|
3674
|
+
#
|
3675
|
+
class OrganizationS3LogsConfigurationResult < Struct.new(
|
3676
|
+
:auto_enable)
|
3677
|
+
SENSITIVE = []
|
3678
|
+
include Aws::Structure
|
3679
|
+
end
|
3680
|
+
|
3681
|
+
# Contains information on the owner of the bucket.
|
3682
|
+
#
|
3683
|
+
# @!attribute [rw] id
|
3684
|
+
# The canonical user ID of the bucket owner. For information about
|
3685
|
+
# locating your canonical user ID see [Finding Your Account Canonical
|
3686
|
+
# User ID.][1]
|
3687
|
+
#
|
3688
|
+
#
|
3689
|
+
#
|
3690
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html#FindingCanonicalId
|
3691
|
+
# @return [String]
|
3692
|
+
#
|
3693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Owner AWS API Documentation
|
3694
|
+
#
|
3695
|
+
class Owner < Struct.new(
|
3696
|
+
:id)
|
3697
|
+
SENSITIVE = []
|
3698
|
+
include Aws::Structure
|
3699
|
+
end
|
3700
|
+
|
3701
|
+
# Contains information about how permissions are configured for the S3
|
3702
|
+
# bucket.
|
3703
|
+
#
|
3704
|
+
# @!attribute [rw] bucket_level_permissions
|
3705
|
+
# Contains information about the bucket level permissions for the S3
|
3706
|
+
# bucket.
|
3707
|
+
# @return [Types::BucketLevelPermissions]
|
3708
|
+
#
|
3709
|
+
# @!attribute [rw] account_level_permissions
|
3710
|
+
# Contains information about the account level permissions on the S3
|
3711
|
+
# bucket.
|
3712
|
+
# @return [Types::AccountLevelPermissions]
|
3713
|
+
#
|
3714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PermissionConfiguration AWS API Documentation
|
3715
|
+
#
|
3716
|
+
class PermissionConfiguration < Struct.new(
|
3717
|
+
:bucket_level_permissions,
|
3718
|
+
:account_level_permissions)
|
3719
|
+
SENSITIVE = []
|
3083
3720
|
include Aws::Structure
|
3084
3721
|
end
|
3085
3722
|
|
@@ -3100,6 +3737,7 @@ module Aws::GuardDuty
|
|
3100
3737
|
class PortProbeAction < Struct.new(
|
3101
3738
|
:blocked,
|
3102
3739
|
:port_probe_details)
|
3740
|
+
SENSITIVE = []
|
3103
3741
|
include Aws::Structure
|
3104
3742
|
end
|
3105
3743
|
|
@@ -3123,6 +3761,7 @@ module Aws::GuardDuty
|
|
3123
3761
|
:local_port_details,
|
3124
3762
|
:local_ip_details,
|
3125
3763
|
:remote_ip_details)
|
3764
|
+
SENSITIVE = []
|
3126
3765
|
include Aws::Structure
|
3127
3766
|
end
|
3128
3767
|
|
@@ -3141,6 +3780,7 @@ module Aws::GuardDuty
|
|
3141
3780
|
class PrivateIpAddressDetails < Struct.new(
|
3142
3781
|
:private_dns_name,
|
3143
3782
|
:private_ip_address)
|
3783
|
+
SENSITIVE = []
|
3144
3784
|
include Aws::Structure
|
3145
3785
|
end
|
3146
3786
|
|
@@ -3159,6 +3799,28 @@ module Aws::GuardDuty
|
|
3159
3799
|
class ProductCode < Struct.new(
|
3160
3800
|
:code,
|
3161
3801
|
:product_type)
|
3802
|
+
SENSITIVE = []
|
3803
|
+
include Aws::Structure
|
3804
|
+
end
|
3805
|
+
|
3806
|
+
# Describes the public access policies that apply to the S3 bucket.
|
3807
|
+
#
|
3808
|
+
# @!attribute [rw] permission_configuration
|
3809
|
+
# Contains information about how permissions are configured for the S3
|
3810
|
+
# bucket.
|
3811
|
+
# @return [Types::PermissionConfiguration]
|
3812
|
+
#
|
3813
|
+
# @!attribute [rw] effective_permission
|
3814
|
+
# Describes the effective permission on this bucket after factoring
|
3815
|
+
# all attached policies.
|
3816
|
+
# @return [String]
|
3817
|
+
#
|
3818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PublicAccess AWS API Documentation
|
3819
|
+
#
|
3820
|
+
class PublicAccess < Struct.new(
|
3821
|
+
:permission_configuration,
|
3822
|
+
:effective_permission)
|
3823
|
+
SENSITIVE = []
|
3162
3824
|
include Aws::Structure
|
3163
3825
|
end
|
3164
3826
|
|
@@ -3192,6 +3854,7 @@ module Aws::GuardDuty
|
|
3192
3854
|
:geo_location,
|
3193
3855
|
:ip_address_v4,
|
3194
3856
|
:organization)
|
3857
|
+
SENSITIVE = []
|
3195
3858
|
include Aws::Structure
|
3196
3859
|
end
|
3197
3860
|
|
@@ -3210,6 +3873,7 @@ module Aws::GuardDuty
|
|
3210
3873
|
class RemotePortDetails < Struct.new(
|
3211
3874
|
:port,
|
3212
3875
|
:port_name)
|
3876
|
+
SENSITIVE = []
|
3213
3877
|
include Aws::Structure
|
3214
3878
|
end
|
3215
3879
|
|
@@ -3222,6 +3886,10 @@ module Aws::GuardDuty
|
|
3222
3886
|
# finding.
|
3223
3887
|
# @return [Types::AccessKeyDetails]
|
3224
3888
|
#
|
3889
|
+
# @!attribute [rw] s3_bucket_details
|
3890
|
+
# Contains information on the S3 bucket.
|
3891
|
+
# @return [Array<Types::S3BucketDetail>]
|
3892
|
+
#
|
3225
3893
|
# @!attribute [rw] instance_details
|
3226
3894
|
# The information about the EC2 instance associated with the activity
|
3227
3895
|
# that prompted GuardDuty to generate a finding.
|
@@ -3235,8 +3903,95 @@ module Aws::GuardDuty
|
|
3235
3903
|
#
|
3236
3904
|
class Resource < Struct.new(
|
3237
3905
|
:access_key_details,
|
3906
|
+
:s3_bucket_details,
|
3238
3907
|
:instance_details,
|
3239
3908
|
:resource_type)
|
3909
|
+
SENSITIVE = []
|
3910
|
+
include Aws::Structure
|
3911
|
+
end
|
3912
|
+
|
3913
|
+
# Contains information on the S3 bucket.
|
3914
|
+
#
|
3915
|
+
# @!attribute [rw] arn
|
3916
|
+
# The Amazon Resource Name (ARN) of the S3 bucket.
|
3917
|
+
# @return [String]
|
3918
|
+
#
|
3919
|
+
# @!attribute [rw] name
|
3920
|
+
# The name of the S3 bucket.
|
3921
|
+
# @return [String]
|
3922
|
+
#
|
3923
|
+
# @!attribute [rw] type
|
3924
|
+
# Describes whether the bucket is a source or destination bucket.
|
3925
|
+
# @return [String]
|
3926
|
+
#
|
3927
|
+
# @!attribute [rw] created_at
|
3928
|
+
# The date and time the bucket was created at.
|
3929
|
+
# @return [Time]
|
3930
|
+
#
|
3931
|
+
# @!attribute [rw] owner
|
3932
|
+
# The owner of the S3 bucket.
|
3933
|
+
# @return [Types::Owner]
|
3934
|
+
#
|
3935
|
+
# @!attribute [rw] tags
|
3936
|
+
# All tags attached to the S3 bucket
|
3937
|
+
# @return [Array<Types::Tag>]
|
3938
|
+
#
|
3939
|
+
# @!attribute [rw] default_server_side_encryption
|
3940
|
+
# Describes the server side encryption method used in the S3 bucket.
|
3941
|
+
# @return [Types::DefaultServerSideEncryption]
|
3942
|
+
#
|
3943
|
+
# @!attribute [rw] public_access
|
3944
|
+
# Describes the public access policies that apply to the S3 bucket.
|
3945
|
+
# @return [Types::PublicAccess]
|
3946
|
+
#
|
3947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3BucketDetail AWS API Documentation
|
3948
|
+
#
|
3949
|
+
class S3BucketDetail < Struct.new(
|
3950
|
+
:arn,
|
3951
|
+
:name,
|
3952
|
+
:type,
|
3953
|
+
:created_at,
|
3954
|
+
:owner,
|
3955
|
+
:tags,
|
3956
|
+
:default_server_side_encryption,
|
3957
|
+
:public_access)
|
3958
|
+
SENSITIVE = []
|
3959
|
+
include Aws::Structure
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
# Describes whether S3 data event logs will be enabled as a data source.
|
3963
|
+
#
|
3964
|
+
# @note When making an API call, you may pass S3LogsConfiguration
|
3965
|
+
# data as a hash:
|
3966
|
+
#
|
3967
|
+
# {
|
3968
|
+
# enable: false, # required
|
3969
|
+
# }
|
3970
|
+
#
|
3971
|
+
# @!attribute [rw] enable
|
3972
|
+
# The status of S3 data event logs as a data source.
|
3973
|
+
# @return [Boolean]
|
3974
|
+
#
|
3975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfiguration AWS API Documentation
|
3976
|
+
#
|
3977
|
+
class S3LogsConfiguration < Struct.new(
|
3978
|
+
:enable)
|
3979
|
+
SENSITIVE = []
|
3980
|
+
include Aws::Structure
|
3981
|
+
end
|
3982
|
+
|
3983
|
+
# Describes whether S3 data event logs will be enabled as a data source.
|
3984
|
+
#
|
3985
|
+
# @!attribute [rw] status
|
3986
|
+
# A value that describes whether S3 data event logs are automatically
|
3987
|
+
# enabled for new members of the organization.
|
3988
|
+
# @return [String]
|
3989
|
+
#
|
3990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfigurationResult AWS API Documentation
|
3991
|
+
#
|
3992
|
+
class S3LogsConfigurationResult < Struct.new(
|
3993
|
+
:status)
|
3994
|
+
SENSITIVE = []
|
3240
3995
|
include Aws::Structure
|
3241
3996
|
end
|
3242
3997
|
|
@@ -3256,6 +4011,7 @@ module Aws::GuardDuty
|
|
3256
4011
|
class SecurityGroup < Struct.new(
|
3257
4012
|
:group_id,
|
3258
4013
|
:group_name)
|
4014
|
+
SENSITIVE = []
|
3259
4015
|
include Aws::Structure
|
3260
4016
|
end
|
3261
4017
|
|
@@ -3316,6 +4072,7 @@ module Aws::GuardDuty
|
|
3316
4072
|
:resource_role,
|
3317
4073
|
:service_name,
|
3318
4074
|
:user_feedback)
|
4075
|
+
SENSITIVE = []
|
3319
4076
|
include Aws::Structure
|
3320
4077
|
end
|
3321
4078
|
|
@@ -3343,6 +4100,7 @@ module Aws::GuardDuty
|
|
3343
4100
|
class SortCriteria < Struct.new(
|
3344
4101
|
:attribute_name,
|
3345
4102
|
:order_by)
|
4103
|
+
SENSITIVE = []
|
3346
4104
|
include Aws::Structure
|
3347
4105
|
end
|
3348
4106
|
|
@@ -3369,6 +4127,7 @@ module Aws::GuardDuty
|
|
3369
4127
|
class StartMonitoringMembersRequest < Struct.new(
|
3370
4128
|
:detector_id,
|
3371
4129
|
:account_ids)
|
4130
|
+
SENSITIVE = []
|
3372
4131
|
include Aws::Structure
|
3373
4132
|
end
|
3374
4133
|
|
@@ -3381,6 +4140,7 @@ module Aws::GuardDuty
|
|
3381
4140
|
#
|
3382
4141
|
class StartMonitoringMembersResponse < Struct.new(
|
3383
4142
|
:unprocessed_accounts)
|
4143
|
+
SENSITIVE = []
|
3384
4144
|
include Aws::Structure
|
3385
4145
|
end
|
3386
4146
|
|
@@ -3406,6 +4166,7 @@ module Aws::GuardDuty
|
|
3406
4166
|
class StopMonitoringMembersRequest < Struct.new(
|
3407
4167
|
:detector_id,
|
3408
4168
|
:account_ids)
|
4169
|
+
SENSITIVE = []
|
3409
4170
|
include Aws::Structure
|
3410
4171
|
end
|
3411
4172
|
|
@@ -3419,6 +4180,7 @@ module Aws::GuardDuty
|
|
3419
4180
|
#
|
3420
4181
|
class StopMonitoringMembersResponse < Struct.new(
|
3421
4182
|
:unprocessed_accounts)
|
4183
|
+
SENSITIVE = []
|
3422
4184
|
include Aws::Structure
|
3423
4185
|
end
|
3424
4186
|
|
@@ -3437,6 +4199,7 @@ module Aws::GuardDuty
|
|
3437
4199
|
class Tag < Struct.new(
|
3438
4200
|
:key,
|
3439
4201
|
:value)
|
4202
|
+
SENSITIVE = []
|
3440
4203
|
include Aws::Structure
|
3441
4204
|
end
|
3442
4205
|
|
@@ -3464,6 +4227,7 @@ module Aws::GuardDuty
|
|
3464
4227
|
class TagResourceRequest < Struct.new(
|
3465
4228
|
:resource_arn,
|
3466
4229
|
:tags)
|
4230
|
+
SENSITIVE = []
|
3467
4231
|
include Aws::Structure
|
3468
4232
|
end
|
3469
4233
|
|
@@ -3488,6 +4252,27 @@ module Aws::GuardDuty
|
|
3488
4252
|
class ThreatIntelligenceDetail < Struct.new(
|
3489
4253
|
:threat_list_name,
|
3490
4254
|
:threat_names)
|
4255
|
+
SENSITIVE = []
|
4256
|
+
include Aws::Structure
|
4257
|
+
end
|
4258
|
+
|
4259
|
+
# Contains the total usage with the corresponding currency unit for that
|
4260
|
+
# value.
|
4261
|
+
#
|
4262
|
+
# @!attribute [rw] amount
|
4263
|
+
# The total usage.
|
4264
|
+
# @return [String]
|
4265
|
+
#
|
4266
|
+
# @!attribute [rw] unit
|
4267
|
+
# The currency unit that the amount is given in.
|
4268
|
+
# @return [String]
|
4269
|
+
#
|
4270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Total AWS API Documentation
|
4271
|
+
#
|
4272
|
+
class Total < Struct.new(
|
4273
|
+
:amount,
|
4274
|
+
:unit)
|
4275
|
+
SENSITIVE = []
|
3491
4276
|
include Aws::Structure
|
3492
4277
|
end
|
3493
4278
|
|
@@ -3512,6 +4297,7 @@ module Aws::GuardDuty
|
|
3512
4297
|
class UnarchiveFindingsRequest < Struct.new(
|
3513
4298
|
:detector_id,
|
3514
4299
|
:finding_ids)
|
4300
|
+
SENSITIVE = []
|
3515
4301
|
include Aws::Structure
|
3516
4302
|
end
|
3517
4303
|
|
@@ -3534,6 +4320,7 @@ module Aws::GuardDuty
|
|
3534
4320
|
class UnprocessedAccount < Struct.new(
|
3535
4321
|
:account_id,
|
3536
4322
|
:result)
|
4323
|
+
SENSITIVE = []
|
3537
4324
|
include Aws::Structure
|
3538
4325
|
end
|
3539
4326
|
|
@@ -3558,6 +4345,7 @@ module Aws::GuardDuty
|
|
3558
4345
|
class UntagResourceRequest < Struct.new(
|
3559
4346
|
:resource_arn,
|
3560
4347
|
:tag_keys)
|
4348
|
+
SENSITIVE = []
|
3561
4349
|
include Aws::Structure
|
3562
4350
|
end
|
3563
4351
|
|
@@ -3572,6 +4360,11 @@ module Aws::GuardDuty
|
|
3572
4360
|
# detector_id: "DetectorId", # required
|
3573
4361
|
# enable: false,
|
3574
4362
|
# finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
|
4363
|
+
# data_sources: {
|
4364
|
+
# s3_logs: {
|
4365
|
+
# enable: false, # required
|
4366
|
+
# },
|
4367
|
+
# },
|
3575
4368
|
# }
|
3576
4369
|
#
|
3577
4370
|
# @!attribute [rw] detector_id
|
@@ -3587,12 +4380,18 @@ module Aws::GuardDuty
|
|
3587
4380
|
# such as to CloudWatch Events.
|
3588
4381
|
# @return [String]
|
3589
4382
|
#
|
4383
|
+
# @!attribute [rw] data_sources
|
4384
|
+
# An object that describes which data sources will be updated.
|
4385
|
+
# @return [Types::DataSourceConfigurations]
|
4386
|
+
#
|
3590
4387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
|
3591
4388
|
#
|
3592
4389
|
class UpdateDetectorRequest < Struct.new(
|
3593
4390
|
:detector_id,
|
3594
4391
|
:enable,
|
3595
|
-
:finding_publishing_frequency
|
4392
|
+
:finding_publishing_frequency,
|
4393
|
+
:data_sources)
|
4394
|
+
SENSITIVE = []
|
3596
4395
|
include Aws::Structure
|
3597
4396
|
end
|
3598
4397
|
|
@@ -3667,6 +4466,7 @@ module Aws::GuardDuty
|
|
3667
4466
|
:action,
|
3668
4467
|
:rank,
|
3669
4468
|
:finding_criteria)
|
4469
|
+
SENSITIVE = []
|
3670
4470
|
include Aws::Structure
|
3671
4471
|
end
|
3672
4472
|
|
@@ -3678,6 +4478,7 @@ module Aws::GuardDuty
|
|
3678
4478
|
#
|
3679
4479
|
class UpdateFilterResponse < Struct.new(
|
3680
4480
|
:name)
|
4481
|
+
SENSITIVE = []
|
3681
4482
|
include Aws::Structure
|
3682
4483
|
end
|
3683
4484
|
|
@@ -3716,6 +4517,7 @@ module Aws::GuardDuty
|
|
3716
4517
|
:finding_ids,
|
3717
4518
|
:feedback,
|
3718
4519
|
:comments)
|
4520
|
+
SENSITIVE = []
|
3719
4521
|
include Aws::Structure
|
3720
4522
|
end
|
3721
4523
|
|
@@ -3748,7 +4550,8 @@ module Aws::GuardDuty
|
|
3748
4550
|
# @return [String]
|
3749
4551
|
#
|
3750
4552
|
# @!attribute [rw] location
|
3751
|
-
# The updated URI of the file that contains the IPSet.
|
4553
|
+
# The updated URI of the file that contains the IPSet. For example:
|
4554
|
+
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
3752
4555
|
# @return [String]
|
3753
4556
|
#
|
3754
4557
|
# @!attribute [rw] activate
|
@@ -3764,6 +4567,7 @@ module Aws::GuardDuty
|
|
3764
4567
|
:name,
|
3765
4568
|
:location,
|
3766
4569
|
:activate)
|
4570
|
+
SENSITIVE = []
|
3767
4571
|
include Aws::Structure
|
3768
4572
|
end
|
3769
4573
|
|
@@ -3771,12 +4575,65 @@ module Aws::GuardDuty
|
|
3771
4575
|
#
|
3772
4576
|
class UpdateIPSetResponse < Aws::EmptyStructure; end
|
3773
4577
|
|
4578
|
+
# @note When making an API call, you may pass UpdateMemberDetectorsRequest
|
4579
|
+
# data as a hash:
|
4580
|
+
#
|
4581
|
+
# {
|
4582
|
+
# detector_id: "DetectorId", # required
|
4583
|
+
# account_ids: ["AccountId"], # required
|
4584
|
+
# data_sources: {
|
4585
|
+
# s3_logs: {
|
4586
|
+
# enable: false, # required
|
4587
|
+
# },
|
4588
|
+
# },
|
4589
|
+
# }
|
4590
|
+
#
|
4591
|
+
# @!attribute [rw] detector_id
|
4592
|
+
# The detector ID of the master account.
|
4593
|
+
# @return [String]
|
4594
|
+
#
|
4595
|
+
# @!attribute [rw] account_ids
|
4596
|
+
# A list of member account IDs to be updated.
|
4597
|
+
# @return [Array<String>]
|
4598
|
+
#
|
4599
|
+
# @!attribute [rw] data_sources
|
4600
|
+
# An object describes which data sources will be updated.
|
4601
|
+
# @return [Types::DataSourceConfigurations]
|
4602
|
+
#
|
4603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsRequest AWS API Documentation
|
4604
|
+
#
|
4605
|
+
class UpdateMemberDetectorsRequest < Struct.new(
|
4606
|
+
:detector_id,
|
4607
|
+
:account_ids,
|
4608
|
+
:data_sources)
|
4609
|
+
SENSITIVE = []
|
4610
|
+
include Aws::Structure
|
4611
|
+
end
|
4612
|
+
|
4613
|
+
# @!attribute [rw] unprocessed_accounts
|
4614
|
+
# A list of member account IDs that were unable to be processed along
|
4615
|
+
# with an explanation for why they were not processed.
|
4616
|
+
# @return [Array<Types::UnprocessedAccount>]
|
4617
|
+
#
|
4618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsResponse AWS API Documentation
|
4619
|
+
#
|
4620
|
+
class UpdateMemberDetectorsResponse < Struct.new(
|
4621
|
+
:unprocessed_accounts)
|
4622
|
+
SENSITIVE = []
|
4623
|
+
include Aws::Structure
|
4624
|
+
end
|
4625
|
+
|
3774
4626
|
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
3775
4627
|
# data as a hash:
|
3776
4628
|
#
|
3777
4629
|
# {
|
3778
4630
|
# detector_id: "DetectorId", # required
|
3779
4631
|
# auto_enable: false, # required
|
4632
|
+
# data_sources: {
|
4633
|
+
# s3_logs: {
|
4634
|
+
# auto_enable: false, # required
|
4635
|
+
# },
|
4636
|
+
# },
|
3780
4637
|
# }
|
3781
4638
|
#
|
3782
4639
|
# @!attribute [rw] detector_id
|
@@ -3788,11 +4645,17 @@ module Aws::GuardDuty
|
|
3788
4645
|
# organization.
|
3789
4646
|
# @return [Boolean]
|
3790
4647
|
#
|
4648
|
+
# @!attribute [rw] data_sources
|
4649
|
+
# An object describes which data sources will be updated.
|
4650
|
+
# @return [Types::OrganizationDataSourceConfigurations]
|
4651
|
+
#
|
3791
4652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
|
3792
4653
|
#
|
3793
4654
|
class UpdateOrganizationConfigurationRequest < Struct.new(
|
3794
4655
|
:detector_id,
|
3795
|
-
:auto_enable
|
4656
|
+
:auto_enable,
|
4657
|
+
:data_sources)
|
4658
|
+
SENSITIVE = []
|
3796
4659
|
include Aws::Structure
|
3797
4660
|
end
|
3798
4661
|
|
@@ -3832,6 +4695,7 @@ module Aws::GuardDuty
|
|
3832
4695
|
:detector_id,
|
3833
4696
|
:destination_id,
|
3834
4697
|
:destination_properties)
|
4698
|
+
SENSITIVE = []
|
3835
4699
|
include Aws::Structure
|
3836
4700
|
end
|
3837
4701
|
|
@@ -3866,7 +4730,8 @@ module Aws::GuardDuty
|
|
3866
4730
|
# @return [String]
|
3867
4731
|
#
|
3868
4732
|
# @!attribute [rw] location
|
3869
|
-
# The updated URI of the file that contains the ThreateIntelSet.
|
4733
|
+
# The updated URI of the file that contains the ThreateIntelSet. For
|
4734
|
+
# example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
3870
4735
|
# @return [String]
|
3871
4736
|
#
|
3872
4737
|
# @!attribute [rw] activate
|
@@ -3882,6 +4747,7 @@ module Aws::GuardDuty
|
|
3882
4747
|
:name,
|
3883
4748
|
:location,
|
3884
4749
|
:activate)
|
4750
|
+
SENSITIVE = []
|
3885
4751
|
include Aws::Structure
|
3886
4752
|
end
|
3887
4753
|
|
@@ -3889,5 +4755,128 @@ module Aws::GuardDuty
|
|
3889
4755
|
#
|
3890
4756
|
class UpdateThreatIntelSetResponse < Aws::EmptyStructure; end
|
3891
4757
|
|
4758
|
+
# Contains information on the total of usage based on account IDs.
|
4759
|
+
#
|
4760
|
+
# @!attribute [rw] account_id
|
4761
|
+
# The Account ID that generated usage.
|
4762
|
+
# @return [String]
|
4763
|
+
#
|
4764
|
+
# @!attribute [rw] total
|
4765
|
+
# Represents the total of usage for the Account ID.
|
4766
|
+
# @return [Types::Total]
|
4767
|
+
#
|
4768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageAccountResult AWS API Documentation
|
4769
|
+
#
|
4770
|
+
class UsageAccountResult < Struct.new(
|
4771
|
+
:account_id,
|
4772
|
+
:total)
|
4773
|
+
SENSITIVE = []
|
4774
|
+
include Aws::Structure
|
4775
|
+
end
|
4776
|
+
|
4777
|
+
# Contains information about the criteria used to query usage
|
4778
|
+
# statistics.
|
4779
|
+
#
|
4780
|
+
# @note When making an API call, you may pass UsageCriteria
|
4781
|
+
# data as a hash:
|
4782
|
+
#
|
4783
|
+
# {
|
4784
|
+
# account_ids: ["AccountId"],
|
4785
|
+
# data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS
|
4786
|
+
# resources: ["String"],
|
4787
|
+
# }
|
4788
|
+
#
|
4789
|
+
# @!attribute [rw] account_ids
|
4790
|
+
# The account IDs to aggregate usage statistics from.
|
4791
|
+
# @return [Array<String>]
|
4792
|
+
#
|
4793
|
+
# @!attribute [rw] data_sources
|
4794
|
+
# The data sources to aggregate usage statistics from.
|
4795
|
+
# @return [Array<String>]
|
4796
|
+
#
|
4797
|
+
# @!attribute [rw] resources
|
4798
|
+
# The resources to aggregate usage statistics from. Only accepts exact
|
4799
|
+
# resource names.
|
4800
|
+
# @return [Array<String>]
|
4801
|
+
#
|
4802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageCriteria AWS API Documentation
|
4803
|
+
#
|
4804
|
+
class UsageCriteria < Struct.new(
|
4805
|
+
:account_ids,
|
4806
|
+
:data_sources,
|
4807
|
+
:resources)
|
4808
|
+
SENSITIVE = []
|
4809
|
+
include Aws::Structure
|
4810
|
+
end
|
4811
|
+
|
4812
|
+
# Contains information on the result of usage based on data source type.
|
4813
|
+
#
|
4814
|
+
# @!attribute [rw] data_source
|
4815
|
+
# The data source type that generated usage.
|
4816
|
+
# @return [String]
|
4817
|
+
#
|
4818
|
+
# @!attribute [rw] total
|
4819
|
+
# Represents the total of usage for the specified data source.
|
4820
|
+
# @return [Types::Total]
|
4821
|
+
#
|
4822
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageDataSourceResult AWS API Documentation
|
4823
|
+
#
|
4824
|
+
class UsageDataSourceResult < Struct.new(
|
4825
|
+
:data_source,
|
4826
|
+
:total)
|
4827
|
+
SENSITIVE = []
|
4828
|
+
include Aws::Structure
|
4829
|
+
end
|
4830
|
+
|
4831
|
+
# Contains information on the sum of usage based on an AWS resource.
|
4832
|
+
#
|
4833
|
+
# @!attribute [rw] resource
|
4834
|
+
# The AWS resource that generated usage.
|
4835
|
+
# @return [String]
|
4836
|
+
#
|
4837
|
+
# @!attribute [rw] total
|
4838
|
+
# Represents the sum total of usage for the specified resource type.
|
4839
|
+
# @return [Types::Total]
|
4840
|
+
#
|
4841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageResourceResult AWS API Documentation
|
4842
|
+
#
|
4843
|
+
class UsageResourceResult < Struct.new(
|
4844
|
+
:resource,
|
4845
|
+
:total)
|
4846
|
+
SENSITIVE = []
|
4847
|
+
include Aws::Structure
|
4848
|
+
end
|
4849
|
+
|
4850
|
+
# Contains the result of GuardDuty usage. If a UsageStatisticType is
|
4851
|
+
# provided the result for other types will be null.
|
4852
|
+
#
|
4853
|
+
# @!attribute [rw] sum_by_account
|
4854
|
+
# The usage statistic sum organized by account ID.
|
4855
|
+
# @return [Array<Types::UsageAccountResult>]
|
4856
|
+
#
|
4857
|
+
# @!attribute [rw] sum_by_data_source
|
4858
|
+
# The usage statistic sum organized by on data source.
|
4859
|
+
# @return [Array<Types::UsageDataSourceResult>]
|
4860
|
+
#
|
4861
|
+
# @!attribute [rw] sum_by_resource
|
4862
|
+
# The usage statistic sum organized by resource.
|
4863
|
+
# @return [Array<Types::UsageResourceResult>]
|
4864
|
+
#
|
4865
|
+
# @!attribute [rw] top_resources
|
4866
|
+
# Lists the top 50 resources that have generated the most GuardDuty
|
4867
|
+
# usage, in order from most to least expensive.
|
4868
|
+
# @return [Array<Types::UsageResourceResult>]
|
4869
|
+
#
|
4870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageStatistics AWS API Documentation
|
4871
|
+
#
|
4872
|
+
class UsageStatistics < Struct.new(
|
4873
|
+
:sum_by_account,
|
4874
|
+
:sum_by_data_source,
|
4875
|
+
:sum_by_resource,
|
4876
|
+
:top_resources)
|
4877
|
+
SENSITIVE = []
|
4878
|
+
include Aws::Structure
|
4879
|
+
end
|
4880
|
+
|
3892
4881
|
end
|
3893
4882
|
end
|