-
-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathapi.yaml
More file actions
373 lines (349 loc) · 14 KB
/
api.yaml
File metadata and controls
373 lines (349 loc) · 14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
app_version: 1.0.0
name: AWS Guardduty
description: An app to interact with Amazon web service GuardDuty
contact_info:
name: "@shalinbhavsar"
url: https://shuffler.io
email: shalinbhavsar17@gmail.com
tags:
- Eradication
- AWS
- Threat Intelligence
categories:
- Eradication
authentication:
required: true
parameters:
- name: access_key
description: The access key to use
example: "*****"
required: false
schema:
type: string
- name: secret_key
description: The secret key to use
example: "*****"
required: false
schema:
type: string
- name: region
description: The region to use
example: "ap-south-1"
required: true
schema:
type: string
actions:
- name: create_detector
description: Creates a single Amazon Guardduty detector
parameters:
- name: enable
description: Value that specifies whether the detector is to be enabled
required: true
options:
- True
- False
returns:
schema:
type: string
- name: delete_detector
description: Deletes a detector that is specified by the detector ID.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
returns:
schema:
type: string
- name: get_detector
description: Retrieves a detector
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
returns:
schema:
type: string
- name: update_detector
description: Retrieves a detector
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: enable
description: Value that specifies whether the detector is to be enabled
required: true
options:
- True
- False
returns:
schema:
type: string
- name: create_ip_set
description: Create a new IPSet.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: name
description: The user-friendly name to identify the IPSet
required: true
- name: fileformat
description: The format of the file that contains the IPSet.
required: true
options:
- TXT
- STIX
- OTX_CSV
- ALIEN_VAULT
- PROOF_POINT
- FIRE_EYE
- name: location
description: The URI of the file that contains the IPSet.
required: true
example: 'https://s3.eu-central-1.amazonaws.com/test/ipset.txt'
- name: activate
description: Value that indicates whether GuardDuty is to start using the uploaded IPSet.
required: true
options:
- True
- False
returns:
schema:
type: string
- name: delete_ip_set
description: Deletes the IPSet specified by the ipsetID
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: ipSetId
description: The unique ID of the IPSet to delete
required: true
returns:
schema:
type: string
- name: list_detectors
description: Lists detectorIds
returns:
schema:
type: string
- name: update_ip_set
description: Updates the IPSet.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: ipSetId
description: The unique ID of the IPSet
required: true
- name: name
description: The user-friendly name to identify the IPSet
required: true
- name: location
description: The URI of the file that contains the IPSet.
required: true
example: 'https://s3.eu-central-1.amazonaws.com/test/ipset.txt'
- name: activate
description: Value that indicates whether GuardDuty is to start using the uploaded IPSet.
required: true
options:
- True
- False
returns:
schema:
type: string
- name: get_ip_set
description: Retrieves the IPSet.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: ipSetId
description: The unique ID of the IPSet
required: true
returns:
schema:
type: string
- name: list_ip_sets
description: Lists the IPSets of the GuardDuty
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
returns:
schema:
type: string
- name: create_threat_intel_set
description: Create a new ThreatIntelSet.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: name
description: The user-friendly name to identify the ThreatIntelSet.
required: true
- name: fileformat
description: The format of the file that contains the IPSet.
required: true
options:
- TXT
- STIX
- OTX_CSV
- ALIEN_VAULT
- PROOF_POINT
- FIRE_EYE
- name: location
description: The URI of the file that contains the IPSet.
required: true
example: 'https://s3.eu-central-1.amazonaws.com/test/ipset.txt'
- name: activate
description: Value that indicates whether GuardDuty is to start using the uploaded IPSet.
required: true
options:
- True
- False
returns:
schema:
type: string
- name: delete_threat_intel_set
description: Deletes the ThreatIntelSet
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: threatIntelSetId
description: The unique ID of the threatIntelSet to delete
required: true
returns:
schema:
type: string
- name: get_threat_intel_set
description: Retrieves the ThreatIntelSet
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: threatIntelSetId
description: The unique ID of the threatIntelSet to delete
required: true
returns:
schema:
type: string
- name: list_threat_intel_sets
description: Lists the threatintelsets of the GuardDuty
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
returns:
schema:
type: string
- name: update_threat_intel_set
description: Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: threatIntelSetId
description: The unique ID of the ThreatIntelSet
required: true
- name: name
description: The user-friendly name to identify the IPSet
required: false
- name: location
description: The URI of the file that contains the IPSet.
required: false
example: 'https://s3.eu-central-1.amazonaws.com/test/ipset.txt'
- name: activate
description: Value that indicates whether GuardDuty is to start using the uploaded IPSet.
required: false
options:
- True
- False
returns:
schema:
type: string
- name: list_findings
description: Lists findings for the specified detector ID
parameters:
- name: detectorId
description: ID of the detector whose findings you want
required: true
returns:
schema:
type: string
- name: get_findings
description: Describes findings specified by finding IDs.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: findingIds
description: The IDs of the findings(comma seperated)
example: Id1,Id2
required: true
returns:
schema:
type: string
- name: create_sample_findings
description: Generates example findings of types specified by the list of finding types.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: findingIds
description: The IDs of the findings(comma seperated)
example: Id1,Id2
required: false
returns:
schema:
type: string
- name: archive_findings
description: Archives findings that are specified by the list of finding IDs.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: findingIds
description: The IDs of the findings(comma seperated)
example: Id1,Id2
required: true
returns:
schema:
type: string
- name: unarchive_findings
description: Unarchives findings that are specified by the list of finding IDs.
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: findingIds
description: The IDs of the findings(comma seperated)
example: Id1,Id2
required: true
returns:
schema:
type: string
- name: list_members
description: Lists details about all member accounts
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
returns:
schema:
type: string
- name: get_members
description: Retrieves member accounts
parameters:
- name: detectorId
description: The unique ID of the detector
required: true
- name: accountIds
description: The IDs of the member accounts(comma seperated)
example: Id1,Id2
required: true
returns:
schema:
type: string
large_image: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN4AAADeCAMAAABluU6FAAAAaVBMVEUjLz7////W2NtocHqDipJMVmIpNEM5RFH8/Pz39/gmMkG8wMTo6evr7O0vOkinrLJGUF00P02wtLpZYm3Gyc1gaHN+hY6UmaFyeoPR09Z4f4hLVWGkqa9VXmmPlZ0/SVbe4OKaoKe3u8CLX4zJAAALpklEQVR4nO1d6ZqiOhAFsVlUUFDc2v39H3J0CKnKSrAJQT/Or+sd6OSQ2rJVeT6PZD4tV3nofRTCfFVO54lAxuO4FUHmuqvvIwuKREMv2X0wtwrZLlHQi5eR6851gWgZy+gtflx3rCv8LER6h68Yugr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