aws-sdk-guardduty 1.34.0 → 1.39.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 +4 -2
- data/lib/aws-sdk-guardduty/client.rb +250 -14
- data/lib/aws-sdk-guardduty/client_api.rb +183 -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 +742 -5
- 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
|
|
@@ -62,6 +65,7 @@ module Aws::GuardDuty
|
|
62
65
|
class AccessControlList < Struct.new(
|
63
66
|
:allows_public_read_access,
|
64
67
|
:allows_public_write_access)
|
68
|
+
SENSITIVE = []
|
65
69
|
include Aws::Structure
|
66
70
|
end
|
67
71
|
|
@@ -90,6 +94,7 @@ module Aws::GuardDuty
|
|
90
94
|
:principal_id,
|
91
95
|
:user_name,
|
92
96
|
:user_type)
|
97
|
+
SENSITIVE = []
|
93
98
|
include Aws::Structure
|
94
99
|
end
|
95
100
|
|
@@ -116,6 +121,7 @@ module Aws::GuardDuty
|
|
116
121
|
class AccountDetail < Struct.new(
|
117
122
|
:account_id,
|
118
123
|
:email)
|
124
|
+
SENSITIVE = []
|
119
125
|
include Aws::Structure
|
120
126
|
end
|
121
127
|
|
@@ -131,6 +137,7 @@ module Aws::GuardDuty
|
|
131
137
|
#
|
132
138
|
class AccountLevelPermissions < Struct.new(
|
133
139
|
:block_public_access)
|
140
|
+
SENSITIVE = []
|
134
141
|
include Aws::Structure
|
135
142
|
end
|
136
143
|
|
@@ -166,6 +173,7 @@ module Aws::GuardDuty
|
|
166
173
|
:dns_request_action,
|
167
174
|
:network_connection_action,
|
168
175
|
:port_probe_action)
|
176
|
+
SENSITIVE = []
|
169
177
|
include Aws::Structure
|
170
178
|
end
|
171
179
|
|
@@ -186,6 +194,7 @@ module Aws::GuardDuty
|
|
186
194
|
class AdminAccount < Struct.new(
|
187
195
|
:admin_account_id,
|
188
196
|
:admin_status)
|
197
|
+
SENSITIVE = []
|
189
198
|
include Aws::Structure
|
190
199
|
end
|
191
200
|
|
@@ -211,6 +220,7 @@ module Aws::GuardDuty
|
|
211
220
|
class ArchiveFindingsRequest < Struct.new(
|
212
221
|
:detector_id,
|
213
222
|
:finding_ids)
|
223
|
+
SENSITIVE = []
|
214
224
|
include Aws::Structure
|
215
225
|
end
|
216
226
|
|
@@ -248,6 +258,7 @@ module Aws::GuardDuty
|
|
248
258
|
:domain_details,
|
249
259
|
:remote_ip_details,
|
250
260
|
:service_name)
|
261
|
+
SENSITIVE = []
|
251
262
|
include Aws::Structure
|
252
263
|
end
|
253
264
|
|
@@ -266,6 +277,7 @@ module Aws::GuardDuty
|
|
266
277
|
class BadRequestException < Struct.new(
|
267
278
|
:message,
|
268
279
|
:type)
|
280
|
+
SENSITIVE = []
|
269
281
|
include Aws::Structure
|
270
282
|
end
|
271
283
|
|
@@ -301,6 +313,7 @@ module Aws::GuardDuty
|
|
301
313
|
:restrict_public_buckets,
|
302
314
|
:block_public_acls,
|
303
315
|
:block_public_policy)
|
316
|
+
SENSITIVE = []
|
304
317
|
include Aws::Structure
|
305
318
|
end
|
306
319
|
|
@@ -327,6 +340,7 @@ module Aws::GuardDuty
|
|
327
340
|
:access_control_list,
|
328
341
|
:bucket_policy,
|
329
342
|
:block_public_access)
|
343
|
+
SENSITIVE = []
|
330
344
|
include Aws::Structure
|
331
345
|
end
|
332
346
|
|
@@ -347,6 +361,7 @@ module Aws::GuardDuty
|
|
347
361
|
class BucketPolicy < Struct.new(
|
348
362
|
:allows_public_read_access,
|
349
363
|
:allows_public_write_access)
|
364
|
+
SENSITIVE = []
|
350
365
|
include Aws::Structure
|
351
366
|
end
|
352
367
|
|
@@ -360,6 +375,23 @@ module Aws::GuardDuty
|
|
360
375
|
#
|
361
376
|
class City < Struct.new(
|
362
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 = []
|
363
395
|
include Aws::Structure
|
364
396
|
end
|
365
397
|
|
@@ -458,6 +490,7 @@ module Aws::GuardDuty
|
|
458
490
|
:greater_than_or_equal,
|
459
491
|
:less_than,
|
460
492
|
:less_than_or_equal)
|
493
|
+
SENSITIVE = []
|
461
494
|
include Aws::Structure
|
462
495
|
end
|
463
496
|
|
@@ -477,6 +510,7 @@ module Aws::GuardDuty
|
|
477
510
|
class Country < Struct.new(
|
478
511
|
:country_code,
|
479
512
|
:country_name)
|
513
|
+
SENSITIVE = []
|
480
514
|
include Aws::Structure
|
481
515
|
end
|
482
516
|
|
@@ -487,6 +521,11 @@ module Aws::GuardDuty
|
|
487
521
|
# enable: false, # required
|
488
522
|
# client_token: "ClientToken",
|
489
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
|
+
# },
|
490
529
|
# tags: {
|
491
530
|
# "TagKey" => "TagValue",
|
492
531
|
# },
|
@@ -509,6 +548,11 @@ module Aws::GuardDuty
|
|
509
548
|
# exported.
|
510
549
|
# @return [String]
|
511
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
|
+
#
|
512
556
|
# @!attribute [rw] tags
|
513
557
|
# The tags to be added to a new detector resource.
|
514
558
|
# @return [Hash<String,String>]
|
@@ -519,7 +563,9 @@ module Aws::GuardDuty
|
|
519
563
|
:enable,
|
520
564
|
:client_token,
|
521
565
|
:finding_publishing_frequency,
|
566
|
+
:data_sources,
|
522
567
|
:tags)
|
568
|
+
SENSITIVE = []
|
523
569
|
include Aws::Structure
|
524
570
|
end
|
525
571
|
|
@@ -531,6 +577,7 @@ module Aws::GuardDuty
|
|
531
577
|
#
|
532
578
|
class CreateDetectorResponse < Struct.new(
|
533
579
|
:detector_id)
|
580
|
+
SENSITIVE = []
|
534
581
|
include Aws::Structure
|
535
582
|
end
|
536
583
|
|
@@ -729,6 +776,7 @@ module Aws::GuardDuty
|
|
729
776
|
:finding_criteria,
|
730
777
|
:client_token,
|
731
778
|
:tags)
|
779
|
+
SENSITIVE = []
|
732
780
|
include Aws::Structure
|
733
781
|
end
|
734
782
|
|
@@ -740,6 +788,7 @@ module Aws::GuardDuty
|
|
740
788
|
#
|
741
789
|
class CreateFilterResponse < Struct.new(
|
742
790
|
:name)
|
791
|
+
SENSITIVE = []
|
743
792
|
include Aws::Structure
|
744
793
|
end
|
745
794
|
|
@@ -805,6 +854,7 @@ module Aws::GuardDuty
|
|
805
854
|
:activate,
|
806
855
|
:client_token,
|
807
856
|
:tags)
|
857
|
+
SENSITIVE = []
|
808
858
|
include Aws::Structure
|
809
859
|
end
|
810
860
|
|
@@ -816,6 +866,7 @@ module Aws::GuardDuty
|
|
816
866
|
#
|
817
867
|
class CreateIPSetResponse < Struct.new(
|
818
868
|
:ip_set_id)
|
869
|
+
SENSITIVE = []
|
819
870
|
include Aws::Structure
|
820
871
|
end
|
821
872
|
|
@@ -847,6 +898,7 @@ module Aws::GuardDuty
|
|
847
898
|
class CreateMembersRequest < Struct.new(
|
848
899
|
:detector_id,
|
849
900
|
:account_details)
|
901
|
+
SENSITIVE = []
|
850
902
|
include Aws::Structure
|
851
903
|
end
|
852
904
|
|
@@ -859,6 +911,7 @@ module Aws::GuardDuty
|
|
859
911
|
#
|
860
912
|
class CreateMembersResponse < Struct.new(
|
861
913
|
:unprocessed_accounts)
|
914
|
+
SENSITIVE = []
|
862
915
|
include Aws::Structure
|
863
916
|
end
|
864
917
|
|
@@ -904,6 +957,7 @@ module Aws::GuardDuty
|
|
904
957
|
:destination_type,
|
905
958
|
:destination_properties,
|
906
959
|
:client_token)
|
960
|
+
SENSITIVE = []
|
907
961
|
include Aws::Structure
|
908
962
|
end
|
909
963
|
|
@@ -915,6 +969,7 @@ module Aws::GuardDuty
|
|
915
969
|
#
|
916
970
|
class CreatePublishingDestinationResponse < Struct.new(
|
917
971
|
:destination_id)
|
972
|
+
SENSITIVE = []
|
918
973
|
include Aws::Structure
|
919
974
|
end
|
920
975
|
|
@@ -939,6 +994,7 @@ module Aws::GuardDuty
|
|
939
994
|
class CreateSampleFindingsRequest < Struct.new(
|
940
995
|
:detector_id,
|
941
996
|
:finding_types)
|
997
|
+
SENSITIVE = []
|
942
998
|
include Aws::Structure
|
943
999
|
end
|
944
1000
|
|
@@ -1007,6 +1063,7 @@ module Aws::GuardDuty
|
|
1007
1063
|
:activate,
|
1008
1064
|
:client_token,
|
1009
1065
|
:tags)
|
1066
|
+
SENSITIVE = []
|
1010
1067
|
include Aws::Structure
|
1011
1068
|
end
|
1012
1069
|
|
@@ -1018,6 +1075,77 @@ module Aws::GuardDuty
|
|
1018
1075
|
#
|
1019
1076
|
class CreateThreatIntelSetResponse < Struct.new(
|
1020
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 = []
|
1021
1149
|
include Aws::Structure
|
1022
1150
|
end
|
1023
1151
|
|
@@ -1038,6 +1166,7 @@ module Aws::GuardDuty
|
|
1038
1166
|
#
|
1039
1167
|
class DeclineInvitationsRequest < Struct.new(
|
1040
1168
|
:account_ids)
|
1169
|
+
SENSITIVE = []
|
1041
1170
|
include Aws::Structure
|
1042
1171
|
end
|
1043
1172
|
|
@@ -1050,6 +1179,7 @@ module Aws::GuardDuty
|
|
1050
1179
|
#
|
1051
1180
|
class DeclineInvitationsResponse < Struct.new(
|
1052
1181
|
:unprocessed_accounts)
|
1182
|
+
SENSITIVE = []
|
1053
1183
|
include Aws::Structure
|
1054
1184
|
end
|
1055
1185
|
|
@@ -1074,6 +1204,7 @@ module Aws::GuardDuty
|
|
1074
1204
|
class DefaultServerSideEncryption < Struct.new(
|
1075
1205
|
:encryption_type,
|
1076
1206
|
:kms_master_key_arn)
|
1207
|
+
SENSITIVE = []
|
1077
1208
|
include Aws::Structure
|
1078
1209
|
end
|
1079
1210
|
|
@@ -1092,6 +1223,7 @@ module Aws::GuardDuty
|
|
1092
1223
|
#
|
1093
1224
|
class DeleteDetectorRequest < Struct.new(
|
1094
1225
|
:detector_id)
|
1226
|
+
SENSITIVE = []
|
1095
1227
|
include Aws::Structure
|
1096
1228
|
end
|
1097
1229
|
|
@@ -1120,6 +1252,7 @@ module Aws::GuardDuty
|
|
1120
1252
|
class DeleteFilterRequest < Struct.new(
|
1121
1253
|
:detector_id,
|
1122
1254
|
:filter_name)
|
1255
|
+
SENSITIVE = []
|
1123
1256
|
include Aws::Structure
|
1124
1257
|
end
|
1125
1258
|
|
@@ -1148,6 +1281,7 @@ module Aws::GuardDuty
|
|
1148
1281
|
class DeleteIPSetRequest < Struct.new(
|
1149
1282
|
:detector_id,
|
1150
1283
|
:ip_set_id)
|
1284
|
+
SENSITIVE = []
|
1151
1285
|
include Aws::Structure
|
1152
1286
|
end
|
1153
1287
|
|
@@ -1171,6 +1305,7 @@ module Aws::GuardDuty
|
|
1171
1305
|
#
|
1172
1306
|
class DeleteInvitationsRequest < Struct.new(
|
1173
1307
|
:account_ids)
|
1308
|
+
SENSITIVE = []
|
1174
1309
|
include Aws::Structure
|
1175
1310
|
end
|
1176
1311
|
|
@@ -1183,6 +1318,7 @@ module Aws::GuardDuty
|
|
1183
1318
|
#
|
1184
1319
|
class DeleteInvitationsResponse < Struct.new(
|
1185
1320
|
:unprocessed_accounts)
|
1321
|
+
SENSITIVE = []
|
1186
1322
|
include Aws::Structure
|
1187
1323
|
end
|
1188
1324
|
|
@@ -1209,6 +1345,7 @@ module Aws::GuardDuty
|
|
1209
1345
|
class DeleteMembersRequest < Struct.new(
|
1210
1346
|
:detector_id,
|
1211
1347
|
:account_ids)
|
1348
|
+
SENSITIVE = []
|
1212
1349
|
include Aws::Structure
|
1213
1350
|
end
|
1214
1351
|
|
@@ -1220,6 +1357,7 @@ module Aws::GuardDuty
|
|
1220
1357
|
#
|
1221
1358
|
class DeleteMembersResponse < Struct.new(
|
1222
1359
|
:unprocessed_accounts)
|
1360
|
+
SENSITIVE = []
|
1223
1361
|
include Aws::Structure
|
1224
1362
|
end
|
1225
1363
|
|
@@ -1245,6 +1383,7 @@ module Aws::GuardDuty
|
|
1245
1383
|
class DeletePublishingDestinationRequest < Struct.new(
|
1246
1384
|
:detector_id,
|
1247
1385
|
:destination_id)
|
1386
|
+
SENSITIVE = []
|
1248
1387
|
include Aws::Structure
|
1249
1388
|
end
|
1250
1389
|
|
@@ -1274,6 +1413,7 @@ module Aws::GuardDuty
|
|
1274
1413
|
class DeleteThreatIntelSetRequest < Struct.new(
|
1275
1414
|
:detector_id,
|
1276
1415
|
:threat_intel_set_id)
|
1416
|
+
SENSITIVE = []
|
1277
1417
|
include Aws::Structure
|
1278
1418
|
end
|
1279
1419
|
|
@@ -1297,6 +1437,7 @@ module Aws::GuardDuty
|
|
1297
1437
|
#
|
1298
1438
|
class DescribeOrganizationConfigurationRequest < Struct.new(
|
1299
1439
|
:detector_id)
|
1440
|
+
SENSITIVE = []
|
1300
1441
|
include Aws::Structure
|
1301
1442
|
end
|
1302
1443
|
|
@@ -1310,11 +1451,18 @@ module Aws::GuardDuty
|
|
1310
1451
|
# already associated with the delegated administrator master account.
|
1311
1452
|
# @return [Boolean]
|
1312
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
|
+
#
|
1313
1459
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
|
1314
1460
|
#
|
1315
1461
|
class DescribeOrganizationConfigurationResponse < Struct.new(
|
1316
1462
|
:auto_enable,
|
1317
|
-
:member_account_limit_reached
|
1463
|
+
:member_account_limit_reached,
|
1464
|
+
:data_sources)
|
1465
|
+
SENSITIVE = []
|
1318
1466
|
include Aws::Structure
|
1319
1467
|
end
|
1320
1468
|
|
@@ -1340,6 +1488,7 @@ module Aws::GuardDuty
|
|
1340
1488
|
class DescribePublishingDestinationRequest < Struct.new(
|
1341
1489
|
:detector_id,
|
1342
1490
|
:destination_id)
|
1491
|
+
SENSITIVE = []
|
1343
1492
|
include Aws::Structure
|
1344
1493
|
end
|
1345
1494
|
|
@@ -1374,6 +1523,7 @@ module Aws::GuardDuty
|
|
1374
1523
|
:status,
|
1375
1524
|
:publishing_failure_start_timestamp,
|
1376
1525
|
:destination_properties)
|
1526
|
+
SENSITIVE = []
|
1377
1527
|
include Aws::Structure
|
1378
1528
|
end
|
1379
1529
|
|
@@ -1399,6 +1549,7 @@ module Aws::GuardDuty
|
|
1399
1549
|
:destination_id,
|
1400
1550
|
:destination_type,
|
1401
1551
|
:status)
|
1552
|
+
SENSITIVE = []
|
1402
1553
|
include Aws::Structure
|
1403
1554
|
end
|
1404
1555
|
|
@@ -1427,6 +1578,7 @@ module Aws::GuardDuty
|
|
1427
1578
|
class DestinationProperties < Struct.new(
|
1428
1579
|
:destination_arn,
|
1429
1580
|
:kms_key_arn)
|
1581
|
+
SENSITIVE = []
|
1430
1582
|
include Aws::Structure
|
1431
1583
|
end
|
1432
1584
|
|
@@ -1446,6 +1598,7 @@ module Aws::GuardDuty
|
|
1446
1598
|
#
|
1447
1599
|
class DisableOrganizationAdminAccountRequest < Struct.new(
|
1448
1600
|
:admin_account_id)
|
1601
|
+
SENSITIVE = []
|
1449
1602
|
include Aws::Structure
|
1450
1603
|
end
|
1451
1604
|
|
@@ -1468,6 +1621,7 @@ module Aws::GuardDuty
|
|
1468
1621
|
#
|
1469
1622
|
class DisassociateFromMasterAccountRequest < Struct.new(
|
1470
1623
|
:detector_id)
|
1624
|
+
SENSITIVE = []
|
1471
1625
|
include Aws::Structure
|
1472
1626
|
end
|
1473
1627
|
|
@@ -1498,6 +1652,7 @@ module Aws::GuardDuty
|
|
1498
1652
|
class DisassociateMembersRequest < Struct.new(
|
1499
1653
|
:detector_id,
|
1500
1654
|
:account_ids)
|
1655
|
+
SENSITIVE = []
|
1501
1656
|
include Aws::Structure
|
1502
1657
|
end
|
1503
1658
|
|
@@ -1510,6 +1665,7 @@ module Aws::GuardDuty
|
|
1510
1665
|
#
|
1511
1666
|
class DisassociateMembersResponse < Struct.new(
|
1512
1667
|
:unprocessed_accounts)
|
1668
|
+
SENSITIVE = []
|
1513
1669
|
include Aws::Structure
|
1514
1670
|
end
|
1515
1671
|
|
@@ -1524,6 +1680,7 @@ module Aws::GuardDuty
|
|
1524
1680
|
#
|
1525
1681
|
class DnsRequestAction < Struct.new(
|
1526
1682
|
:domain)
|
1683
|
+
SENSITIVE = []
|
1527
1684
|
include Aws::Structure
|
1528
1685
|
end
|
1529
1686
|
|
@@ -1537,6 +1694,7 @@ module Aws::GuardDuty
|
|
1537
1694
|
#
|
1538
1695
|
class DomainDetails < Struct.new(
|
1539
1696
|
:domain)
|
1697
|
+
SENSITIVE = []
|
1540
1698
|
include Aws::Structure
|
1541
1699
|
end
|
1542
1700
|
|
@@ -1556,6 +1714,7 @@ module Aws::GuardDuty
|
|
1556
1714
|
#
|
1557
1715
|
class EnableOrganizationAdminAccountRequest < Struct.new(
|
1558
1716
|
:admin_account_id)
|
1717
|
+
SENSITIVE = []
|
1559
1718
|
include Aws::Structure
|
1560
1719
|
end
|
1561
1720
|
|
@@ -1573,6 +1732,7 @@ module Aws::GuardDuty
|
|
1573
1732
|
#
|
1574
1733
|
class Evidence < Struct.new(
|
1575
1734
|
:threat_intelligence_details)
|
1735
|
+
SENSITIVE = []
|
1576
1736
|
include Aws::Structure
|
1577
1737
|
end
|
1578
1738
|
|
@@ -1658,6 +1818,7 @@ module Aws::GuardDuty
|
|
1658
1818
|
:title,
|
1659
1819
|
:type,
|
1660
1820
|
:updated_at)
|
1821
|
+
SENSITIVE = []
|
1661
1822
|
include Aws::Structure
|
1662
1823
|
end
|
1663
1824
|
|
@@ -1694,6 +1855,7 @@ module Aws::GuardDuty
|
|
1694
1855
|
#
|
1695
1856
|
class FindingCriteria < Struct.new(
|
1696
1857
|
:criterion)
|
1858
|
+
SENSITIVE = []
|
1697
1859
|
include Aws::Structure
|
1698
1860
|
end
|
1699
1861
|
|
@@ -1708,6 +1870,21 @@ module Aws::GuardDuty
|
|
1708
1870
|
#
|
1709
1871
|
class FindingStatistics < Struct.new(
|
1710
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 = []
|
1711
1888
|
include Aws::Structure
|
1712
1889
|
end
|
1713
1890
|
|
@@ -1726,6 +1903,7 @@ module Aws::GuardDuty
|
|
1726
1903
|
class GeoLocation < Struct.new(
|
1727
1904
|
:lat,
|
1728
1905
|
:lon)
|
1906
|
+
SENSITIVE = []
|
1729
1907
|
include Aws::Structure
|
1730
1908
|
end
|
1731
1909
|
|
@@ -1744,6 +1922,7 @@ module Aws::GuardDuty
|
|
1744
1922
|
#
|
1745
1923
|
class GetDetectorRequest < Struct.new(
|
1746
1924
|
:detector_id)
|
1925
|
+
SENSITIVE = []
|
1747
1926
|
include Aws::Structure
|
1748
1927
|
end
|
1749
1928
|
|
@@ -1767,6 +1946,11 @@ module Aws::GuardDuty
|
|
1767
1946
|
# The last-updated timestamp for the detector.
|
1768
1947
|
# @return [String]
|
1769
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
|
+
#
|
1770
1954
|
# @!attribute [rw] tags
|
1771
1955
|
# The tags of the detector resource.
|
1772
1956
|
# @return [Hash<String,String>]
|
@@ -1779,7 +1963,9 @@ module Aws::GuardDuty
|
|
1779
1963
|
:service_role,
|
1780
1964
|
:status,
|
1781
1965
|
:updated_at,
|
1966
|
+
:data_sources,
|
1782
1967
|
:tags)
|
1968
|
+
SENSITIVE = []
|
1783
1969
|
include Aws::Structure
|
1784
1970
|
end
|
1785
1971
|
|
@@ -1804,6 +1990,7 @@ module Aws::GuardDuty
|
|
1804
1990
|
class GetFilterRequest < Struct.new(
|
1805
1991
|
:detector_id,
|
1806
1992
|
:filter_name)
|
1993
|
+
SENSITIVE = []
|
1807
1994
|
include Aws::Structure
|
1808
1995
|
end
|
1809
1996
|
|
@@ -1844,6 +2031,7 @@ module Aws::GuardDuty
|
|
1844
2031
|
:rank,
|
1845
2032
|
:finding_criteria,
|
1846
2033
|
:tags)
|
2034
|
+
SENSITIVE = []
|
1847
2035
|
include Aws::Structure
|
1848
2036
|
end
|
1849
2037
|
|
@@ -1878,6 +2066,7 @@ module Aws::GuardDuty
|
|
1878
2066
|
:detector_id,
|
1879
2067
|
:finding_ids,
|
1880
2068
|
:sort_criteria)
|
2069
|
+
SENSITIVE = []
|
1881
2070
|
include Aws::Structure
|
1882
2071
|
end
|
1883
2072
|
|
@@ -1889,6 +2078,7 @@ module Aws::GuardDuty
|
|
1889
2078
|
#
|
1890
2079
|
class GetFindingsResponse < Struct.new(
|
1891
2080
|
:findings)
|
2081
|
+
SENSITIVE = []
|
1892
2082
|
include Aws::Structure
|
1893
2083
|
end
|
1894
2084
|
|
@@ -1937,6 +2127,7 @@ module Aws::GuardDuty
|
|
1937
2127
|
:detector_id,
|
1938
2128
|
:finding_statistic_types,
|
1939
2129
|
:finding_criteria)
|
2130
|
+
SENSITIVE = []
|
1940
2131
|
include Aws::Structure
|
1941
2132
|
end
|
1942
2133
|
|
@@ -1948,6 +2139,7 @@ module Aws::GuardDuty
|
|
1948
2139
|
#
|
1949
2140
|
class GetFindingsStatisticsResponse < Struct.new(
|
1950
2141
|
:finding_statistics)
|
2142
|
+
SENSITIVE = []
|
1951
2143
|
include Aws::Structure
|
1952
2144
|
end
|
1953
2145
|
|
@@ -1972,6 +2164,7 @@ module Aws::GuardDuty
|
|
1972
2164
|
class GetIPSetRequest < Struct.new(
|
1973
2165
|
:detector_id,
|
1974
2166
|
:ip_set_id)
|
2167
|
+
SENSITIVE = []
|
1975
2168
|
include Aws::Structure
|
1976
2169
|
end
|
1977
2170
|
|
@@ -2004,6 +2197,7 @@ module Aws::GuardDuty
|
|
2004
2197
|
:location,
|
2005
2198
|
:status,
|
2006
2199
|
:tags)
|
2200
|
+
SENSITIVE = []
|
2007
2201
|
include Aws::Structure
|
2008
2202
|
end
|
2009
2203
|
|
@@ -2021,6 +2215,7 @@ module Aws::GuardDuty
|
|
2021
2215
|
#
|
2022
2216
|
class GetInvitationsCountResponse < Struct.new(
|
2023
2217
|
:invitations_count)
|
2218
|
+
SENSITIVE = []
|
2024
2219
|
include Aws::Structure
|
2025
2220
|
end
|
2026
2221
|
|
@@ -2039,6 +2234,7 @@ module Aws::GuardDuty
|
|
2039
2234
|
#
|
2040
2235
|
class GetMasterAccountRequest < Struct.new(
|
2041
2236
|
:detector_id)
|
2237
|
+
SENSITIVE = []
|
2042
2238
|
include Aws::Structure
|
2043
2239
|
end
|
2044
2240
|
|
@@ -2050,6 +2246,51 @@ module Aws::GuardDuty
|
|
2050
2246
|
#
|
2051
2247
|
class GetMasterAccountResponse < Struct.new(
|
2052
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 = []
|
2053
2294
|
include Aws::Structure
|
2054
2295
|
end
|
2055
2296
|
|
@@ -2076,6 +2317,7 @@ module Aws::GuardDuty
|
|
2076
2317
|
class GetMembersRequest < Struct.new(
|
2077
2318
|
:detector_id,
|
2078
2319
|
:account_ids)
|
2320
|
+
SENSITIVE = []
|
2079
2321
|
include Aws::Structure
|
2080
2322
|
end
|
2081
2323
|
|
@@ -2093,6 +2335,7 @@ module Aws::GuardDuty
|
|
2093
2335
|
class GetMembersResponse < Struct.new(
|
2094
2336
|
:members,
|
2095
2337
|
:unprocessed_accounts)
|
2338
|
+
SENSITIVE = []
|
2096
2339
|
include Aws::Structure
|
2097
2340
|
end
|
2098
2341
|
|
@@ -2118,6 +2361,7 @@ module Aws::GuardDuty
|
|
2118
2361
|
class GetThreatIntelSetRequest < Struct.new(
|
2119
2362
|
:detector_id,
|
2120
2363
|
:threat_intel_set_id)
|
2364
|
+
SENSITIVE = []
|
2121
2365
|
include Aws::Structure
|
2122
2366
|
end
|
2123
2367
|
|
@@ -2152,6 +2396,85 @@ module Aws::GuardDuty
|
|
2152
2396
|
:location,
|
2153
2397
|
:status,
|
2154
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 = []
|
2155
2478
|
include Aws::Structure
|
2156
2479
|
end
|
2157
2480
|
|
@@ -2170,6 +2493,7 @@ module Aws::GuardDuty
|
|
2170
2493
|
class IamInstanceProfile < Struct.new(
|
2171
2494
|
:arn,
|
2172
2495
|
:id)
|
2496
|
+
SENSITIVE = []
|
2173
2497
|
include Aws::Structure
|
2174
2498
|
end
|
2175
2499
|
|
@@ -2244,6 +2568,7 @@ module Aws::GuardDuty
|
|
2244
2568
|
:platform,
|
2245
2569
|
:product_codes,
|
2246
2570
|
:tags)
|
2571
|
+
SENSITIVE = []
|
2247
2572
|
include Aws::Structure
|
2248
2573
|
end
|
2249
2574
|
|
@@ -2262,6 +2587,7 @@ module Aws::GuardDuty
|
|
2262
2587
|
class InternalServerErrorException < Struct.new(
|
2263
2588
|
:message,
|
2264
2589
|
:type)
|
2590
|
+
SENSITIVE = []
|
2265
2591
|
include Aws::Structure
|
2266
2592
|
end
|
2267
2593
|
|
@@ -2292,6 +2618,7 @@ module Aws::GuardDuty
|
|
2292
2618
|
:invitation_id,
|
2293
2619
|
:relationship_status,
|
2294
2620
|
:invited_at)
|
2621
|
+
SENSITIVE = []
|
2295
2622
|
include Aws::Structure
|
2296
2623
|
end
|
2297
2624
|
|
@@ -2317,13 +2644,13 @@ module Aws::GuardDuty
|
|
2317
2644
|
#
|
2318
2645
|
# @!attribute [rw] disable_email_notification
|
2319
2646
|
# A Boolean value that specifies whether you want to disable email
|
2320
|
-
# notification to the accounts that you
|
2647
|
+
# notification to the accounts that you are inviting to GuardDuty as
|
2321
2648
|
# members.
|
2322
2649
|
# @return [Boolean]
|
2323
2650
|
#
|
2324
2651
|
# @!attribute [rw] message
|
2325
2652
|
# The invitation message that you want to send to the accounts that
|
2326
|
-
# you
|
2653
|
+
# you're inviting to GuardDuty as members.
|
2327
2654
|
# @return [String]
|
2328
2655
|
#
|
2329
2656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest AWS API Documentation
|
@@ -2333,6 +2660,7 @@ module Aws::GuardDuty
|
|
2333
2660
|
:account_ids,
|
2334
2661
|
:disable_email_notification,
|
2335
2662
|
:message)
|
2663
|
+
SENSITIVE = []
|
2336
2664
|
include Aws::Structure
|
2337
2665
|
end
|
2338
2666
|
|
@@ -2345,6 +2673,7 @@ module Aws::GuardDuty
|
|
2345
2673
|
#
|
2346
2674
|
class InviteMembersResponse < Struct.new(
|
2347
2675
|
:unprocessed_accounts)
|
2676
|
+
SENSITIVE = []
|
2348
2677
|
include Aws::Structure
|
2349
2678
|
end
|
2350
2679
|
|
@@ -2375,6 +2704,7 @@ module Aws::GuardDuty
|
|
2375
2704
|
class ListDetectorsRequest < Struct.new(
|
2376
2705
|
:max_results,
|
2377
2706
|
:next_token)
|
2707
|
+
SENSITIVE = []
|
2378
2708
|
include Aws::Structure
|
2379
2709
|
end
|
2380
2710
|
|
@@ -2392,6 +2722,7 @@ module Aws::GuardDuty
|
|
2392
2722
|
class ListDetectorsResponse < Struct.new(
|
2393
2723
|
:detector_ids,
|
2394
2724
|
:next_token)
|
2725
|
+
SENSITIVE = []
|
2395
2726
|
include Aws::Structure
|
2396
2727
|
end
|
2397
2728
|
|
@@ -2428,6 +2759,7 @@ module Aws::GuardDuty
|
|
2428
2759
|
:detector_id,
|
2429
2760
|
:max_results,
|
2430
2761
|
:next_token)
|
2762
|
+
SENSITIVE = []
|
2431
2763
|
include Aws::Structure
|
2432
2764
|
end
|
2433
2765
|
|
@@ -2445,6 +2777,7 @@ module Aws::GuardDuty
|
|
2445
2777
|
class ListFiltersResponse < Struct.new(
|
2446
2778
|
:filter_names,
|
2447
2779
|
:next_token)
|
2780
|
+
SENSITIVE = []
|
2448
2781
|
include Aws::Structure
|
2449
2782
|
end
|
2450
2783
|
|
@@ -2620,6 +2953,7 @@ module Aws::GuardDuty
|
|
2620
2953
|
:sort_criteria,
|
2621
2954
|
:max_results,
|
2622
2955
|
:next_token)
|
2956
|
+
SENSITIVE = []
|
2623
2957
|
include Aws::Structure
|
2624
2958
|
end
|
2625
2959
|
|
@@ -2637,6 +2971,7 @@ module Aws::GuardDuty
|
|
2637
2971
|
class ListFindingsResponse < Struct.new(
|
2638
2972
|
:finding_ids,
|
2639
2973
|
:next_token)
|
2974
|
+
SENSITIVE = []
|
2640
2975
|
include Aws::Structure
|
2641
2976
|
end
|
2642
2977
|
|
@@ -2673,6 +3008,7 @@ module Aws::GuardDuty
|
|
2673
3008
|
:detector_id,
|
2674
3009
|
:max_results,
|
2675
3010
|
:next_token)
|
3011
|
+
SENSITIVE = []
|
2676
3012
|
include Aws::Structure
|
2677
3013
|
end
|
2678
3014
|
|
@@ -2690,6 +3026,7 @@ module Aws::GuardDuty
|
|
2690
3026
|
class ListIPSetsResponse < Struct.new(
|
2691
3027
|
:ip_set_ids,
|
2692
3028
|
:next_token)
|
3029
|
+
SENSITIVE = []
|
2693
3030
|
include Aws::Structure
|
2694
3031
|
end
|
2695
3032
|
|
@@ -2720,6 +3057,7 @@ module Aws::GuardDuty
|
|
2720
3057
|
class ListInvitationsRequest < Struct.new(
|
2721
3058
|
:max_results,
|
2722
3059
|
:next_token)
|
3060
|
+
SENSITIVE = []
|
2723
3061
|
include Aws::Structure
|
2724
3062
|
end
|
2725
3063
|
|
@@ -2737,6 +3075,7 @@ module Aws::GuardDuty
|
|
2737
3075
|
class ListInvitationsResponse < Struct.new(
|
2738
3076
|
:invitations,
|
2739
3077
|
:next_token)
|
3078
|
+
SENSITIVE = []
|
2740
3079
|
include Aws::Structure
|
2741
3080
|
end
|
2742
3081
|
|
@@ -2781,6 +3120,7 @@ module Aws::GuardDuty
|
|
2781
3120
|
:max_results,
|
2782
3121
|
:next_token,
|
2783
3122
|
:only_associated)
|
3123
|
+
SENSITIVE = []
|
2784
3124
|
include Aws::Structure
|
2785
3125
|
end
|
2786
3126
|
|
@@ -2798,6 +3138,7 @@ module Aws::GuardDuty
|
|
2798
3138
|
class ListMembersResponse < Struct.new(
|
2799
3139
|
:members,
|
2800
3140
|
:next_token)
|
3141
|
+
SENSITIVE = []
|
2801
3142
|
include Aws::Structure
|
2802
3143
|
end
|
2803
3144
|
|
@@ -2826,6 +3167,7 @@ module Aws::GuardDuty
|
|
2826
3167
|
class ListOrganizationAdminAccountsRequest < Struct.new(
|
2827
3168
|
:max_results,
|
2828
3169
|
:next_token)
|
3170
|
+
SENSITIVE = []
|
2829
3171
|
include Aws::Structure
|
2830
3172
|
end
|
2831
3173
|
|
@@ -2844,6 +3186,7 @@ module Aws::GuardDuty
|
|
2844
3186
|
class ListOrganizationAdminAccountsResponse < Struct.new(
|
2845
3187
|
:admin_accounts,
|
2846
3188
|
:next_token)
|
3189
|
+
SENSITIVE = []
|
2847
3190
|
include Aws::Structure
|
2848
3191
|
end
|
2849
3192
|
|
@@ -2878,6 +3221,7 @@ module Aws::GuardDuty
|
|
2878
3221
|
:detector_id,
|
2879
3222
|
:max_results,
|
2880
3223
|
:next_token)
|
3224
|
+
SENSITIVE = []
|
2881
3225
|
include Aws::Structure
|
2882
3226
|
end
|
2883
3227
|
|
@@ -2899,6 +3243,7 @@ module Aws::GuardDuty
|
|
2899
3243
|
class ListPublishingDestinationsResponse < Struct.new(
|
2900
3244
|
:destinations,
|
2901
3245
|
:next_token)
|
3246
|
+
SENSITIVE = []
|
2902
3247
|
include Aws::Structure
|
2903
3248
|
end
|
2904
3249
|
|
@@ -2917,6 +3262,7 @@ module Aws::GuardDuty
|
|
2917
3262
|
#
|
2918
3263
|
class ListTagsForResourceRequest < Struct.new(
|
2919
3264
|
:resource_arn)
|
3265
|
+
SENSITIVE = []
|
2920
3266
|
include Aws::Structure
|
2921
3267
|
end
|
2922
3268
|
|
@@ -2928,6 +3274,7 @@ module Aws::GuardDuty
|
|
2928
3274
|
#
|
2929
3275
|
class ListTagsForResourceResponse < Struct.new(
|
2930
3276
|
:tags)
|
3277
|
+
SENSITIVE = []
|
2931
3278
|
include Aws::Structure
|
2932
3279
|
end
|
2933
3280
|
|
@@ -2965,6 +3312,7 @@ module Aws::GuardDuty
|
|
2965
3312
|
:detector_id,
|
2966
3313
|
:max_results,
|
2967
3314
|
:next_token)
|
3315
|
+
SENSITIVE = []
|
2968
3316
|
include Aws::Structure
|
2969
3317
|
end
|
2970
3318
|
|
@@ -2982,6 +3330,7 @@ module Aws::GuardDuty
|
|
2982
3330
|
class ListThreatIntelSetsResponse < Struct.new(
|
2983
3331
|
:threat_intel_set_ids,
|
2984
3332
|
:next_token)
|
3333
|
+
SENSITIVE = []
|
2985
3334
|
include Aws::Structure
|
2986
3335
|
end
|
2987
3336
|
|
@@ -2995,6 +3344,7 @@ module Aws::GuardDuty
|
|
2995
3344
|
#
|
2996
3345
|
class LocalIpDetails < Struct.new(
|
2997
3346
|
:ip_address_v4)
|
3347
|
+
SENSITIVE = []
|
2998
3348
|
include Aws::Structure
|
2999
3349
|
end
|
3000
3350
|
|
@@ -3013,6 +3363,7 @@ module Aws::GuardDuty
|
|
3013
3363
|
class LocalPortDetails < Struct.new(
|
3014
3364
|
:port,
|
3015
3365
|
:port_name)
|
3366
|
+
SENSITIVE = []
|
3016
3367
|
include Aws::Structure
|
3017
3368
|
end
|
3018
3369
|
|
@@ -3042,6 +3393,7 @@ module Aws::GuardDuty
|
|
3042
3393
|
:invitation_id,
|
3043
3394
|
:relationship_status,
|
3044
3395
|
:invited_at)
|
3396
|
+
SENSITIVE = []
|
3045
3397
|
include Aws::Structure
|
3046
3398
|
end
|
3047
3399
|
|
@@ -3085,6 +3437,27 @@ module Aws::GuardDuty
|
|
3085
3437
|
:relationship_status,
|
3086
3438
|
:invited_at,
|
3087
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 = []
|
3088
3461
|
include Aws::Structure
|
3089
3462
|
end
|
3090
3463
|
|
@@ -3130,6 +3503,7 @@ module Aws::GuardDuty
|
|
3130
3503
|
:local_ip_details,
|
3131
3504
|
:remote_ip_details,
|
3132
3505
|
:remote_port_details)
|
3506
|
+
SENSITIVE = []
|
3133
3507
|
include Aws::Structure
|
3134
3508
|
end
|
3135
3509
|
|
@@ -3189,6 +3563,7 @@ module Aws::GuardDuty
|
|
3189
3563
|
:security_groups,
|
3190
3564
|
:subnet_id,
|
3191
3565
|
:vpc_id)
|
3566
|
+
SENSITIVE = []
|
3192
3567
|
include Aws::Structure
|
3193
3568
|
end
|
3194
3569
|
|
@@ -3219,6 +3594,87 @@ module Aws::GuardDuty
|
|
3219
3594
|
:asn_org,
|
3220
3595
|
:isp,
|
3221
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 = []
|
3222
3678
|
include Aws::Structure
|
3223
3679
|
end
|
3224
3680
|
|
@@ -3238,6 +3694,7 @@ module Aws::GuardDuty
|
|
3238
3694
|
#
|
3239
3695
|
class Owner < Struct.new(
|
3240
3696
|
:id)
|
3697
|
+
SENSITIVE = []
|
3241
3698
|
include Aws::Structure
|
3242
3699
|
end
|
3243
3700
|
|
@@ -3259,6 +3716,7 @@ module Aws::GuardDuty
|
|
3259
3716
|
class PermissionConfiguration < Struct.new(
|
3260
3717
|
:bucket_level_permissions,
|
3261
3718
|
:account_level_permissions)
|
3719
|
+
SENSITIVE = []
|
3262
3720
|
include Aws::Structure
|
3263
3721
|
end
|
3264
3722
|
|
@@ -3279,6 +3737,7 @@ module Aws::GuardDuty
|
|
3279
3737
|
class PortProbeAction < Struct.new(
|
3280
3738
|
:blocked,
|
3281
3739
|
:port_probe_details)
|
3740
|
+
SENSITIVE = []
|
3282
3741
|
include Aws::Structure
|
3283
3742
|
end
|
3284
3743
|
|
@@ -3302,6 +3761,7 @@ module Aws::GuardDuty
|
|
3302
3761
|
:local_port_details,
|
3303
3762
|
:local_ip_details,
|
3304
3763
|
:remote_ip_details)
|
3764
|
+
SENSITIVE = []
|
3305
3765
|
include Aws::Structure
|
3306
3766
|
end
|
3307
3767
|
|
@@ -3320,6 +3780,7 @@ module Aws::GuardDuty
|
|
3320
3780
|
class PrivateIpAddressDetails < Struct.new(
|
3321
3781
|
:private_dns_name,
|
3322
3782
|
:private_ip_address)
|
3783
|
+
SENSITIVE = []
|
3323
3784
|
include Aws::Structure
|
3324
3785
|
end
|
3325
3786
|
|
@@ -3338,6 +3799,7 @@ module Aws::GuardDuty
|
|
3338
3799
|
class ProductCode < Struct.new(
|
3339
3800
|
:code,
|
3340
3801
|
:product_type)
|
3802
|
+
SENSITIVE = []
|
3341
3803
|
include Aws::Structure
|
3342
3804
|
end
|
3343
3805
|
|
@@ -3358,6 +3820,7 @@ module Aws::GuardDuty
|
|
3358
3820
|
class PublicAccess < Struct.new(
|
3359
3821
|
:permission_configuration,
|
3360
3822
|
:effective_permission)
|
3823
|
+
SENSITIVE = []
|
3361
3824
|
include Aws::Structure
|
3362
3825
|
end
|
3363
3826
|
|
@@ -3391,6 +3854,7 @@ module Aws::GuardDuty
|
|
3391
3854
|
:geo_location,
|
3392
3855
|
:ip_address_v4,
|
3393
3856
|
:organization)
|
3857
|
+
SENSITIVE = []
|
3394
3858
|
include Aws::Structure
|
3395
3859
|
end
|
3396
3860
|
|
@@ -3409,6 +3873,7 @@ module Aws::GuardDuty
|
|
3409
3873
|
class RemotePortDetails < Struct.new(
|
3410
3874
|
:port,
|
3411
3875
|
:port_name)
|
3876
|
+
SENSITIVE = []
|
3412
3877
|
include Aws::Structure
|
3413
3878
|
end
|
3414
3879
|
|
@@ -3441,9 +3906,12 @@ module Aws::GuardDuty
|
|
3441
3906
|
:s3_bucket_details,
|
3442
3907
|
:instance_details,
|
3443
3908
|
:resource_type)
|
3909
|
+
SENSITIVE = []
|
3444
3910
|
include Aws::Structure
|
3445
3911
|
end
|
3446
3912
|
|
3913
|
+
# Contains information on the S3 bucket.
|
3914
|
+
#
|
3447
3915
|
# @!attribute [rw] arn
|
3448
3916
|
# The Amazon Resource Name (ARN) of the S3 bucket.
|
3449
3917
|
# @return [String]
|
@@ -3487,6 +3955,43 @@ module Aws::GuardDuty
|
|
3487
3955
|
:tags,
|
3488
3956
|
:default_server_side_encryption,
|
3489
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 = []
|
3490
3995
|
include Aws::Structure
|
3491
3996
|
end
|
3492
3997
|
|
@@ -3506,6 +4011,7 @@ module Aws::GuardDuty
|
|
3506
4011
|
class SecurityGroup < Struct.new(
|
3507
4012
|
:group_id,
|
3508
4013
|
:group_name)
|
4014
|
+
SENSITIVE = []
|
3509
4015
|
include Aws::Structure
|
3510
4016
|
end
|
3511
4017
|
|
@@ -3566,6 +4072,7 @@ module Aws::GuardDuty
|
|
3566
4072
|
:resource_role,
|
3567
4073
|
:service_name,
|
3568
4074
|
:user_feedback)
|
4075
|
+
SENSITIVE = []
|
3569
4076
|
include Aws::Structure
|
3570
4077
|
end
|
3571
4078
|
|
@@ -3593,6 +4100,7 @@ module Aws::GuardDuty
|
|
3593
4100
|
class SortCriteria < Struct.new(
|
3594
4101
|
:attribute_name,
|
3595
4102
|
:order_by)
|
4103
|
+
SENSITIVE = []
|
3596
4104
|
include Aws::Structure
|
3597
4105
|
end
|
3598
4106
|
|
@@ -3619,6 +4127,7 @@ module Aws::GuardDuty
|
|
3619
4127
|
class StartMonitoringMembersRequest < Struct.new(
|
3620
4128
|
:detector_id,
|
3621
4129
|
:account_ids)
|
4130
|
+
SENSITIVE = []
|
3622
4131
|
include Aws::Structure
|
3623
4132
|
end
|
3624
4133
|
|
@@ -3631,6 +4140,7 @@ module Aws::GuardDuty
|
|
3631
4140
|
#
|
3632
4141
|
class StartMonitoringMembersResponse < Struct.new(
|
3633
4142
|
:unprocessed_accounts)
|
4143
|
+
SENSITIVE = []
|
3634
4144
|
include Aws::Structure
|
3635
4145
|
end
|
3636
4146
|
|
@@ -3656,6 +4166,7 @@ module Aws::GuardDuty
|
|
3656
4166
|
class StopMonitoringMembersRequest < Struct.new(
|
3657
4167
|
:detector_id,
|
3658
4168
|
:account_ids)
|
4169
|
+
SENSITIVE = []
|
3659
4170
|
include Aws::Structure
|
3660
4171
|
end
|
3661
4172
|
|
@@ -3669,6 +4180,7 @@ module Aws::GuardDuty
|
|
3669
4180
|
#
|
3670
4181
|
class StopMonitoringMembersResponse < Struct.new(
|
3671
4182
|
:unprocessed_accounts)
|
4183
|
+
SENSITIVE = []
|
3672
4184
|
include Aws::Structure
|
3673
4185
|
end
|
3674
4186
|
|
@@ -3687,6 +4199,7 @@ module Aws::GuardDuty
|
|
3687
4199
|
class Tag < Struct.new(
|
3688
4200
|
:key,
|
3689
4201
|
:value)
|
4202
|
+
SENSITIVE = []
|
3690
4203
|
include Aws::Structure
|
3691
4204
|
end
|
3692
4205
|
|
@@ -3714,6 +4227,7 @@ module Aws::GuardDuty
|
|
3714
4227
|
class TagResourceRequest < Struct.new(
|
3715
4228
|
:resource_arn,
|
3716
4229
|
:tags)
|
4230
|
+
SENSITIVE = []
|
3717
4231
|
include Aws::Structure
|
3718
4232
|
end
|
3719
4233
|
|
@@ -3738,6 +4252,27 @@ module Aws::GuardDuty
|
|
3738
4252
|
class ThreatIntelligenceDetail < Struct.new(
|
3739
4253
|
:threat_list_name,
|
3740
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 = []
|
3741
4276
|
include Aws::Structure
|
3742
4277
|
end
|
3743
4278
|
|
@@ -3762,6 +4297,7 @@ module Aws::GuardDuty
|
|
3762
4297
|
class UnarchiveFindingsRequest < Struct.new(
|
3763
4298
|
:detector_id,
|
3764
4299
|
:finding_ids)
|
4300
|
+
SENSITIVE = []
|
3765
4301
|
include Aws::Structure
|
3766
4302
|
end
|
3767
4303
|
|
@@ -3784,6 +4320,7 @@ module Aws::GuardDuty
|
|
3784
4320
|
class UnprocessedAccount < Struct.new(
|
3785
4321
|
:account_id,
|
3786
4322
|
:result)
|
4323
|
+
SENSITIVE = []
|
3787
4324
|
include Aws::Structure
|
3788
4325
|
end
|
3789
4326
|
|
@@ -3808,6 +4345,7 @@ module Aws::GuardDuty
|
|
3808
4345
|
class UntagResourceRequest < Struct.new(
|
3809
4346
|
:resource_arn,
|
3810
4347
|
:tag_keys)
|
4348
|
+
SENSITIVE = []
|
3811
4349
|
include Aws::Structure
|
3812
4350
|
end
|
3813
4351
|
|
@@ -3822,6 +4360,11 @@ module Aws::GuardDuty
|
|
3822
4360
|
# detector_id: "DetectorId", # required
|
3823
4361
|
# enable: false,
|
3824
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
|
+
# },
|
3825
4368
|
# }
|
3826
4369
|
#
|
3827
4370
|
# @!attribute [rw] detector_id
|
@@ -3837,12 +4380,18 @@ module Aws::GuardDuty
|
|
3837
4380
|
# such as to CloudWatch Events.
|
3838
4381
|
# @return [String]
|
3839
4382
|
#
|
4383
|
+
# @!attribute [rw] data_sources
|
4384
|
+
# An object that describes which data sources will be updated.
|
4385
|
+
# @return [Types::DataSourceConfigurations]
|
4386
|
+
#
|
3840
4387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
|
3841
4388
|
#
|
3842
4389
|
class UpdateDetectorRequest < Struct.new(
|
3843
4390
|
:detector_id,
|
3844
4391
|
:enable,
|
3845
|
-
:finding_publishing_frequency
|
4392
|
+
:finding_publishing_frequency,
|
4393
|
+
:data_sources)
|
4394
|
+
SENSITIVE = []
|
3846
4395
|
include Aws::Structure
|
3847
4396
|
end
|
3848
4397
|
|
@@ -3917,6 +4466,7 @@ module Aws::GuardDuty
|
|
3917
4466
|
:action,
|
3918
4467
|
:rank,
|
3919
4468
|
:finding_criteria)
|
4469
|
+
SENSITIVE = []
|
3920
4470
|
include Aws::Structure
|
3921
4471
|
end
|
3922
4472
|
|
@@ -3928,6 +4478,7 @@ module Aws::GuardDuty
|
|
3928
4478
|
#
|
3929
4479
|
class UpdateFilterResponse < Struct.new(
|
3930
4480
|
:name)
|
4481
|
+
SENSITIVE = []
|
3931
4482
|
include Aws::Structure
|
3932
4483
|
end
|
3933
4484
|
|
@@ -3966,6 +4517,7 @@ module Aws::GuardDuty
|
|
3966
4517
|
:finding_ids,
|
3967
4518
|
:feedback,
|
3968
4519
|
:comments)
|
4520
|
+
SENSITIVE = []
|
3969
4521
|
include Aws::Structure
|
3970
4522
|
end
|
3971
4523
|
|
@@ -4015,6 +4567,7 @@ module Aws::GuardDuty
|
|
4015
4567
|
:name,
|
4016
4568
|
:location,
|
4017
4569
|
:activate)
|
4570
|
+
SENSITIVE = []
|
4018
4571
|
include Aws::Structure
|
4019
4572
|
end
|
4020
4573
|
|
@@ -4022,12 +4575,65 @@ module Aws::GuardDuty
|
|
4022
4575
|
#
|
4023
4576
|
class UpdateIPSetResponse < Aws::EmptyStructure; end
|
4024
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
|
+
|
4025
4626
|
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
4026
4627
|
# data as a hash:
|
4027
4628
|
#
|
4028
4629
|
# {
|
4029
4630
|
# detector_id: "DetectorId", # required
|
4030
4631
|
# auto_enable: false, # required
|
4632
|
+
# data_sources: {
|
4633
|
+
# s3_logs: {
|
4634
|
+
# auto_enable: false, # required
|
4635
|
+
# },
|
4636
|
+
# },
|
4031
4637
|
# }
|
4032
4638
|
#
|
4033
4639
|
# @!attribute [rw] detector_id
|
@@ -4039,11 +4645,17 @@ module Aws::GuardDuty
|
|
4039
4645
|
# organization.
|
4040
4646
|
# @return [Boolean]
|
4041
4647
|
#
|
4648
|
+
# @!attribute [rw] data_sources
|
4649
|
+
# An object describes which data sources will be updated.
|
4650
|
+
# @return [Types::OrganizationDataSourceConfigurations]
|
4651
|
+
#
|
4042
4652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
|
4043
4653
|
#
|
4044
4654
|
class UpdateOrganizationConfigurationRequest < Struct.new(
|
4045
4655
|
:detector_id,
|
4046
|
-
:auto_enable
|
4656
|
+
:auto_enable,
|
4657
|
+
:data_sources)
|
4658
|
+
SENSITIVE = []
|
4047
4659
|
include Aws::Structure
|
4048
4660
|
end
|
4049
4661
|
|
@@ -4083,6 +4695,7 @@ module Aws::GuardDuty
|
|
4083
4695
|
:detector_id,
|
4084
4696
|
:destination_id,
|
4085
4697
|
:destination_properties)
|
4698
|
+
SENSITIVE = []
|
4086
4699
|
include Aws::Structure
|
4087
4700
|
end
|
4088
4701
|
|
@@ -4134,6 +4747,7 @@ module Aws::GuardDuty
|
|
4134
4747
|
:name,
|
4135
4748
|
:location,
|
4136
4749
|
:activate)
|
4750
|
+
SENSITIVE = []
|
4137
4751
|
include Aws::Structure
|
4138
4752
|
end
|
4139
4753
|
|
@@ -4141,5 +4755,128 @@ module Aws::GuardDuty
|
|
4141
4755
|
#
|
4142
4756
|
class UpdateThreatIntelSetResponse < Aws::EmptyStructure; end
|
4143
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
|
+
|
4144
4881
|
end
|
4145
4882
|
end
|