aws-sdk-guardduty 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-guardduty.rb +47 -0
- data/lib/aws-sdk-guardduty/client.rb +1578 -0
- data/lib/aws-sdk-guardduty/client_api.rb +1117 -0
- data/lib/aws-sdk-guardduty/customizations.rb +0 -0
- data/lib/aws-sdk-guardduty/errors.rb +14 -0
- data/lib/aws-sdk-guardduty/resource.rb +23 -0
- data/lib/aws-sdk-guardduty/types.rb +2490 -0
- metadata +82 -0
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::GuardDuty
|
9
|
+
module Errors
|
10
|
+
|
11
|
+
extend Aws::Errors::DynamicErrors
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::GuardDuty
|
9
|
+
class Resource
|
10
|
+
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,2490 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::GuardDuty
|
9
|
+
module Types
|
10
|
+
|
11
|
+
# AcceptInvitation request body.
|
12
|
+
#
|
13
|
+
# @note When making an API call, you may pass AcceptInvitationRequest
|
14
|
+
# data as a hash:
|
15
|
+
#
|
16
|
+
# {
|
17
|
+
# detector_id: "__string", # required
|
18
|
+
# invitation_id: "InvitationId",
|
19
|
+
# master_id: "MasterId",
|
20
|
+
# }
|
21
|
+
#
|
22
|
+
# @!attribute [rw] detector_id
|
23
|
+
# @return [String]
|
24
|
+
#
|
25
|
+
# @!attribute [rw] invitation_id
|
26
|
+
# This value is used to validate the master account to the member
|
27
|
+
# account.
|
28
|
+
# @return [String]
|
29
|
+
#
|
30
|
+
# @!attribute [rw] master_id
|
31
|
+
# The account ID of the master GuardDuty account whose invitation
|
32
|
+
# you're accepting.
|
33
|
+
# @return [String]
|
34
|
+
#
|
35
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationRequest AWS API Documentation
|
36
|
+
#
|
37
|
+
class AcceptInvitationRequest < Struct.new(
|
38
|
+
:detector_id,
|
39
|
+
:invitation_id,
|
40
|
+
:master_id)
|
41
|
+
include Aws::Structure
|
42
|
+
end
|
43
|
+
|
44
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationResponse AWS API Documentation
|
45
|
+
#
|
46
|
+
class AcceptInvitationResponse < Aws::EmptyStructure; end
|
47
|
+
|
48
|
+
# An object containing the member's accountId and email address.
|
49
|
+
#
|
50
|
+
# @note When making an API call, you may pass AccountDetail
|
51
|
+
# data as a hash:
|
52
|
+
#
|
53
|
+
# {
|
54
|
+
# account_id: "AccountId",
|
55
|
+
# email: "Email",
|
56
|
+
# }
|
57
|
+
#
|
58
|
+
# @!attribute [rw] account_id
|
59
|
+
# Member account ID.
|
60
|
+
# @return [String]
|
61
|
+
#
|
62
|
+
# @!attribute [rw] email
|
63
|
+
# Member account's email address.
|
64
|
+
# @return [String]
|
65
|
+
#
|
66
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountDetail AWS API Documentation
|
67
|
+
#
|
68
|
+
class AccountDetail < Struct.new(
|
69
|
+
:account_id,
|
70
|
+
:email)
|
71
|
+
include Aws::Structure
|
72
|
+
end
|
73
|
+
|
74
|
+
# Information about the activity described in a finding.
|
75
|
+
#
|
76
|
+
# @!attribute [rw] action_type
|
77
|
+
# GuardDuty Finding activity type.
|
78
|
+
# @return [String]
|
79
|
+
#
|
80
|
+
# @!attribute [rw] aws_api_call_action
|
81
|
+
# Information about the AWS\_API\_CALL action described in this
|
82
|
+
# finding.
|
83
|
+
# @return [Types::AwsApiCallAction]
|
84
|
+
#
|
85
|
+
# @!attribute [rw] dns_request_action
|
86
|
+
# Information about the DNS\_REQUEST action described in this finding.
|
87
|
+
# @return [Types::DnsRequestAction]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] network_connection_action
|
90
|
+
# Information about the NETWORK\_CONNECTION action described in this
|
91
|
+
# finding.
|
92
|
+
# @return [Types::NetworkConnectionAction]
|
93
|
+
#
|
94
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action AWS API Documentation
|
95
|
+
#
|
96
|
+
class Action < Struct.new(
|
97
|
+
:action_type,
|
98
|
+
:aws_api_call_action,
|
99
|
+
:dns_request_action,
|
100
|
+
:network_connection_action)
|
101
|
+
include Aws::Structure
|
102
|
+
end
|
103
|
+
|
104
|
+
# Archive Findings Request
|
105
|
+
#
|
106
|
+
# @note When making an API call, you may pass ArchiveFindingsRequest
|
107
|
+
# data as a hash:
|
108
|
+
#
|
109
|
+
# {
|
110
|
+
# detector_id: "__string", # required
|
111
|
+
# finding_ids: ["FindingId"],
|
112
|
+
# }
|
113
|
+
#
|
114
|
+
# @!attribute [rw] detector_id
|
115
|
+
# @return [String]
|
116
|
+
#
|
117
|
+
# @!attribute [rw] finding_ids
|
118
|
+
# IDs of the findings that you want to archive.
|
119
|
+
# @return [Array<String>]
|
120
|
+
#
|
121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsRequest AWS API Documentation
|
122
|
+
#
|
123
|
+
class ArchiveFindingsRequest < Struct.new(
|
124
|
+
:detector_id,
|
125
|
+
:finding_ids)
|
126
|
+
include Aws::Structure
|
127
|
+
end
|
128
|
+
|
129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsResponse AWS API Documentation
|
130
|
+
#
|
131
|
+
class ArchiveFindingsResponse < Aws::EmptyStructure; end
|
132
|
+
|
133
|
+
# Information about the AWS\_API\_CALL action described in this finding.
|
134
|
+
#
|
135
|
+
# @!attribute [rw] api
|
136
|
+
# AWS API name.
|
137
|
+
# @return [String]
|
138
|
+
#
|
139
|
+
# @!attribute [rw] caller_type
|
140
|
+
# AWS API caller type.
|
141
|
+
# @return [String]
|
142
|
+
#
|
143
|
+
# @!attribute [rw] domain_details
|
144
|
+
# Domain information for the AWS API call.
|
145
|
+
# @return [Types::DomainDetails]
|
146
|
+
#
|
147
|
+
# @!attribute [rw] remote_ip_details
|
148
|
+
# Remote IP information of the connection.
|
149
|
+
# @return [Types::RemoteIpDetails]
|
150
|
+
#
|
151
|
+
# @!attribute [rw] service_name
|
152
|
+
# AWS service name whose API was invoked.
|
153
|
+
# @return [String]
|
154
|
+
#
|
155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AwsApiCallAction AWS API Documentation
|
156
|
+
#
|
157
|
+
class AwsApiCallAction < Struct.new(
|
158
|
+
:api,
|
159
|
+
:caller_type,
|
160
|
+
:domain_details,
|
161
|
+
:remote_ip_details,
|
162
|
+
:service_name)
|
163
|
+
include Aws::Structure
|
164
|
+
end
|
165
|
+
|
166
|
+
# City information of the remote IP address.
|
167
|
+
#
|
168
|
+
# @!attribute [rw] city_name
|
169
|
+
# City name of the remote IP address.
|
170
|
+
# @return [String]
|
171
|
+
#
|
172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/City AWS API Documentation
|
173
|
+
#
|
174
|
+
class City < Struct.new(
|
175
|
+
:city_name)
|
176
|
+
include Aws::Structure
|
177
|
+
end
|
178
|
+
|
179
|
+
# Finding attribute (for example, accountId) for which conditions and
|
180
|
+
# values must be specified when querying findings.
|
181
|
+
#
|
182
|
+
# @note When making an API call, you may pass Condition
|
183
|
+
# data as a hash:
|
184
|
+
#
|
185
|
+
# {
|
186
|
+
# eq: ["__string"],
|
187
|
+
# gt: 1,
|
188
|
+
# gte: 1,
|
189
|
+
# lt: 1,
|
190
|
+
# lte: 1,
|
191
|
+
# neq: ["__string"],
|
192
|
+
# }
|
193
|
+
#
|
194
|
+
# @!attribute [rw] eq
|
195
|
+
# Represents the equal condition to be applied to a single field when
|
196
|
+
# querying for findings.
|
197
|
+
# @return [Array<String>]
|
198
|
+
#
|
199
|
+
# @!attribute [rw] gt
|
200
|
+
# Represents the greater than condition to be applied to a single
|
201
|
+
# field when querying for findings.
|
202
|
+
# @return [Integer]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] gte
|
205
|
+
# Represents the greater than equal condition to be applied to a
|
206
|
+
# single field when querying for findings.
|
207
|
+
# @return [Integer]
|
208
|
+
#
|
209
|
+
# @!attribute [rw] lt
|
210
|
+
# Represents the less than condition to be applied to a single field
|
211
|
+
# when querying for findings.
|
212
|
+
# @return [Integer]
|
213
|
+
#
|
214
|
+
# @!attribute [rw] lte
|
215
|
+
# Represents the less than equal condition to be applied to a single
|
216
|
+
# field when querying for findings.
|
217
|
+
# @return [Integer]
|
218
|
+
#
|
219
|
+
# @!attribute [rw] neq
|
220
|
+
# Represents the not equal condition to be applied to a single field
|
221
|
+
# when querying for findings.
|
222
|
+
# @return [Array<String>]
|
223
|
+
#
|
224
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Condition AWS API Documentation
|
225
|
+
#
|
226
|
+
class Condition < Struct.new(
|
227
|
+
:eq,
|
228
|
+
:gt,
|
229
|
+
:gte,
|
230
|
+
:lt,
|
231
|
+
:lte,
|
232
|
+
:neq)
|
233
|
+
include Aws::Structure
|
234
|
+
end
|
235
|
+
|
236
|
+
# Country information of the remote IP address.
|
237
|
+
#
|
238
|
+
# @!attribute [rw] country_code
|
239
|
+
# Country code of the remote IP address.
|
240
|
+
# @return [String]
|
241
|
+
#
|
242
|
+
# @!attribute [rw] country_name
|
243
|
+
# Country name of the remote IP address.
|
244
|
+
# @return [String]
|
245
|
+
#
|
246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Country AWS API Documentation
|
247
|
+
#
|
248
|
+
class Country < Struct.new(
|
249
|
+
:country_code,
|
250
|
+
:country_name)
|
251
|
+
include Aws::Structure
|
252
|
+
end
|
253
|
+
|
254
|
+
# Create Detector Request
|
255
|
+
#
|
256
|
+
# @note When making an API call, you may pass CreateDetectorRequest
|
257
|
+
# data as a hash:
|
258
|
+
#
|
259
|
+
# {
|
260
|
+
# enable: false,
|
261
|
+
# }
|
262
|
+
#
|
263
|
+
# @!attribute [rw] enable
|
264
|
+
# A boolean value that specifies whether the detector is to be
|
265
|
+
# enabled.
|
266
|
+
# @return [Boolean]
|
267
|
+
#
|
268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest AWS API Documentation
|
269
|
+
#
|
270
|
+
class CreateDetectorRequest < Struct.new(
|
271
|
+
:enable)
|
272
|
+
include Aws::Structure
|
273
|
+
end
|
274
|
+
|
275
|
+
# CreateDetector response object.
|
276
|
+
#
|
277
|
+
# @!attribute [rw] detector_id
|
278
|
+
# The unique ID of the created detector.
|
279
|
+
# @return [String]
|
280
|
+
#
|
281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorResponse AWS API Documentation
|
282
|
+
#
|
283
|
+
class CreateDetectorResponse < Struct.new(
|
284
|
+
:detector_id)
|
285
|
+
include Aws::Structure
|
286
|
+
end
|
287
|
+
|
288
|
+
# Create IP Set Request
|
289
|
+
#
|
290
|
+
# @note When making an API call, you may pass CreateIPSetRequest
|
291
|
+
# data as a hash:
|
292
|
+
#
|
293
|
+
# {
|
294
|
+
# activate: false,
|
295
|
+
# detector_id: "__string", # required
|
296
|
+
# format: "TXT", # accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
|
297
|
+
# location: "Location",
|
298
|
+
# name: "Name",
|
299
|
+
# }
|
300
|
+
#
|
301
|
+
# @!attribute [rw] activate
|
302
|
+
# A boolean value that indicates whether GuardDuty is to start using
|
303
|
+
# the uploaded IPSet.
|
304
|
+
# @return [Boolean]
|
305
|
+
#
|
306
|
+
# @!attribute [rw] detector_id
|
307
|
+
# @return [String]
|
308
|
+
#
|
309
|
+
# @!attribute [rw] format
|
310
|
+
# The format of the file that contains the IPSet.
|
311
|
+
# @return [String]
|
312
|
+
#
|
313
|
+
# @!attribute [rw] location
|
314
|
+
# The URI of the file that contains the IPSet. For example
|
315
|
+
# (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
|
316
|
+
# @return [String]
|
317
|
+
#
|
318
|
+
# @!attribute [rw] name
|
319
|
+
# The user friendly name to identify the IPSet. This name is displayed
|
320
|
+
# in all findings that are triggered by activity that involves IP
|
321
|
+
# addresses included in this IPSet.
|
322
|
+
# @return [String]
|
323
|
+
#
|
324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetRequest AWS API Documentation
|
325
|
+
#
|
326
|
+
class CreateIPSetRequest < Struct.new(
|
327
|
+
:activate,
|
328
|
+
:detector_id,
|
329
|
+
:format,
|
330
|
+
:location,
|
331
|
+
:name)
|
332
|
+
include Aws::Structure
|
333
|
+
end
|
334
|
+
|
335
|
+
# CreateIPSet response object.
|
336
|
+
#
|
337
|
+
# @!attribute [rw] ip_set_id
|
338
|
+
# The unique identifier for an IP Set
|
339
|
+
# @return [String]
|
340
|
+
#
|
341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetResponse AWS API Documentation
|
342
|
+
#
|
343
|
+
class CreateIPSetResponse < Struct.new(
|
344
|
+
:ip_set_id)
|
345
|
+
include Aws::Structure
|
346
|
+
end
|
347
|
+
|
348
|
+
# CreateMembers body
|
349
|
+
#
|
350
|
+
# @note When making an API call, you may pass CreateMembersRequest
|
351
|
+
# data as a hash:
|
352
|
+
#
|
353
|
+
# {
|
354
|
+
# account_details: [
|
355
|
+
# {
|
356
|
+
# account_id: "AccountId",
|
357
|
+
# email: "Email",
|
358
|
+
# },
|
359
|
+
# ],
|
360
|
+
# detector_id: "__string", # required
|
361
|
+
# }
|
362
|
+
#
|
363
|
+
# @!attribute [rw] account_details
|
364
|
+
# A list of account ID and email address pairs of the accounts that
|
365
|
+
# you want to associate with the master GuardDuty account.
|
366
|
+
# @return [Array<Types::AccountDetail>]
|
367
|
+
#
|
368
|
+
# @!attribute [rw] detector_id
|
369
|
+
# @return [String]
|
370
|
+
#
|
371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersRequest AWS API Documentation
|
372
|
+
#
|
373
|
+
class CreateMembersRequest < Struct.new(
|
374
|
+
:account_details,
|
375
|
+
:detector_id)
|
376
|
+
include Aws::Structure
|
377
|
+
end
|
378
|
+
|
379
|
+
# CreateMembers response object.
|
380
|
+
#
|
381
|
+
# @!attribute [rw] unprocessed_accounts
|
382
|
+
# A list of objects containing the unprocessed account and a result
|
383
|
+
# string explaining why it was unprocessed.
|
384
|
+
# @return [Array<Types::UnprocessedAccount>]
|
385
|
+
#
|
386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersResponse AWS API Documentation
|
387
|
+
#
|
388
|
+
class CreateMembersResponse < Struct.new(
|
389
|
+
:unprocessed_accounts)
|
390
|
+
include Aws::Structure
|
391
|
+
end
|
392
|
+
|
393
|
+
# Create Sample Findings Request
|
394
|
+
#
|
395
|
+
# @note When making an API call, you may pass CreateSampleFindingsRequest
|
396
|
+
# data as a hash:
|
397
|
+
#
|
398
|
+
# {
|
399
|
+
# detector_id: "__string", # required
|
400
|
+
# finding_types: ["FindingType"],
|
401
|
+
# }
|
402
|
+
#
|
403
|
+
# @!attribute [rw] detector_id
|
404
|
+
# @return [String]
|
405
|
+
#
|
406
|
+
# @!attribute [rw] finding_types
|
407
|
+
# Types of sample findings that you want to generate.
|
408
|
+
# @return [Array<String>]
|
409
|
+
#
|
410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsRequest AWS API Documentation
|
411
|
+
#
|
412
|
+
class CreateSampleFindingsRequest < Struct.new(
|
413
|
+
:detector_id,
|
414
|
+
:finding_types)
|
415
|
+
include Aws::Structure
|
416
|
+
end
|
417
|
+
|
418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsResponse AWS API Documentation
|
419
|
+
#
|
420
|
+
class CreateSampleFindingsResponse < Aws::EmptyStructure; end
|
421
|
+
|
422
|
+
# Create Threat Intel Set Request
|
423
|
+
#
|
424
|
+
# @note When making an API call, you may pass CreateThreatIntelSetRequest
|
425
|
+
# data as a hash:
|
426
|
+
#
|
427
|
+
# {
|
428
|
+
# activate: false,
|
429
|
+
# detector_id: "__string", # required
|
430
|
+
# format: "TXT", # accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
|
431
|
+
# location: "Location",
|
432
|
+
# name: "Name",
|
433
|
+
# }
|
434
|
+
#
|
435
|
+
# @!attribute [rw] activate
|
436
|
+
# A boolean value that indicates whether GuardDuty is to start using
|
437
|
+
# the uploaded ThreatIntelSet.
|
438
|
+
# @return [Boolean]
|
439
|
+
#
|
440
|
+
# @!attribute [rw] detector_id
|
441
|
+
# @return [String]
|
442
|
+
#
|
443
|
+
# @!attribute [rw] format
|
444
|
+
# The format of the file that contains the ThreatIntelSet.
|
445
|
+
# @return [String]
|
446
|
+
#
|
447
|
+
# @!attribute [rw] location
|
448
|
+
# The URI of the file that contains the ThreatIntelSet. For example
|
449
|
+
# (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
|
450
|
+
# @return [String]
|
451
|
+
#
|
452
|
+
# @!attribute [rw] name
|
453
|
+
# A user-friendly ThreatIntelSet name that is displayed in all finding
|
454
|
+
# generated by activity that involves IP addresses included in this
|
455
|
+
# ThreatIntelSet.
|
456
|
+
# @return [String]
|
457
|
+
#
|
458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetRequest AWS API Documentation
|
459
|
+
#
|
460
|
+
class CreateThreatIntelSetRequest < Struct.new(
|
461
|
+
:activate,
|
462
|
+
:detector_id,
|
463
|
+
:format,
|
464
|
+
:location,
|
465
|
+
:name)
|
466
|
+
include Aws::Structure
|
467
|
+
end
|
468
|
+
|
469
|
+
# CreateThreatIntelSet response object.
|
470
|
+
#
|
471
|
+
# @!attribute [rw] threat_intel_set_id
|
472
|
+
# The unique identifier for an threat intel set
|
473
|
+
# @return [String]
|
474
|
+
#
|
475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetResponse AWS API Documentation
|
476
|
+
#
|
477
|
+
class CreateThreatIntelSetResponse < Struct.new(
|
478
|
+
:threat_intel_set_id)
|
479
|
+
include Aws::Structure
|
480
|
+
end
|
481
|
+
|
482
|
+
# DeclineInvitations request body.
|
483
|
+
#
|
484
|
+
# @note When making an API call, you may pass DeclineInvitationsRequest
|
485
|
+
# data as a hash:
|
486
|
+
#
|
487
|
+
# {
|
488
|
+
# account_ids: ["__string"],
|
489
|
+
# }
|
490
|
+
#
|
491
|
+
# @!attribute [rw] account_ids
|
492
|
+
# A list of account IDs of the AWS accounts that sent invitations to
|
493
|
+
# the current member account that you want to decline invitations
|
494
|
+
# from.
|
495
|
+
# @return [Array<String>]
|
496
|
+
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsRequest AWS API Documentation
|
498
|
+
#
|
499
|
+
class DeclineInvitationsRequest < Struct.new(
|
500
|
+
:account_ids)
|
501
|
+
include Aws::Structure
|
502
|
+
end
|
503
|
+
|
504
|
+
# DeclineInvitations response object.
|
505
|
+
#
|
506
|
+
# @!attribute [rw] unprocessed_accounts
|
507
|
+
# A list of objects containing the unprocessed account and a result
|
508
|
+
# string explaining why it was unprocessed.
|
509
|
+
# @return [Array<Types::UnprocessedAccount>]
|
510
|
+
#
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsResponse AWS API Documentation
|
512
|
+
#
|
513
|
+
class DeclineInvitationsResponse < Struct.new(
|
514
|
+
:unprocessed_accounts)
|
515
|
+
include Aws::Structure
|
516
|
+
end
|
517
|
+
|
518
|
+
# @note When making an API call, you may pass DeleteDetectorRequest
|
519
|
+
# data as a hash:
|
520
|
+
#
|
521
|
+
# {
|
522
|
+
# detector_id: "__string", # required
|
523
|
+
# }
|
524
|
+
#
|
525
|
+
# @!attribute [rw] detector_id
|
526
|
+
# @return [String]
|
527
|
+
#
|
528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorRequest AWS API Documentation
|
529
|
+
#
|
530
|
+
class DeleteDetectorRequest < Struct.new(
|
531
|
+
:detector_id)
|
532
|
+
include Aws::Structure
|
533
|
+
end
|
534
|
+
|
535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorResponse AWS API Documentation
|
536
|
+
#
|
537
|
+
class DeleteDetectorResponse < Aws::EmptyStructure; end
|
538
|
+
|
539
|
+
# @note When making an API call, you may pass DeleteIPSetRequest
|
540
|
+
# data as a hash:
|
541
|
+
#
|
542
|
+
# {
|
543
|
+
# detector_id: "__string", # required
|
544
|
+
# ip_set_id: "__string", # required
|
545
|
+
# }
|
546
|
+
#
|
547
|
+
# @!attribute [rw] detector_id
|
548
|
+
# @return [String]
|
549
|
+
#
|
550
|
+
# @!attribute [rw] ip_set_id
|
551
|
+
# @return [String]
|
552
|
+
#
|
553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetRequest AWS API Documentation
|
554
|
+
#
|
555
|
+
class DeleteIPSetRequest < Struct.new(
|
556
|
+
:detector_id,
|
557
|
+
:ip_set_id)
|
558
|
+
include Aws::Structure
|
559
|
+
end
|
560
|
+
|
561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetResponse AWS API Documentation
|
562
|
+
#
|
563
|
+
class DeleteIPSetResponse < Aws::EmptyStructure; end
|
564
|
+
|
565
|
+
# DeleteInvitations request body.
|
566
|
+
#
|
567
|
+
# @note When making an API call, you may pass DeleteInvitationsRequest
|
568
|
+
# data as a hash:
|
569
|
+
#
|
570
|
+
# {
|
571
|
+
# account_ids: ["__string"],
|
572
|
+
# }
|
573
|
+
#
|
574
|
+
# @!attribute [rw] account_ids
|
575
|
+
# A list of account IDs of the AWS accounts that sent invitations to
|
576
|
+
# the current member account that you want to delete invitations from.
|
577
|
+
# @return [Array<String>]
|
578
|
+
#
|
579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsRequest AWS API Documentation
|
580
|
+
#
|
581
|
+
class DeleteInvitationsRequest < Struct.new(
|
582
|
+
:account_ids)
|
583
|
+
include Aws::Structure
|
584
|
+
end
|
585
|
+
|
586
|
+
# DeleteInvitations response object.
|
587
|
+
#
|
588
|
+
# @!attribute [rw] unprocessed_accounts
|
589
|
+
# A list of objects containing the unprocessed account and a result
|
590
|
+
# string explaining why it was unprocessed.
|
591
|
+
# @return [Array<Types::UnprocessedAccount>]
|
592
|
+
#
|
593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsResponse AWS API Documentation
|
594
|
+
#
|
595
|
+
class DeleteInvitationsResponse < Struct.new(
|
596
|
+
:unprocessed_accounts)
|
597
|
+
include Aws::Structure
|
598
|
+
end
|
599
|
+
|
600
|
+
# DeleteMembers request body.
|
601
|
+
#
|
602
|
+
# @note When making an API call, you may pass DeleteMembersRequest
|
603
|
+
# data as a hash:
|
604
|
+
#
|
605
|
+
# {
|
606
|
+
# account_ids: ["__string"],
|
607
|
+
# detector_id: "__string", # required
|
608
|
+
# }
|
609
|
+
#
|
610
|
+
# @!attribute [rw] account_ids
|
611
|
+
# A list of account IDs of the GuardDuty member accounts that you want
|
612
|
+
# to delete.
|
613
|
+
# @return [Array<String>]
|
614
|
+
#
|
615
|
+
# @!attribute [rw] detector_id
|
616
|
+
# @return [String]
|
617
|
+
#
|
618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersRequest AWS API Documentation
|
619
|
+
#
|
620
|
+
class DeleteMembersRequest < Struct.new(
|
621
|
+
:account_ids,
|
622
|
+
:detector_id)
|
623
|
+
include Aws::Structure
|
624
|
+
end
|
625
|
+
|
626
|
+
# DeleteMembers response object.
|
627
|
+
#
|
628
|
+
# @!attribute [rw] unprocessed_accounts
|
629
|
+
# A list of objects containing the unprocessed account and a result
|
630
|
+
# string explaining why it was unprocessed.
|
631
|
+
# @return [Array<Types::UnprocessedAccount>]
|
632
|
+
#
|
633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersResponse AWS API Documentation
|
634
|
+
#
|
635
|
+
class DeleteMembersResponse < Struct.new(
|
636
|
+
:unprocessed_accounts)
|
637
|
+
include Aws::Structure
|
638
|
+
end
|
639
|
+
|
640
|
+
# @note When making an API call, you may pass DeleteThreatIntelSetRequest
|
641
|
+
# data as a hash:
|
642
|
+
#
|
643
|
+
# {
|
644
|
+
# detector_id: "__string", # required
|
645
|
+
# threat_intel_set_id: "__string", # required
|
646
|
+
# }
|
647
|
+
#
|
648
|
+
# @!attribute [rw] detector_id
|
649
|
+
# @return [String]
|
650
|
+
#
|
651
|
+
# @!attribute [rw] threat_intel_set_id
|
652
|
+
# @return [String]
|
653
|
+
#
|
654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetRequest AWS API Documentation
|
655
|
+
#
|
656
|
+
class DeleteThreatIntelSetRequest < Struct.new(
|
657
|
+
:detector_id,
|
658
|
+
:threat_intel_set_id)
|
659
|
+
include Aws::Structure
|
660
|
+
end
|
661
|
+
|
662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetResponse AWS API Documentation
|
663
|
+
#
|
664
|
+
class DeleteThreatIntelSetResponse < Aws::EmptyStructure; end
|
665
|
+
|
666
|
+
# @note When making an API call, you may pass DisassociateFromMasterAccountRequest
|
667
|
+
# data as a hash:
|
668
|
+
#
|
669
|
+
# {
|
670
|
+
# detector_id: "__string", # required
|
671
|
+
# }
|
672
|
+
#
|
673
|
+
# @!attribute [rw] detector_id
|
674
|
+
# @return [String]
|
675
|
+
#
|
676
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountRequest AWS API Documentation
|
677
|
+
#
|
678
|
+
class DisassociateFromMasterAccountRequest < Struct.new(
|
679
|
+
:detector_id)
|
680
|
+
include Aws::Structure
|
681
|
+
end
|
682
|
+
|
683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountResponse AWS API Documentation
|
684
|
+
#
|
685
|
+
class DisassociateFromMasterAccountResponse < Aws::EmptyStructure; end
|
686
|
+
|
687
|
+
# DisassociateMembers request body.
|
688
|
+
#
|
689
|
+
# @note When making an API call, you may pass DisassociateMembersRequest
|
690
|
+
# data as a hash:
|
691
|
+
#
|
692
|
+
# {
|
693
|
+
# account_ids: ["__string"],
|
694
|
+
# detector_id: "__string", # required
|
695
|
+
# }
|
696
|
+
#
|
697
|
+
# @!attribute [rw] account_ids
|
698
|
+
# A list of account IDs of the GuardDuty member accounts that you want
|
699
|
+
# to disassociate from master.
|
700
|
+
# @return [Array<String>]
|
701
|
+
#
|
702
|
+
# @!attribute [rw] detector_id
|
703
|
+
# @return [String]
|
704
|
+
#
|
705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersRequest AWS API Documentation
|
706
|
+
#
|
707
|
+
class DisassociateMembersRequest < Struct.new(
|
708
|
+
:account_ids,
|
709
|
+
:detector_id)
|
710
|
+
include Aws::Structure
|
711
|
+
end
|
712
|
+
|
713
|
+
# DisassociateMembers response object.
|
714
|
+
#
|
715
|
+
# @!attribute [rw] unprocessed_accounts
|
716
|
+
# A list of objects containing the unprocessed account and a result
|
717
|
+
# string explaining why it was unprocessed.
|
718
|
+
# @return [Array<Types::UnprocessedAccount>]
|
719
|
+
#
|
720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersResponse AWS API Documentation
|
721
|
+
#
|
722
|
+
class DisassociateMembersResponse < Struct.new(
|
723
|
+
:unprocessed_accounts)
|
724
|
+
include Aws::Structure
|
725
|
+
end
|
726
|
+
|
727
|
+
# Information about the DNS\_REQUEST action described in this finding.
|
728
|
+
#
|
729
|
+
# @!attribute [rw] domain
|
730
|
+
# Domain information for the DNS request.
|
731
|
+
# @return [String]
|
732
|
+
#
|
733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DnsRequestAction AWS API Documentation
|
734
|
+
#
|
735
|
+
class DnsRequestAction < Struct.new(
|
736
|
+
:domain)
|
737
|
+
include Aws::Structure
|
738
|
+
end
|
739
|
+
|
740
|
+
# Domain information for the AWS API call.
|
741
|
+
#
|
742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DomainDetails AWS API Documentation
|
743
|
+
#
|
744
|
+
class DomainDetails < Aws::EmptyStructure; end
|
745
|
+
|
746
|
+
# Error response object.
|
747
|
+
#
|
748
|
+
# @!attribute [rw] message
|
749
|
+
# The error message.
|
750
|
+
# @return [String]
|
751
|
+
#
|
752
|
+
# @!attribute [rw] type
|
753
|
+
# The error type.
|
754
|
+
# @return [String]
|
755
|
+
#
|
756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ErrorResponse AWS API Documentation
|
757
|
+
#
|
758
|
+
class ErrorResponse < Struct.new(
|
759
|
+
:message,
|
760
|
+
:type)
|
761
|
+
include Aws::Structure
|
762
|
+
end
|
763
|
+
|
764
|
+
# Representation of a abnormal or suspicious activity.
|
765
|
+
#
|
766
|
+
# @!attribute [rw] account_id
|
767
|
+
# AWS account ID where the activity occurred that prompted GuardDuty
|
768
|
+
# to generate a finding.
|
769
|
+
# @return [String]
|
770
|
+
#
|
771
|
+
# @!attribute [rw] arn
|
772
|
+
# The ARN of a finding described by the action.
|
773
|
+
# @return [String]
|
774
|
+
#
|
775
|
+
# @!attribute [rw] confidence
|
776
|
+
# The confidence level of a finding.
|
777
|
+
# @return [Float]
|
778
|
+
#
|
779
|
+
# @!attribute [rw] created_at
|
780
|
+
# The time stamp at which a finding was generated.
|
781
|
+
# @return [String]
|
782
|
+
#
|
783
|
+
# @!attribute [rw] description
|
784
|
+
# The description of a finding.
|
785
|
+
# @return [String]
|
786
|
+
#
|
787
|
+
# @!attribute [rw] id
|
788
|
+
# The identifier that corresponds to a finding described by the
|
789
|
+
# action.
|
790
|
+
# @return [String]
|
791
|
+
#
|
792
|
+
# @!attribute [rw] partition
|
793
|
+
# The AWS resource partition.
|
794
|
+
# @return [String]
|
795
|
+
#
|
796
|
+
# @!attribute [rw] region
|
797
|
+
# The AWS region where the activity occurred that prompted GuardDuty
|
798
|
+
# to generate a finding.
|
799
|
+
# @return [String]
|
800
|
+
#
|
801
|
+
# @!attribute [rw] resource
|
802
|
+
# The AWS resource associated with the activity that prompted
|
803
|
+
# GuardDuty to generate a finding.
|
804
|
+
# @return [Types::Resource]
|
805
|
+
#
|
806
|
+
# @!attribute [rw] schema_version
|
807
|
+
# Findings' schema version.
|
808
|
+
# @return [String]
|
809
|
+
#
|
810
|
+
# @!attribute [rw] service
|
811
|
+
# Additional information assigned to the generated finding by
|
812
|
+
# GuardDuty.
|
813
|
+
# @return [Types::Service]
|
814
|
+
#
|
815
|
+
# @!attribute [rw] severity
|
816
|
+
# The severity of a finding.
|
817
|
+
# @return [Float]
|
818
|
+
#
|
819
|
+
# @!attribute [rw] title
|
820
|
+
# The title of a finding.
|
821
|
+
# @return [String]
|
822
|
+
#
|
823
|
+
# @!attribute [rw] type
|
824
|
+
# The type of a finding described by the action.
|
825
|
+
# @return [String]
|
826
|
+
#
|
827
|
+
# @!attribute [rw] updated_at
|
828
|
+
# The time stamp at which a finding was last updated.
|
829
|
+
# @return [String]
|
830
|
+
#
|
831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Finding AWS API Documentation
|
832
|
+
#
|
833
|
+
class Finding < Struct.new(
|
834
|
+
:account_id,
|
835
|
+
:arn,
|
836
|
+
:confidence,
|
837
|
+
:created_at,
|
838
|
+
:description,
|
839
|
+
:id,
|
840
|
+
:partition,
|
841
|
+
:region,
|
842
|
+
:resource,
|
843
|
+
:schema_version,
|
844
|
+
:service,
|
845
|
+
:severity,
|
846
|
+
:title,
|
847
|
+
:type,
|
848
|
+
:updated_at)
|
849
|
+
include Aws::Structure
|
850
|
+
end
|
851
|
+
|
852
|
+
# Represents the criteria used for querying findings.
|
853
|
+
#
|
854
|
+
# @note When making an API call, you may pass FindingCriteria
|
855
|
+
# data as a hash:
|
856
|
+
#
|
857
|
+
# {
|
858
|
+
# criterion: {
|
859
|
+
# "__string" => {
|
860
|
+
# eq: ["__string"],
|
861
|
+
# gt: 1,
|
862
|
+
# gte: 1,
|
863
|
+
# lt: 1,
|
864
|
+
# lte: 1,
|
865
|
+
# neq: ["__string"],
|
866
|
+
# },
|
867
|
+
# },
|
868
|
+
# }
|
869
|
+
#
|
870
|
+
# @!attribute [rw] criterion
|
871
|
+
# Represents a map of finding properties that match specified
|
872
|
+
# conditions and values when querying findings.
|
873
|
+
# @return [Hash<String,Types::Condition>]
|
874
|
+
#
|
875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingCriteria AWS API Documentation
|
876
|
+
#
|
877
|
+
class FindingCriteria < Struct.new(
|
878
|
+
:criterion)
|
879
|
+
include Aws::Structure
|
880
|
+
end
|
881
|
+
|
882
|
+
# Finding statistics object.
|
883
|
+
#
|
884
|
+
# @!attribute [rw] count_by_severity
|
885
|
+
# Represents a map of severity to count statistic for a set of
|
886
|
+
# findings
|
887
|
+
# @return [Hash<String,Integer>]
|
888
|
+
#
|
889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingStatistics AWS API Documentation
|
890
|
+
#
|
891
|
+
class FindingStatistics < Struct.new(
|
892
|
+
:count_by_severity)
|
893
|
+
include Aws::Structure
|
894
|
+
end
|
895
|
+
|
896
|
+
# Location information of the remote IP address.
|
897
|
+
#
|
898
|
+
# @!attribute [rw] lat
|
899
|
+
# Latitude information of remote IP address.
|
900
|
+
# @return [Float]
|
901
|
+
#
|
902
|
+
# @!attribute [rw] lon
|
903
|
+
# Longitude information of remote IP address.
|
904
|
+
# @return [Float]
|
905
|
+
#
|
906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GeoLocation AWS API Documentation
|
907
|
+
#
|
908
|
+
class GeoLocation < Struct.new(
|
909
|
+
:lat,
|
910
|
+
:lon)
|
911
|
+
include Aws::Structure
|
912
|
+
end
|
913
|
+
|
914
|
+
# @note When making an API call, you may pass GetDetectorRequest
|
915
|
+
# data as a hash:
|
916
|
+
#
|
917
|
+
# {
|
918
|
+
# detector_id: "__string", # required
|
919
|
+
# }
|
920
|
+
#
|
921
|
+
# @!attribute [rw] detector_id
|
922
|
+
# @return [String]
|
923
|
+
#
|
924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorRequest AWS API Documentation
|
925
|
+
#
|
926
|
+
class GetDetectorRequest < Struct.new(
|
927
|
+
:detector_id)
|
928
|
+
include Aws::Structure
|
929
|
+
end
|
930
|
+
|
931
|
+
# GetDetector response object.
|
932
|
+
#
|
933
|
+
# @!attribute [rw] created_at
|
934
|
+
# The first time a resource was created. The format will be ISO-8601.
|
935
|
+
# @return [String]
|
936
|
+
#
|
937
|
+
# @!attribute [rw] service_role
|
938
|
+
# Customer serviceRole name or ARN for accessing customer resources
|
939
|
+
# @return [String]
|
940
|
+
#
|
941
|
+
# @!attribute [rw] status
|
942
|
+
# The status of detector.
|
943
|
+
# @return [String]
|
944
|
+
#
|
945
|
+
# @!attribute [rw] updated_at
|
946
|
+
# The first time a resource was created. The format will be ISO-8601.
|
947
|
+
# @return [String]
|
948
|
+
#
|
949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse AWS API Documentation
|
950
|
+
#
|
951
|
+
class GetDetectorResponse < Struct.new(
|
952
|
+
:created_at,
|
953
|
+
:service_role,
|
954
|
+
:status,
|
955
|
+
:updated_at)
|
956
|
+
include Aws::Structure
|
957
|
+
end
|
958
|
+
|
959
|
+
# Get Findings Request
|
960
|
+
#
|
961
|
+
# @note When making an API call, you may pass GetFindingsRequest
|
962
|
+
# data as a hash:
|
963
|
+
#
|
964
|
+
# {
|
965
|
+
# detector_id: "__string", # required
|
966
|
+
# finding_ids: ["FindingId"],
|
967
|
+
# sort_criteria: {
|
968
|
+
# attribute_name: "__string",
|
969
|
+
# order_by: "ASC", # accepts ASC, DESC
|
970
|
+
# },
|
971
|
+
# }
|
972
|
+
#
|
973
|
+
# @!attribute [rw] detector_id
|
974
|
+
# @return [String]
|
975
|
+
#
|
976
|
+
# @!attribute [rw] finding_ids
|
977
|
+
# IDs of the findings that you want to retrieve.
|
978
|
+
# @return [Array<String>]
|
979
|
+
#
|
980
|
+
# @!attribute [rw] sort_criteria
|
981
|
+
# Represents the criteria used for sorting findings.
|
982
|
+
# @return [Types::SortCriteria]
|
983
|
+
#
|
984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsRequest AWS API Documentation
|
985
|
+
#
|
986
|
+
class GetFindingsRequest < Struct.new(
|
987
|
+
:detector_id,
|
988
|
+
:finding_ids,
|
989
|
+
:sort_criteria)
|
990
|
+
include Aws::Structure
|
991
|
+
end
|
992
|
+
|
993
|
+
# GetFindings response object.
|
994
|
+
#
|
995
|
+
# @!attribute [rw] findings
|
996
|
+
# A list of findings.
|
997
|
+
# @return [Array<Types::Finding>]
|
998
|
+
#
|
999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsResponse AWS API Documentation
|
1000
|
+
#
|
1001
|
+
class GetFindingsResponse < Struct.new(
|
1002
|
+
:findings)
|
1003
|
+
include Aws::Structure
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# Get Findings Statistics Request
|
1007
|
+
#
|
1008
|
+
# @note When making an API call, you may pass GetFindingsStatisticsRequest
|
1009
|
+
# data as a hash:
|
1010
|
+
#
|
1011
|
+
# {
|
1012
|
+
# detector_id: "__string", # required
|
1013
|
+
# finding_criteria: {
|
1014
|
+
# criterion: {
|
1015
|
+
# "__string" => {
|
1016
|
+
# eq: ["__string"],
|
1017
|
+
# gt: 1,
|
1018
|
+
# gte: 1,
|
1019
|
+
# lt: 1,
|
1020
|
+
# lte: 1,
|
1021
|
+
# neq: ["__string"],
|
1022
|
+
# },
|
1023
|
+
# },
|
1024
|
+
# },
|
1025
|
+
# finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
|
1026
|
+
# }
|
1027
|
+
#
|
1028
|
+
# @!attribute [rw] detector_id
|
1029
|
+
# @return [String]
|
1030
|
+
#
|
1031
|
+
# @!attribute [rw] finding_criteria
|
1032
|
+
# Represents the criteria used for querying findings.
|
1033
|
+
# @return [Types::FindingCriteria]
|
1034
|
+
#
|
1035
|
+
# @!attribute [rw] finding_statistic_types
|
1036
|
+
# Types of finding statistics to retrieve.
|
1037
|
+
# @return [Array<String>]
|
1038
|
+
#
|
1039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsRequest AWS API Documentation
|
1040
|
+
#
|
1041
|
+
class GetFindingsStatisticsRequest < Struct.new(
|
1042
|
+
:detector_id,
|
1043
|
+
:finding_criteria,
|
1044
|
+
:finding_statistic_types)
|
1045
|
+
include Aws::Structure
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# GetFindingsStatistics response object.
|
1049
|
+
#
|
1050
|
+
# @!attribute [rw] finding_statistics
|
1051
|
+
# Finding statistics object.
|
1052
|
+
# @return [Types::FindingStatistics]
|
1053
|
+
#
|
1054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsResponse AWS API Documentation
|
1055
|
+
#
|
1056
|
+
class GetFindingsStatisticsResponse < Struct.new(
|
1057
|
+
:finding_statistics)
|
1058
|
+
include Aws::Structure
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# @note When making an API call, you may pass GetIPSetRequest
|
1062
|
+
# data as a hash:
|
1063
|
+
#
|
1064
|
+
# {
|
1065
|
+
# detector_id: "__string", # required
|
1066
|
+
# ip_set_id: "__string", # required
|
1067
|
+
# }
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] detector_id
|
1070
|
+
# @return [String]
|
1071
|
+
#
|
1072
|
+
# @!attribute [rw] ip_set_id
|
1073
|
+
# @return [String]
|
1074
|
+
#
|
1075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetRequest AWS API Documentation
|
1076
|
+
#
|
1077
|
+
class GetIPSetRequest < Struct.new(
|
1078
|
+
:detector_id,
|
1079
|
+
:ip_set_id)
|
1080
|
+
include Aws::Structure
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# GetIPSet response object.
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] format
|
1086
|
+
# The format of the file that contains the IPSet.
|
1087
|
+
# @return [String]
|
1088
|
+
#
|
1089
|
+
# @!attribute [rw] location
|
1090
|
+
# The URI of the file that contains the IPSet. For example
|
1091
|
+
# (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
|
1092
|
+
# @return [String]
|
1093
|
+
#
|
1094
|
+
# @!attribute [rw] name
|
1095
|
+
# The user friendly name to identify the IPSet. This name is displayed
|
1096
|
+
# in all findings that are triggered by activity that involves IP
|
1097
|
+
# addresses included in this IPSet.
|
1098
|
+
# @return [String]
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] status
|
1101
|
+
# The status of ipSet file uploaded.
|
1102
|
+
# @return [String]
|
1103
|
+
#
|
1104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetResponse AWS API Documentation
|
1105
|
+
#
|
1106
|
+
class GetIPSetResponse < Struct.new(
|
1107
|
+
:format,
|
1108
|
+
:location,
|
1109
|
+
:name,
|
1110
|
+
:status)
|
1111
|
+
include Aws::Structure
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# @api private
|
1115
|
+
#
|
1116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountRequest AWS API Documentation
|
1117
|
+
#
|
1118
|
+
class GetInvitationsCountRequest < Aws::EmptyStructure; end
|
1119
|
+
|
1120
|
+
# GetInvitationsCount response object.
|
1121
|
+
#
|
1122
|
+
# @!attribute [rw] invitations_count
|
1123
|
+
# The number of received invitations.
|
1124
|
+
# @return [Integer]
|
1125
|
+
#
|
1126
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountResponse AWS API Documentation
|
1127
|
+
#
|
1128
|
+
class GetInvitationsCountResponse < Struct.new(
|
1129
|
+
:invitations_count)
|
1130
|
+
include Aws::Structure
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
# @note When making an API call, you may pass GetMasterAccountRequest
|
1134
|
+
# data as a hash:
|
1135
|
+
#
|
1136
|
+
# {
|
1137
|
+
# detector_id: "__string", # required
|
1138
|
+
# }
|
1139
|
+
#
|
1140
|
+
# @!attribute [rw] detector_id
|
1141
|
+
# @return [String]
|
1142
|
+
#
|
1143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountRequest AWS API Documentation
|
1144
|
+
#
|
1145
|
+
class GetMasterAccountRequest < Struct.new(
|
1146
|
+
:detector_id)
|
1147
|
+
include Aws::Structure
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
# GetMasterAccount response object.
|
1151
|
+
#
|
1152
|
+
# @!attribute [rw] master
|
1153
|
+
# Contains details about the master account.
|
1154
|
+
# @return [Types::Master]
|
1155
|
+
#
|
1156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountResponse AWS API Documentation
|
1157
|
+
#
|
1158
|
+
class GetMasterAccountResponse < Struct.new(
|
1159
|
+
:master)
|
1160
|
+
include Aws::Structure
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
# GetMembers request body.
|
1164
|
+
#
|
1165
|
+
# @note When making an API call, you may pass GetMembersRequest
|
1166
|
+
# data as a hash:
|
1167
|
+
#
|
1168
|
+
# {
|
1169
|
+
# account_ids: ["__string"],
|
1170
|
+
# detector_id: "__string", # required
|
1171
|
+
# }
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] account_ids
|
1174
|
+
# A list of account IDs of the GuardDuty member accounts that you want
|
1175
|
+
# to describe.
|
1176
|
+
# @return [Array<String>]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] detector_id
|
1179
|
+
# @return [String]
|
1180
|
+
#
|
1181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersRequest AWS API Documentation
|
1182
|
+
#
|
1183
|
+
class GetMembersRequest < Struct.new(
|
1184
|
+
:account_ids,
|
1185
|
+
:detector_id)
|
1186
|
+
include Aws::Structure
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# GetMembers response object.
|
1190
|
+
#
|
1191
|
+
# @!attribute [rw] members
|
1192
|
+
# A list of member descriptions.
|
1193
|
+
# @return [Array<Types::Member>]
|
1194
|
+
#
|
1195
|
+
# @!attribute [rw] unprocessed_accounts
|
1196
|
+
# A list of objects containing the unprocessed account and a result
|
1197
|
+
# string explaining why it was unprocessed.
|
1198
|
+
# @return [Array<Types::UnprocessedAccount>]
|
1199
|
+
#
|
1200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersResponse AWS API Documentation
|
1201
|
+
#
|
1202
|
+
class GetMembersResponse < Struct.new(
|
1203
|
+
:members,
|
1204
|
+
:unprocessed_accounts)
|
1205
|
+
include Aws::Structure
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# @note When making an API call, you may pass GetThreatIntelSetRequest
|
1209
|
+
# data as a hash:
|
1210
|
+
#
|
1211
|
+
# {
|
1212
|
+
# detector_id: "__string", # required
|
1213
|
+
# threat_intel_set_id: "__string", # required
|
1214
|
+
# }
|
1215
|
+
#
|
1216
|
+
# @!attribute [rw] detector_id
|
1217
|
+
# @return [String]
|
1218
|
+
#
|
1219
|
+
# @!attribute [rw] threat_intel_set_id
|
1220
|
+
# @return [String]
|
1221
|
+
#
|
1222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetRequest AWS API Documentation
|
1223
|
+
#
|
1224
|
+
class GetThreatIntelSetRequest < Struct.new(
|
1225
|
+
:detector_id,
|
1226
|
+
:threat_intel_set_id)
|
1227
|
+
include Aws::Structure
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
# GetThreatIntelSet response object
|
1231
|
+
#
|
1232
|
+
# @!attribute [rw] format
|
1233
|
+
# The format of the threatIntelSet.
|
1234
|
+
# @return [String]
|
1235
|
+
#
|
1236
|
+
# @!attribute [rw] location
|
1237
|
+
# The URI of the file that contains the ThreatIntelSet. For example
|
1238
|
+
# (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
|
1239
|
+
# @return [String]
|
1240
|
+
#
|
1241
|
+
# @!attribute [rw] name
|
1242
|
+
# A user-friendly ThreatIntelSet name that is displayed in all finding
|
1243
|
+
# generated by activity that involves IP addresses included in this
|
1244
|
+
# ThreatIntelSet.
|
1245
|
+
# @return [String]
|
1246
|
+
#
|
1247
|
+
# @!attribute [rw] status
|
1248
|
+
# The status of threatIntelSet file uploaded.
|
1249
|
+
# @return [String]
|
1250
|
+
#
|
1251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetResponse AWS API Documentation
|
1252
|
+
#
|
1253
|
+
class GetThreatIntelSetResponse < Struct.new(
|
1254
|
+
:format,
|
1255
|
+
:location,
|
1256
|
+
:name,
|
1257
|
+
:status)
|
1258
|
+
include Aws::Structure
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# The profile information of the EC2 instance.
|
1262
|
+
#
|
1263
|
+
# @!attribute [rw] arn
|
1264
|
+
# AWS EC2 instance profile ARN.
|
1265
|
+
# @return [String]
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] id
|
1268
|
+
# AWS EC2 instance profile ID.
|
1269
|
+
# @return [String]
|
1270
|
+
#
|
1271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/IamInstanceProfile AWS API Documentation
|
1272
|
+
#
|
1273
|
+
class IamInstanceProfile < Struct.new(
|
1274
|
+
:arn,
|
1275
|
+
:id)
|
1276
|
+
include Aws::Structure
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
# The information about the EC2 instance associated with the activity
|
1280
|
+
# that prompted GuardDuty to generate a finding.
|
1281
|
+
#
|
1282
|
+
# @!attribute [rw] availability_zone
|
1283
|
+
# The availability zone of the EC2 instance.
|
1284
|
+
# @return [String]
|
1285
|
+
#
|
1286
|
+
# @!attribute [rw] iam_instance_profile
|
1287
|
+
# The profile information of the EC2 instance.
|
1288
|
+
# @return [Types::IamInstanceProfile]
|
1289
|
+
#
|
1290
|
+
# @!attribute [rw] image_id
|
1291
|
+
# The image ID of the EC2 instance.
|
1292
|
+
# @return [String]
|
1293
|
+
#
|
1294
|
+
# @!attribute [rw] instance_id
|
1295
|
+
# The ID of the EC2 instance.
|
1296
|
+
# @return [String]
|
1297
|
+
#
|
1298
|
+
# @!attribute [rw] instance_state
|
1299
|
+
# The state of the EC2 instance.
|
1300
|
+
# @return [String]
|
1301
|
+
#
|
1302
|
+
# @!attribute [rw] instance_type
|
1303
|
+
# The type of the EC2 instance.
|
1304
|
+
# @return [String]
|
1305
|
+
#
|
1306
|
+
# @!attribute [rw] launch_time
|
1307
|
+
# The launch time of the EC2 instance.
|
1308
|
+
# @return [String]
|
1309
|
+
#
|
1310
|
+
# @!attribute [rw] network_interfaces
|
1311
|
+
# The network interface information of the EC2 instance.
|
1312
|
+
# @return [Array<Types::NetworkInterface>]
|
1313
|
+
#
|
1314
|
+
# @!attribute [rw] platform
|
1315
|
+
# The platform of the EC2 instance.
|
1316
|
+
# @return [String]
|
1317
|
+
#
|
1318
|
+
# @!attribute [rw] product_codes
|
1319
|
+
# The product code of the EC2 instance.
|
1320
|
+
# @return [Array<Types::ProductCode>]
|
1321
|
+
#
|
1322
|
+
# @!attribute [rw] tags
|
1323
|
+
# The tags of the EC2 instance.
|
1324
|
+
# @return [Array<Types::Tag>]
|
1325
|
+
#
|
1326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InstanceDetails AWS API Documentation
|
1327
|
+
#
|
1328
|
+
class InstanceDetails < Struct.new(
|
1329
|
+
:availability_zone,
|
1330
|
+
:iam_instance_profile,
|
1331
|
+
:image_id,
|
1332
|
+
:instance_id,
|
1333
|
+
:instance_state,
|
1334
|
+
:instance_type,
|
1335
|
+
:launch_time,
|
1336
|
+
:network_interfaces,
|
1337
|
+
:platform,
|
1338
|
+
:product_codes,
|
1339
|
+
:tags)
|
1340
|
+
include Aws::Structure
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
# Invitation from an AWS account to become the current account's
|
1344
|
+
# master.
|
1345
|
+
#
|
1346
|
+
# @!attribute [rw] account_id
|
1347
|
+
# Inviter account ID
|
1348
|
+
# @return [String]
|
1349
|
+
#
|
1350
|
+
# @!attribute [rw] invitation_id
|
1351
|
+
# This value is used to validate the inviter account to the member
|
1352
|
+
# account.
|
1353
|
+
# @return [String]
|
1354
|
+
#
|
1355
|
+
# @!attribute [rw] invited_at
|
1356
|
+
# Timestamp at which the invitation was sent
|
1357
|
+
# @return [String]
|
1358
|
+
#
|
1359
|
+
# @!attribute [rw] relationship_status
|
1360
|
+
# The status of the relationship between the inviter and invitee
|
1361
|
+
# accounts.
|
1362
|
+
# @return [String]
|
1363
|
+
#
|
1364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Invitation AWS API Documentation
|
1365
|
+
#
|
1366
|
+
class Invitation < Struct.new(
|
1367
|
+
:account_id,
|
1368
|
+
:invitation_id,
|
1369
|
+
:invited_at,
|
1370
|
+
:relationship_status)
|
1371
|
+
include Aws::Structure
|
1372
|
+
end
|
1373
|
+
|
1374
|
+
# InviteMembers request body.
|
1375
|
+
#
|
1376
|
+
# @note When making an API call, you may pass InviteMembersRequest
|
1377
|
+
# data as a hash:
|
1378
|
+
#
|
1379
|
+
# {
|
1380
|
+
# account_ids: ["__string"],
|
1381
|
+
# detector_id: "__string", # required
|
1382
|
+
# message: "Message",
|
1383
|
+
# }
|
1384
|
+
#
|
1385
|
+
# @!attribute [rw] account_ids
|
1386
|
+
# A list of account IDs of the accounts that you want to invite to
|
1387
|
+
# GuardDuty as members.
|
1388
|
+
# @return [Array<String>]
|
1389
|
+
#
|
1390
|
+
# @!attribute [rw] detector_id
|
1391
|
+
# @return [String]
|
1392
|
+
#
|
1393
|
+
# @!attribute [rw] message
|
1394
|
+
# The invitation message that you want to send to the accounts that
|
1395
|
+
# you're inviting to GuardDuty as members.
|
1396
|
+
# @return [String]
|
1397
|
+
#
|
1398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest AWS API Documentation
|
1399
|
+
#
|
1400
|
+
class InviteMembersRequest < Struct.new(
|
1401
|
+
:account_ids,
|
1402
|
+
:detector_id,
|
1403
|
+
:message)
|
1404
|
+
include Aws::Structure
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# InviteMembers response object.
|
1408
|
+
#
|
1409
|
+
# @!attribute [rw] unprocessed_accounts
|
1410
|
+
# A list of objects containing the unprocessed account and a result
|
1411
|
+
# string explaining why it was unprocessed.
|
1412
|
+
# @return [Array<Types::UnprocessedAccount>]
|
1413
|
+
#
|
1414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersResponse AWS API Documentation
|
1415
|
+
#
|
1416
|
+
class InviteMembersResponse < Struct.new(
|
1417
|
+
:unprocessed_accounts)
|
1418
|
+
include Aws::Structure
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# @note When making an API call, you may pass ListDetectorsRequest
|
1422
|
+
# data as a hash:
|
1423
|
+
#
|
1424
|
+
# {
|
1425
|
+
# max_results: 1,
|
1426
|
+
# next_token: "__string",
|
1427
|
+
# }
|
1428
|
+
#
|
1429
|
+
# @!attribute [rw] max_results
|
1430
|
+
# You can use this parameter to indicate the maximum number of items
|
1431
|
+
# that you want in the response.
|
1432
|
+
# @return [Integer]
|
1433
|
+
#
|
1434
|
+
# @!attribute [rw] next_token
|
1435
|
+
# @return [String]
|
1436
|
+
#
|
1437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsRequest AWS API Documentation
|
1438
|
+
#
|
1439
|
+
class ListDetectorsRequest < Struct.new(
|
1440
|
+
:max_results,
|
1441
|
+
:next_token)
|
1442
|
+
include Aws::Structure
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
# ListDetectors response object.
|
1446
|
+
#
|
1447
|
+
# @!attribute [rw] detector_ids
|
1448
|
+
# A list of detector Ids.
|
1449
|
+
# @return [Array<String>]
|
1450
|
+
#
|
1451
|
+
# @!attribute [rw] next_token
|
1452
|
+
# You can use this parameter when paginating results. Set the value of
|
1453
|
+
# this parameter to null on your first call to the list action. For
|
1454
|
+
# subsequent calls to the action fill nextToken in the request with
|
1455
|
+
# the value of NextToken from the previous response to continue
|
1456
|
+
# listing data.
|
1457
|
+
# @return [String]
|
1458
|
+
#
|
1459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsResponse AWS API Documentation
|
1460
|
+
#
|
1461
|
+
class ListDetectorsResponse < Struct.new(
|
1462
|
+
:detector_ids,
|
1463
|
+
:next_token)
|
1464
|
+
include Aws::Structure
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
# List Findings Request
|
1468
|
+
#
|
1469
|
+
# @note When making an API call, you may pass ListFindingsRequest
|
1470
|
+
# data as a hash:
|
1471
|
+
#
|
1472
|
+
# {
|
1473
|
+
# detector_id: "__string", # required
|
1474
|
+
# finding_criteria: {
|
1475
|
+
# criterion: {
|
1476
|
+
# "__string" => {
|
1477
|
+
# eq: ["__string"],
|
1478
|
+
# gt: 1,
|
1479
|
+
# gte: 1,
|
1480
|
+
# lt: 1,
|
1481
|
+
# lte: 1,
|
1482
|
+
# neq: ["__string"],
|
1483
|
+
# },
|
1484
|
+
# },
|
1485
|
+
# },
|
1486
|
+
# max_results: 1,
|
1487
|
+
# next_token: "NextToken",
|
1488
|
+
# sort_criteria: {
|
1489
|
+
# attribute_name: "__string",
|
1490
|
+
# order_by: "ASC", # accepts ASC, DESC
|
1491
|
+
# },
|
1492
|
+
# }
|
1493
|
+
#
|
1494
|
+
# @!attribute [rw] detector_id
|
1495
|
+
# @return [String]
|
1496
|
+
#
|
1497
|
+
# @!attribute [rw] finding_criteria
|
1498
|
+
# Represents the criteria used for querying findings.
|
1499
|
+
# @return [Types::FindingCriteria]
|
1500
|
+
#
|
1501
|
+
# @!attribute [rw] max_results
|
1502
|
+
# You can use this parameter to indicate the maximum number of items
|
1503
|
+
# you want in the response. The default value is 50. The maximum value
|
1504
|
+
# is 50.
|
1505
|
+
# @return [Integer]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] next_token
|
1508
|
+
# You can use this parameter when paginating results. Set the value of
|
1509
|
+
# this parameter to null on your first call to the ListFindings
|
1510
|
+
# action. For subsequent calls to the action fill nextToken in the
|
1511
|
+
# request with the value of nextToken from the previous response to
|
1512
|
+
# continue listing data.
|
1513
|
+
# @return [String]
|
1514
|
+
#
|
1515
|
+
# @!attribute [rw] sort_criteria
|
1516
|
+
# Represents the criteria used for sorting findings.
|
1517
|
+
# @return [Types::SortCriteria]
|
1518
|
+
#
|
1519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsRequest AWS API Documentation
|
1520
|
+
#
|
1521
|
+
class ListFindingsRequest < Struct.new(
|
1522
|
+
:detector_id,
|
1523
|
+
:finding_criteria,
|
1524
|
+
:max_results,
|
1525
|
+
:next_token,
|
1526
|
+
:sort_criteria)
|
1527
|
+
include Aws::Structure
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
# ListFindings response object.
|
1531
|
+
#
|
1532
|
+
# @!attribute [rw] finding_ids
|
1533
|
+
# The list of the Findings.
|
1534
|
+
# @return [Array<String>]
|
1535
|
+
#
|
1536
|
+
# @!attribute [rw] next_token
|
1537
|
+
# You can use this parameter when paginating results. Set the value of
|
1538
|
+
# this parameter to null on your first call to the list action. For
|
1539
|
+
# subsequent calls to the action fill nextToken in the request with
|
1540
|
+
# the value of NextToken from the previous response to continue
|
1541
|
+
# listing data.
|
1542
|
+
# @return [String]
|
1543
|
+
#
|
1544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsResponse AWS API Documentation
|
1545
|
+
#
|
1546
|
+
class ListFindingsResponse < Struct.new(
|
1547
|
+
:finding_ids,
|
1548
|
+
:next_token)
|
1549
|
+
include Aws::Structure
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
# @note When making an API call, you may pass ListIPSetsRequest
|
1553
|
+
# data as a hash:
|
1554
|
+
#
|
1555
|
+
# {
|
1556
|
+
# detector_id: "__string", # required
|
1557
|
+
# max_results: 1,
|
1558
|
+
# next_token: "__string",
|
1559
|
+
# }
|
1560
|
+
#
|
1561
|
+
# @!attribute [rw] detector_id
|
1562
|
+
# @return [String]
|
1563
|
+
#
|
1564
|
+
# @!attribute [rw] max_results
|
1565
|
+
# You can use this parameter to indicate the maximum number of items
|
1566
|
+
# that you want in the response.
|
1567
|
+
# @return [Integer]
|
1568
|
+
#
|
1569
|
+
# @!attribute [rw] next_token
|
1570
|
+
# @return [String]
|
1571
|
+
#
|
1572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsRequest AWS API Documentation
|
1573
|
+
#
|
1574
|
+
class ListIPSetsRequest < Struct.new(
|
1575
|
+
:detector_id,
|
1576
|
+
:max_results,
|
1577
|
+
:next_token)
|
1578
|
+
include Aws::Structure
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
# ListIPSets response object.
|
1582
|
+
#
|
1583
|
+
# @!attribute [rw] ip_set_ids
|
1584
|
+
# A list of the IP set IDs
|
1585
|
+
# @return [Array<String>]
|
1586
|
+
#
|
1587
|
+
# @!attribute [rw] next_token
|
1588
|
+
# You can use this parameter when paginating results. Set the value of
|
1589
|
+
# this parameter to null on your first call to the list action. For
|
1590
|
+
# subsequent calls to the action fill nextToken in the request with
|
1591
|
+
# the value of NextToken from the previous response to continue
|
1592
|
+
# listing data.
|
1593
|
+
# @return [String]
|
1594
|
+
#
|
1595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsResponse AWS API Documentation
|
1596
|
+
#
|
1597
|
+
class ListIPSetsResponse < Struct.new(
|
1598
|
+
:ip_set_ids,
|
1599
|
+
:next_token)
|
1600
|
+
include Aws::Structure
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
# @note When making an API call, you may pass ListInvitationsRequest
|
1604
|
+
# data as a hash:
|
1605
|
+
#
|
1606
|
+
# {
|
1607
|
+
# max_results: 1,
|
1608
|
+
# next_token: "__string",
|
1609
|
+
# }
|
1610
|
+
#
|
1611
|
+
# @!attribute [rw] max_results
|
1612
|
+
# You can use this parameter to indicate the maximum number of items
|
1613
|
+
# that you want in the response.
|
1614
|
+
# @return [Integer]
|
1615
|
+
#
|
1616
|
+
# @!attribute [rw] next_token
|
1617
|
+
# @return [String]
|
1618
|
+
#
|
1619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsRequest AWS API Documentation
|
1620
|
+
#
|
1621
|
+
class ListInvitationsRequest < Struct.new(
|
1622
|
+
:max_results,
|
1623
|
+
:next_token)
|
1624
|
+
include Aws::Structure
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# ListInvitations response object.
|
1628
|
+
#
|
1629
|
+
# @!attribute [rw] invitations
|
1630
|
+
# A list of invitation descriptions.
|
1631
|
+
# @return [Array<Types::Invitation>]
|
1632
|
+
#
|
1633
|
+
# @!attribute [rw] next_token
|
1634
|
+
# You can use this parameter when paginating results. Set the value of
|
1635
|
+
# this parameter to null on your first call to the list action. For
|
1636
|
+
# subsequent calls to the action fill nextToken in the request with
|
1637
|
+
# the value of NextToken from the previous response to continue
|
1638
|
+
# listing data.
|
1639
|
+
# @return [String]
|
1640
|
+
#
|
1641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsResponse AWS API Documentation
|
1642
|
+
#
|
1643
|
+
class ListInvitationsResponse < Struct.new(
|
1644
|
+
:invitations,
|
1645
|
+
:next_token)
|
1646
|
+
include Aws::Structure
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
# @note When making an API call, you may pass ListMembersRequest
|
1650
|
+
# data as a hash:
|
1651
|
+
#
|
1652
|
+
# {
|
1653
|
+
# detector_id: "__string", # required
|
1654
|
+
# max_results: 1,
|
1655
|
+
# next_token: "__string",
|
1656
|
+
# only_associated: "__string",
|
1657
|
+
# }
|
1658
|
+
#
|
1659
|
+
# @!attribute [rw] detector_id
|
1660
|
+
# @return [String]
|
1661
|
+
#
|
1662
|
+
# @!attribute [rw] max_results
|
1663
|
+
# You can use this parameter to indicate the maximum number of items
|
1664
|
+
# that you want in the response.
|
1665
|
+
# @return [Integer]
|
1666
|
+
#
|
1667
|
+
# @!attribute [rw] next_token
|
1668
|
+
# @return [String]
|
1669
|
+
#
|
1670
|
+
# @!attribute [rw] only_associated
|
1671
|
+
# @return [String]
|
1672
|
+
#
|
1673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest AWS API Documentation
|
1674
|
+
#
|
1675
|
+
class ListMembersRequest < Struct.new(
|
1676
|
+
:detector_id,
|
1677
|
+
:max_results,
|
1678
|
+
:next_token,
|
1679
|
+
:only_associated)
|
1680
|
+
include Aws::Structure
|
1681
|
+
end
|
1682
|
+
|
1683
|
+
# ListMembers response object.
|
1684
|
+
#
|
1685
|
+
# @!attribute [rw] members
|
1686
|
+
# A list of member descriptions.
|
1687
|
+
# @return [Array<Types::Member>]
|
1688
|
+
#
|
1689
|
+
# @!attribute [rw] next_token
|
1690
|
+
# You can use this parameter when paginating results. Set the value of
|
1691
|
+
# this parameter to null on your first call to the list action. For
|
1692
|
+
# subsequent calls to the action fill nextToken in the request with
|
1693
|
+
# the value of NextToken from the previous response to continue
|
1694
|
+
# listing data.
|
1695
|
+
# @return [String]
|
1696
|
+
#
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersResponse AWS API Documentation
|
1698
|
+
#
|
1699
|
+
class ListMembersResponse < Struct.new(
|
1700
|
+
:members,
|
1701
|
+
:next_token)
|
1702
|
+
include Aws::Structure
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# @note When making an API call, you may pass ListThreatIntelSetsRequest
|
1706
|
+
# data as a hash:
|
1707
|
+
#
|
1708
|
+
# {
|
1709
|
+
# detector_id: "__string", # required
|
1710
|
+
# max_results: 1,
|
1711
|
+
# next_token: "__string",
|
1712
|
+
# }
|
1713
|
+
#
|
1714
|
+
# @!attribute [rw] detector_id
|
1715
|
+
# @return [String]
|
1716
|
+
#
|
1717
|
+
# @!attribute [rw] max_results
|
1718
|
+
# You can use this parameter to indicate the maximum number of items
|
1719
|
+
# that you want in the response.
|
1720
|
+
# @return [Integer]
|
1721
|
+
#
|
1722
|
+
# @!attribute [rw] next_token
|
1723
|
+
# @return [String]
|
1724
|
+
#
|
1725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsRequest AWS API Documentation
|
1726
|
+
#
|
1727
|
+
class ListThreatIntelSetsRequest < Struct.new(
|
1728
|
+
:detector_id,
|
1729
|
+
:max_results,
|
1730
|
+
:next_token)
|
1731
|
+
include Aws::Structure
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
# ListThreatIntelSets response object.
|
1735
|
+
#
|
1736
|
+
# @!attribute [rw] next_token
|
1737
|
+
# You can use this parameter when paginating results. Set the value of
|
1738
|
+
# this parameter to null on your first call to the list action. For
|
1739
|
+
# subsequent calls to the action fill nextToken in the request with
|
1740
|
+
# the value of NextToken from the previous response to continue
|
1741
|
+
# listing data.
|
1742
|
+
# @return [String]
|
1743
|
+
#
|
1744
|
+
# @!attribute [rw] threat_intel_set_ids
|
1745
|
+
# The list of the threat intel set IDs
|
1746
|
+
# @return [Array<String>]
|
1747
|
+
#
|
1748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsResponse AWS API Documentation
|
1749
|
+
#
|
1750
|
+
class ListThreatIntelSetsResponse < Struct.new(
|
1751
|
+
:next_token,
|
1752
|
+
:threat_intel_set_ids)
|
1753
|
+
include Aws::Structure
|
1754
|
+
end
|
1755
|
+
|
1756
|
+
# Local port information of the connection.
|
1757
|
+
#
|
1758
|
+
# @!attribute [rw] port
|
1759
|
+
# Port number of the local connection.
|
1760
|
+
# @return [Integer]
|
1761
|
+
#
|
1762
|
+
# @!attribute [rw] port_name
|
1763
|
+
# Port name of the local connection.
|
1764
|
+
# @return [String]
|
1765
|
+
#
|
1766
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LocalPortDetails AWS API Documentation
|
1767
|
+
#
|
1768
|
+
class LocalPortDetails < Struct.new(
|
1769
|
+
:port,
|
1770
|
+
:port_name)
|
1771
|
+
include Aws::Structure
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
# Contains details about the master account.
|
1775
|
+
#
|
1776
|
+
# @!attribute [rw] account_id
|
1777
|
+
# Master account ID
|
1778
|
+
# @return [String]
|
1779
|
+
#
|
1780
|
+
# @!attribute [rw] invitation_id
|
1781
|
+
# This value is used to validate the master account to the member
|
1782
|
+
# account.
|
1783
|
+
# @return [String]
|
1784
|
+
#
|
1785
|
+
# @!attribute [rw] invited_at
|
1786
|
+
# Timestamp at which the invitation was sent
|
1787
|
+
# @return [String]
|
1788
|
+
#
|
1789
|
+
# @!attribute [rw] relationship_status
|
1790
|
+
# The status of the relationship between the master and member
|
1791
|
+
# accounts.
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Master AWS API Documentation
|
1795
|
+
#
|
1796
|
+
class Master < Struct.new(
|
1797
|
+
:account_id,
|
1798
|
+
:invitation_id,
|
1799
|
+
:invited_at,
|
1800
|
+
:relationship_status)
|
1801
|
+
include Aws::Structure
|
1802
|
+
end
|
1803
|
+
|
1804
|
+
# Contains details about the member account.
|
1805
|
+
#
|
1806
|
+
# @!attribute [rw] account_id
|
1807
|
+
# AWS account ID.
|
1808
|
+
# @return [String]
|
1809
|
+
#
|
1810
|
+
# @!attribute [rw] detector_id
|
1811
|
+
# The unique identifier for a detector.
|
1812
|
+
# @return [String]
|
1813
|
+
#
|
1814
|
+
# @!attribute [rw] email
|
1815
|
+
# Member account's email address.
|
1816
|
+
# @return [String]
|
1817
|
+
#
|
1818
|
+
# @!attribute [rw] invited_at
|
1819
|
+
# Timestamp at which the invitation was sent
|
1820
|
+
# @return [String]
|
1821
|
+
#
|
1822
|
+
# @!attribute [rw] master_id
|
1823
|
+
# The master account ID.
|
1824
|
+
# @return [String]
|
1825
|
+
#
|
1826
|
+
# @!attribute [rw] relationship_status
|
1827
|
+
# The status of the relationship between the member and the master.
|
1828
|
+
# @return [String]
|
1829
|
+
#
|
1830
|
+
# @!attribute [rw] updated_at
|
1831
|
+
# The first time a resource was created. The format will be ISO-8601.
|
1832
|
+
# @return [String]
|
1833
|
+
#
|
1834
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Member AWS API Documentation
|
1835
|
+
#
|
1836
|
+
class Member < Struct.new(
|
1837
|
+
:account_id,
|
1838
|
+
:detector_id,
|
1839
|
+
:email,
|
1840
|
+
:invited_at,
|
1841
|
+
:master_id,
|
1842
|
+
:relationship_status,
|
1843
|
+
:updated_at)
|
1844
|
+
include Aws::Structure
|
1845
|
+
end
|
1846
|
+
|
1847
|
+
# Information about the NETWORK\_CONNECTION action described in this
|
1848
|
+
# finding.
|
1849
|
+
#
|
1850
|
+
# @!attribute [rw] blocked
|
1851
|
+
# Network connection blocked information.
|
1852
|
+
# @return [Boolean]
|
1853
|
+
#
|
1854
|
+
# @!attribute [rw] connection_direction
|
1855
|
+
# Network connection direction.
|
1856
|
+
# @return [String]
|
1857
|
+
#
|
1858
|
+
# @!attribute [rw] local_port_details
|
1859
|
+
# Local port information of the connection.
|
1860
|
+
# @return [Types::LocalPortDetails]
|
1861
|
+
#
|
1862
|
+
# @!attribute [rw] protocol
|
1863
|
+
# Network connection protocol.
|
1864
|
+
# @return [String]
|
1865
|
+
#
|
1866
|
+
# @!attribute [rw] remote_ip_details
|
1867
|
+
# Remote IP information of the connection.
|
1868
|
+
# @return [Types::RemoteIpDetails]
|
1869
|
+
#
|
1870
|
+
# @!attribute [rw] remote_port_details
|
1871
|
+
# Remote port information of the connection.
|
1872
|
+
# @return [Types::RemotePortDetails]
|
1873
|
+
#
|
1874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkConnectionAction AWS API Documentation
|
1875
|
+
#
|
1876
|
+
class NetworkConnectionAction < Struct.new(
|
1877
|
+
:blocked,
|
1878
|
+
:connection_direction,
|
1879
|
+
:local_port_details,
|
1880
|
+
:protocol,
|
1881
|
+
:remote_ip_details,
|
1882
|
+
:remote_port_details)
|
1883
|
+
include Aws::Structure
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# The network interface information of the EC2 instance.
|
1887
|
+
#
|
1888
|
+
# @!attribute [rw] ipv_6_addresses
|
1889
|
+
# A list of EC2 instance IPv6 address information.
|
1890
|
+
# @return [Array<String>]
|
1891
|
+
#
|
1892
|
+
# @!attribute [rw] private_dns_name
|
1893
|
+
# Private DNS name of the EC2 instance.
|
1894
|
+
# @return [String]
|
1895
|
+
#
|
1896
|
+
# @!attribute [rw] private_ip_address
|
1897
|
+
# Private IP address of the EC2 instance.
|
1898
|
+
# @return [String]
|
1899
|
+
#
|
1900
|
+
# @!attribute [rw] private_ip_addresses
|
1901
|
+
# Other private IP address information of the EC2 instance.
|
1902
|
+
# @return [Array<Types::PrivateIpAddressDetails>]
|
1903
|
+
#
|
1904
|
+
# @!attribute [rw] public_dns_name
|
1905
|
+
# Public DNS name of the EC2 instance.
|
1906
|
+
# @return [String]
|
1907
|
+
#
|
1908
|
+
# @!attribute [rw] public_ip
|
1909
|
+
# Public IP address of the EC2 instance.
|
1910
|
+
# @return [String]
|
1911
|
+
#
|
1912
|
+
# @!attribute [rw] security_groups
|
1913
|
+
# Security groups associated with the EC2 instance.
|
1914
|
+
# @return [Array<Types::SecurityGroup>]
|
1915
|
+
#
|
1916
|
+
# @!attribute [rw] subnet_id
|
1917
|
+
# The subnet ID of the EC2 instance.
|
1918
|
+
# @return [String]
|
1919
|
+
#
|
1920
|
+
# @!attribute [rw] vpc_id
|
1921
|
+
# The VPC ID of the EC2 instance.
|
1922
|
+
# @return [String]
|
1923
|
+
#
|
1924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkInterface AWS API Documentation
|
1925
|
+
#
|
1926
|
+
class NetworkInterface < Struct.new(
|
1927
|
+
:ipv_6_addresses,
|
1928
|
+
:private_dns_name,
|
1929
|
+
:private_ip_address,
|
1930
|
+
:private_ip_addresses,
|
1931
|
+
:public_dns_name,
|
1932
|
+
:public_ip,
|
1933
|
+
:security_groups,
|
1934
|
+
:subnet_id,
|
1935
|
+
:vpc_id)
|
1936
|
+
include Aws::Structure
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
# ISP Organization information of the remote IP address.
|
1940
|
+
#
|
1941
|
+
# @!attribute [rw] asn
|
1942
|
+
# Autonomous system number of the internet provider of the remote IP
|
1943
|
+
# address.
|
1944
|
+
# @return [String]
|
1945
|
+
#
|
1946
|
+
# @!attribute [rw] asn_org
|
1947
|
+
# Organization that registered this ASN.
|
1948
|
+
# @return [String]
|
1949
|
+
#
|
1950
|
+
# @!attribute [rw] isp
|
1951
|
+
# ISP information for the internet provider.
|
1952
|
+
# @return [String]
|
1953
|
+
#
|
1954
|
+
# @!attribute [rw] org
|
1955
|
+
# Name of the internet provider.
|
1956
|
+
# @return [String]
|
1957
|
+
#
|
1958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Organization AWS API Documentation
|
1959
|
+
#
|
1960
|
+
class Organization < Struct.new(
|
1961
|
+
:asn,
|
1962
|
+
:asn_org,
|
1963
|
+
:isp,
|
1964
|
+
:org)
|
1965
|
+
include Aws::Structure
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Other private IP address information of the EC2 instance.
|
1969
|
+
#
|
1970
|
+
# @!attribute [rw] private_dns_name
|
1971
|
+
# Private DNS name of the EC2 instance.
|
1972
|
+
# @return [String]
|
1973
|
+
#
|
1974
|
+
# @!attribute [rw] private_ip_address
|
1975
|
+
# Private IP address of the EC2 instance.
|
1976
|
+
# @return [String]
|
1977
|
+
#
|
1978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PrivateIpAddressDetails AWS API Documentation
|
1979
|
+
#
|
1980
|
+
class PrivateIpAddressDetails < Struct.new(
|
1981
|
+
:private_dns_name,
|
1982
|
+
:private_ip_address)
|
1983
|
+
include Aws::Structure
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# The product code of the EC2 instance.
|
1987
|
+
#
|
1988
|
+
# @!attribute [rw] code
|
1989
|
+
# Product code information.
|
1990
|
+
# @return [String]
|
1991
|
+
#
|
1992
|
+
# @!attribute [rw] product_type
|
1993
|
+
# Product code type.
|
1994
|
+
# @return [String]
|
1995
|
+
#
|
1996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProductCode AWS API Documentation
|
1997
|
+
#
|
1998
|
+
class ProductCode < Struct.new(
|
1999
|
+
:code,
|
2000
|
+
:product_type)
|
2001
|
+
include Aws::Structure
|
2002
|
+
end
|
2003
|
+
|
2004
|
+
# Remote IP information of the connection.
|
2005
|
+
#
|
2006
|
+
# @!attribute [rw] city
|
2007
|
+
# City information of the remote IP address.
|
2008
|
+
# @return [Types::City]
|
2009
|
+
#
|
2010
|
+
# @!attribute [rw] country
|
2011
|
+
# Country code of the remote IP address.
|
2012
|
+
# @return [Types::Country]
|
2013
|
+
#
|
2014
|
+
# @!attribute [rw] geo_location
|
2015
|
+
# Location information of the remote IP address.
|
2016
|
+
# @return [Types::GeoLocation]
|
2017
|
+
#
|
2018
|
+
# @!attribute [rw] ip_address_v4
|
2019
|
+
# IPV4 remote address of the connection.
|
2020
|
+
# @return [String]
|
2021
|
+
#
|
2022
|
+
# @!attribute [rw] organization
|
2023
|
+
# ISP Organization information of the remote IP address.
|
2024
|
+
# @return [Types::Organization]
|
2025
|
+
#
|
2026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemoteIpDetails AWS API Documentation
|
2027
|
+
#
|
2028
|
+
class RemoteIpDetails < Struct.new(
|
2029
|
+
:city,
|
2030
|
+
:country,
|
2031
|
+
:geo_location,
|
2032
|
+
:ip_address_v4,
|
2033
|
+
:organization)
|
2034
|
+
include Aws::Structure
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
# Remote port information of the connection.
|
2038
|
+
#
|
2039
|
+
# @!attribute [rw] port
|
2040
|
+
# Port number of the remote connection.
|
2041
|
+
# @return [Integer]
|
2042
|
+
#
|
2043
|
+
# @!attribute [rw] port_name
|
2044
|
+
# Port name of the remote connection.
|
2045
|
+
# @return [String]
|
2046
|
+
#
|
2047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemotePortDetails AWS API Documentation
|
2048
|
+
#
|
2049
|
+
class RemotePortDetails < Struct.new(
|
2050
|
+
:port,
|
2051
|
+
:port_name)
|
2052
|
+
include Aws::Structure
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
# The AWS resource associated with the activity that prompted GuardDuty
|
2056
|
+
# to generate a finding.
|
2057
|
+
#
|
2058
|
+
# @!attribute [rw] instance_details
|
2059
|
+
# The information about the EC2 instance associated with the activity
|
2060
|
+
# that prompted GuardDuty to generate a finding.
|
2061
|
+
# @return [Types::InstanceDetails]
|
2062
|
+
#
|
2063
|
+
# @!attribute [rw] resource_type
|
2064
|
+
# The type of the AWS resource.
|
2065
|
+
# @return [String]
|
2066
|
+
#
|
2067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource AWS API Documentation
|
2068
|
+
#
|
2069
|
+
class Resource < Struct.new(
|
2070
|
+
:instance_details,
|
2071
|
+
:resource_type)
|
2072
|
+
include Aws::Structure
|
2073
|
+
end
|
2074
|
+
|
2075
|
+
# Security groups associated with the EC2 instance.
|
2076
|
+
#
|
2077
|
+
# @!attribute [rw] group_id
|
2078
|
+
# EC2 instance's security group ID.
|
2079
|
+
# @return [String]
|
2080
|
+
#
|
2081
|
+
# @!attribute [rw] group_name
|
2082
|
+
# EC2 instance's security group name.
|
2083
|
+
# @return [String]
|
2084
|
+
#
|
2085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SecurityGroup AWS API Documentation
|
2086
|
+
#
|
2087
|
+
class SecurityGroup < Struct.new(
|
2088
|
+
:group_id,
|
2089
|
+
:group_name)
|
2090
|
+
include Aws::Structure
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
# Additional information assigned to the generated finding by GuardDuty.
|
2094
|
+
#
|
2095
|
+
# @!attribute [rw] action
|
2096
|
+
# Information about the activity described in a finding.
|
2097
|
+
# @return [Types::Action]
|
2098
|
+
#
|
2099
|
+
# @!attribute [rw] archived
|
2100
|
+
# Indicates whether this finding is archived.
|
2101
|
+
# @return [Boolean]
|
2102
|
+
#
|
2103
|
+
# @!attribute [rw] count
|
2104
|
+
# Total count of the occurrences of this finding type.
|
2105
|
+
# @return [Integer]
|
2106
|
+
#
|
2107
|
+
# @!attribute [rw] detector_id
|
2108
|
+
# Detector ID for the GuardDuty service.
|
2109
|
+
# @return [String]
|
2110
|
+
#
|
2111
|
+
# @!attribute [rw] event_first_seen
|
2112
|
+
# First seen timestamp of the activity that prompted GuardDuty to
|
2113
|
+
# generate this finding.
|
2114
|
+
# @return [String]
|
2115
|
+
#
|
2116
|
+
# @!attribute [rw] event_last_seen
|
2117
|
+
# Last seen timestamp of the activity that prompted GuardDuty to
|
2118
|
+
# generate this finding.
|
2119
|
+
# @return [String]
|
2120
|
+
#
|
2121
|
+
# @!attribute [rw] resource_role
|
2122
|
+
# Resource role information for this finding.
|
2123
|
+
# @return [String]
|
2124
|
+
#
|
2125
|
+
# @!attribute [rw] service_name
|
2126
|
+
# The name of the AWS service (GuardDuty) that generated a finding.
|
2127
|
+
# @return [String]
|
2128
|
+
#
|
2129
|
+
# @!attribute [rw] user_feedback
|
2130
|
+
# Feedback left about the finding.
|
2131
|
+
# @return [String]
|
2132
|
+
#
|
2133
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service AWS API Documentation
|
2134
|
+
#
|
2135
|
+
class Service < Struct.new(
|
2136
|
+
:action,
|
2137
|
+
:archived,
|
2138
|
+
:count,
|
2139
|
+
:detector_id,
|
2140
|
+
:event_first_seen,
|
2141
|
+
:event_last_seen,
|
2142
|
+
:resource_role,
|
2143
|
+
:service_name,
|
2144
|
+
:user_feedback)
|
2145
|
+
include Aws::Structure
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
# Represents the criteria used for sorting findings.
|
2149
|
+
#
|
2150
|
+
# @note When making an API call, you may pass SortCriteria
|
2151
|
+
# data as a hash:
|
2152
|
+
#
|
2153
|
+
# {
|
2154
|
+
# attribute_name: "__string",
|
2155
|
+
# order_by: "ASC", # accepts ASC, DESC
|
2156
|
+
# }
|
2157
|
+
#
|
2158
|
+
# @!attribute [rw] attribute_name
|
2159
|
+
# Represents the finding attribute (for example, accountId) by which
|
2160
|
+
# to sort findings.
|
2161
|
+
# @return [String]
|
2162
|
+
#
|
2163
|
+
# @!attribute [rw] order_by
|
2164
|
+
# Order by which the sorted findings are to be displayed.
|
2165
|
+
# @return [String]
|
2166
|
+
#
|
2167
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SortCriteria AWS API Documentation
|
2168
|
+
#
|
2169
|
+
class SortCriteria < Struct.new(
|
2170
|
+
:attribute_name,
|
2171
|
+
:order_by)
|
2172
|
+
include Aws::Structure
|
2173
|
+
end
|
2174
|
+
|
2175
|
+
# StartMonitoringMembers request body.
|
2176
|
+
#
|
2177
|
+
# @note When making an API call, you may pass StartMonitoringMembersRequest
|
2178
|
+
# data as a hash:
|
2179
|
+
#
|
2180
|
+
# {
|
2181
|
+
# account_ids: ["__string"],
|
2182
|
+
# detector_id: "__string", # required
|
2183
|
+
# }
|
2184
|
+
#
|
2185
|
+
# @!attribute [rw] account_ids
|
2186
|
+
# A list of account IDs of the GuardDuty member accounts whose
|
2187
|
+
# findings you want the master account to monitor.
|
2188
|
+
# @return [Array<String>]
|
2189
|
+
#
|
2190
|
+
# @!attribute [rw] detector_id
|
2191
|
+
# @return [String]
|
2192
|
+
#
|
2193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersRequest AWS API Documentation
|
2194
|
+
#
|
2195
|
+
class StartMonitoringMembersRequest < Struct.new(
|
2196
|
+
:account_ids,
|
2197
|
+
:detector_id)
|
2198
|
+
include Aws::Structure
|
2199
|
+
end
|
2200
|
+
|
2201
|
+
# StartMonitoringMembers response object.
|
2202
|
+
#
|
2203
|
+
# @!attribute [rw] unprocessed_accounts
|
2204
|
+
# A list of objects containing the unprocessed account and a result
|
2205
|
+
# string explaining why it was unprocessed.
|
2206
|
+
# @return [Array<Types::UnprocessedAccount>]
|
2207
|
+
#
|
2208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersResponse AWS API Documentation
|
2209
|
+
#
|
2210
|
+
class StartMonitoringMembersResponse < Struct.new(
|
2211
|
+
:unprocessed_accounts)
|
2212
|
+
include Aws::Structure
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
# StopMonitoringMembers request body.
|
2216
|
+
#
|
2217
|
+
# @note When making an API call, you may pass StopMonitoringMembersRequest
|
2218
|
+
# data as a hash:
|
2219
|
+
#
|
2220
|
+
# {
|
2221
|
+
# account_ids: ["__string"],
|
2222
|
+
# detector_id: "__string", # required
|
2223
|
+
# }
|
2224
|
+
#
|
2225
|
+
# @!attribute [rw] account_ids
|
2226
|
+
# A list of account IDs of the GuardDuty member accounts whose
|
2227
|
+
# findings you want the master account to stop monitoring.
|
2228
|
+
# @return [Array<String>]
|
2229
|
+
#
|
2230
|
+
# @!attribute [rw] detector_id
|
2231
|
+
# @return [String]
|
2232
|
+
#
|
2233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersRequest AWS API Documentation
|
2234
|
+
#
|
2235
|
+
class StopMonitoringMembersRequest < Struct.new(
|
2236
|
+
:account_ids,
|
2237
|
+
:detector_id)
|
2238
|
+
include Aws::Structure
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
# StopMonitoringMembers response object.
|
2242
|
+
#
|
2243
|
+
# @!attribute [rw] unprocessed_accounts
|
2244
|
+
# A list of objects containing the unprocessed account and a result
|
2245
|
+
# string explaining why it was unprocessed.
|
2246
|
+
# @return [Array<Types::UnprocessedAccount>]
|
2247
|
+
#
|
2248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersResponse AWS API Documentation
|
2249
|
+
#
|
2250
|
+
class StopMonitoringMembersResponse < Struct.new(
|
2251
|
+
:unprocessed_accounts)
|
2252
|
+
include Aws::Structure
|
2253
|
+
end
|
2254
|
+
|
2255
|
+
# A tag of the EC2 instance.
|
2256
|
+
#
|
2257
|
+
# @!attribute [rw] key
|
2258
|
+
# EC2 instance tag key.
|
2259
|
+
# @return [String]
|
2260
|
+
#
|
2261
|
+
# @!attribute [rw] value
|
2262
|
+
# EC2 instance tag value.
|
2263
|
+
# @return [String]
|
2264
|
+
#
|
2265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Tag AWS API Documentation
|
2266
|
+
#
|
2267
|
+
class Tag < Struct.new(
|
2268
|
+
:key,
|
2269
|
+
:value)
|
2270
|
+
include Aws::Structure
|
2271
|
+
end
|
2272
|
+
|
2273
|
+
# Unrchive Findings Request
|
2274
|
+
#
|
2275
|
+
# @note When making an API call, you may pass UnarchiveFindingsRequest
|
2276
|
+
# data as a hash:
|
2277
|
+
#
|
2278
|
+
# {
|
2279
|
+
# detector_id: "__string", # required
|
2280
|
+
# finding_ids: ["FindingId"],
|
2281
|
+
# }
|
2282
|
+
#
|
2283
|
+
# @!attribute [rw] detector_id
|
2284
|
+
# @return [String]
|
2285
|
+
#
|
2286
|
+
# @!attribute [rw] finding_ids
|
2287
|
+
# IDs of the findings that you want to unarchive.
|
2288
|
+
# @return [Array<String>]
|
2289
|
+
#
|
2290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsRequest AWS API Documentation
|
2291
|
+
#
|
2292
|
+
class UnarchiveFindingsRequest < Struct.new(
|
2293
|
+
:detector_id,
|
2294
|
+
:finding_ids)
|
2295
|
+
include Aws::Structure
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsResponse AWS API Documentation
|
2299
|
+
#
|
2300
|
+
class UnarchiveFindingsResponse < Aws::EmptyStructure; end
|
2301
|
+
|
2302
|
+
# An object containing the unprocessed account and a result string
|
2303
|
+
# explaining why it was unprocessed.
|
2304
|
+
#
|
2305
|
+
# @!attribute [rw] account_id
|
2306
|
+
# AWS Account ID.
|
2307
|
+
# @return [String]
|
2308
|
+
#
|
2309
|
+
# @!attribute [rw] result
|
2310
|
+
# A reason why the account hasn't been processed.
|
2311
|
+
# @return [String]
|
2312
|
+
#
|
2313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedAccount AWS API Documentation
|
2314
|
+
#
|
2315
|
+
class UnprocessedAccount < Struct.new(
|
2316
|
+
:account_id,
|
2317
|
+
:result)
|
2318
|
+
include Aws::Structure
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
# Update Detector Request
|
2322
|
+
#
|
2323
|
+
# @note When making an API call, you may pass UpdateDetectorRequest
|
2324
|
+
# data as a hash:
|
2325
|
+
#
|
2326
|
+
# {
|
2327
|
+
# detector_id: "__string", # required
|
2328
|
+
# enable: false,
|
2329
|
+
# }
|
2330
|
+
#
|
2331
|
+
# @!attribute [rw] detector_id
|
2332
|
+
# @return [String]
|
2333
|
+
#
|
2334
|
+
# @!attribute [rw] enable
|
2335
|
+
# Updated boolean value for the detector that specifies whether the
|
2336
|
+
# detector is enabled.
|
2337
|
+
# @return [Boolean]
|
2338
|
+
#
|
2339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
|
2340
|
+
#
|
2341
|
+
class UpdateDetectorRequest < Struct.new(
|
2342
|
+
:detector_id,
|
2343
|
+
:enable)
|
2344
|
+
include Aws::Structure
|
2345
|
+
end
|
2346
|
+
|
2347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorResponse AWS API Documentation
|
2348
|
+
#
|
2349
|
+
class UpdateDetectorResponse < Aws::EmptyStructure; end
|
2350
|
+
|
2351
|
+
# Update findings feedback body
|
2352
|
+
#
|
2353
|
+
# @note When making an API call, you may pass UpdateFindingsFeedbackRequest
|
2354
|
+
# data as a hash:
|
2355
|
+
#
|
2356
|
+
# {
|
2357
|
+
# comments: "Comments",
|
2358
|
+
# detector_id: "__string", # required
|
2359
|
+
# feedback: "USEFUL", # accepts USEFUL, NOT_USEFUL
|
2360
|
+
# finding_ids: ["FindingId"],
|
2361
|
+
# }
|
2362
|
+
#
|
2363
|
+
# @!attribute [rw] comments
|
2364
|
+
# Additional feedback about the GuardDuty findings.
|
2365
|
+
# @return [String]
|
2366
|
+
#
|
2367
|
+
# @!attribute [rw] detector_id
|
2368
|
+
# @return [String]
|
2369
|
+
#
|
2370
|
+
# @!attribute [rw] feedback
|
2371
|
+
# Valid values: USEFUL \| NOT\_USEFUL
|
2372
|
+
# @return [String]
|
2373
|
+
#
|
2374
|
+
# @!attribute [rw] finding_ids
|
2375
|
+
# IDs of the findings that you want to mark as useful or not useful.
|
2376
|
+
# @return [Array<String>]
|
2377
|
+
#
|
2378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackRequest AWS API Documentation
|
2379
|
+
#
|
2380
|
+
class UpdateFindingsFeedbackRequest < Struct.new(
|
2381
|
+
:comments,
|
2382
|
+
:detector_id,
|
2383
|
+
:feedback,
|
2384
|
+
:finding_ids)
|
2385
|
+
include Aws::Structure
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackResponse AWS API Documentation
|
2389
|
+
#
|
2390
|
+
class UpdateFindingsFeedbackResponse < Aws::EmptyStructure; end
|
2391
|
+
|
2392
|
+
# Update IP Set Request
|
2393
|
+
#
|
2394
|
+
# @note When making an API call, you may pass UpdateIPSetRequest
|
2395
|
+
# data as a hash:
|
2396
|
+
#
|
2397
|
+
# {
|
2398
|
+
# activate: false,
|
2399
|
+
# detector_id: "__string", # required
|
2400
|
+
# ip_set_id: "__string", # required
|
2401
|
+
# location: "Location",
|
2402
|
+
# name: "Name",
|
2403
|
+
# }
|
2404
|
+
#
|
2405
|
+
# @!attribute [rw] activate
|
2406
|
+
# The updated boolean value that specifies whether the IPSet is active
|
2407
|
+
# or not.
|
2408
|
+
# @return [Boolean]
|
2409
|
+
#
|
2410
|
+
# @!attribute [rw] detector_id
|
2411
|
+
# @return [String]
|
2412
|
+
#
|
2413
|
+
# @!attribute [rw] ip_set_id
|
2414
|
+
# @return [String]
|
2415
|
+
#
|
2416
|
+
# @!attribute [rw] location
|
2417
|
+
# The updated URI of the file that contains the IPSet. For example
|
2418
|
+
# (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
|
2419
|
+
# @return [String]
|
2420
|
+
#
|
2421
|
+
# @!attribute [rw] name
|
2422
|
+
# The unique ID that specifies the IPSet that you want to update.
|
2423
|
+
# @return [String]
|
2424
|
+
#
|
2425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetRequest AWS API Documentation
|
2426
|
+
#
|
2427
|
+
class UpdateIPSetRequest < Struct.new(
|
2428
|
+
:activate,
|
2429
|
+
:detector_id,
|
2430
|
+
:ip_set_id,
|
2431
|
+
:location,
|
2432
|
+
:name)
|
2433
|
+
include Aws::Structure
|
2434
|
+
end
|
2435
|
+
|
2436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetResponse AWS API Documentation
|
2437
|
+
#
|
2438
|
+
class UpdateIPSetResponse < Aws::EmptyStructure; end
|
2439
|
+
|
2440
|
+
# Update Threat Intel Set Request
|
2441
|
+
#
|
2442
|
+
# @note When making an API call, you may pass UpdateThreatIntelSetRequest
|
2443
|
+
# data as a hash:
|
2444
|
+
#
|
2445
|
+
# {
|
2446
|
+
# activate: false,
|
2447
|
+
# detector_id: "__string", # required
|
2448
|
+
# location: "Location",
|
2449
|
+
# name: "Name",
|
2450
|
+
# threat_intel_set_id: "__string", # required
|
2451
|
+
# }
|
2452
|
+
#
|
2453
|
+
# @!attribute [rw] activate
|
2454
|
+
# The updated boolean value that specifies whether the ThreateIntelSet
|
2455
|
+
# is active or not.
|
2456
|
+
# @return [Boolean]
|
2457
|
+
#
|
2458
|
+
# @!attribute [rw] detector_id
|
2459
|
+
# @return [String]
|
2460
|
+
#
|
2461
|
+
# @!attribute [rw] location
|
2462
|
+
# The updated URI of the file that contains the ThreateIntelSet. For
|
2463
|
+
# example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
|
2464
|
+
# @return [String]
|
2465
|
+
#
|
2466
|
+
# @!attribute [rw] name
|
2467
|
+
# The unique ID that specifies the ThreatIntelSet that you want to
|
2468
|
+
# update.
|
2469
|
+
# @return [String]
|
2470
|
+
#
|
2471
|
+
# @!attribute [rw] threat_intel_set_id
|
2472
|
+
# @return [String]
|
2473
|
+
#
|
2474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetRequest AWS API Documentation
|
2475
|
+
#
|
2476
|
+
class UpdateThreatIntelSetRequest < Struct.new(
|
2477
|
+
:activate,
|
2478
|
+
:detector_id,
|
2479
|
+
:location,
|
2480
|
+
:name,
|
2481
|
+
:threat_intel_set_id)
|
2482
|
+
include Aws::Structure
|
2483
|
+
end
|
2484
|
+
|
2485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetResponse AWS API Documentation
|
2486
|
+
#
|
2487
|
+
class UpdateThreatIntelSetResponse < Aws::EmptyStructure; end
|
2488
|
+
|
2489
|
+
end
|
2490
|
+
end
|