forked from Shuffle/openapi-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
insightidr_api_us.yaml
333 lines (333 loc) · 19.1 KB
/
insightidr_api_us.yaml
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
openapi: 3.0.0
info:
title: InsightIDR API US
description: Insight IDR API V1 Get more info at
https://help.rapid7.com/insightidr/en-us/api/v1/docs.html#
version: "1.1"
x-logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACuCAYAAACvDDbuAAAAAXNSR0IArs4c6QAAFydJREFUeF7tnXecVEW2x3+3c/d0mBkGBBFEQST5wYCw+sEImAWRXUVFQJQsi0gcVFQEVMABRPeREZ58wNW3LD5WjCirz32oKC6IgGCCJ4gTOqcb6n2qh1nB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Awe3CJ1uBJU5uEbwYhHqwMEtQqcbQWUOrhG8WIQ6cHCL0OlGUJmDawQvFqEOHNwidLoRVObgGsGLRagDB7cInW4ElTm4RvBiEerAwS1CpxtBZQ6uEbxYhDpwcIvQ6UZQmYNrBC8WoQ4c3CJ0uhFU5uAawYtFqAMHtwidbgSVObhG8GIR6sDBLUKnG0FlDq4RvFiEOnBwi9DpRlCZg2sELxahDhzcInS6EVTm4BrBi0WoAwe3CJ1uBJX/H1g3t37d/R3GAAAAAElFTkSuQmCC
contact:
name: "Azgaviperr"
url: https://github.com/azgaviperr
x-categories:
- SIEM
servers:
- url: https://us.api.insight.rapid7.com
host: us.api.insight.rapid7.com
basePath: /
schemes:
- "https:"
paths:
/idr/v1/customthreats:
post:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: ""
summary: Create a threat
operationId: Create_a_threat
description: Create a private InsightIDR threat and add indicators to this threat. The following threat indicators are supported in the request body formatted as json. The maximum file size is 50MB.
parameters:
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
content: {}
"/idr/v1/customthreats/key/{key}/indicators/add":
post:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: ""
summary: Add indicators to a threat
operationId: Add_indicators_to_a_threat
description: 'Add InsightIDR threat indicators to a threat with the given threat key. The following threat indicators are supported in the request body formatted as json, stix_xml, or csv. The request content type is expected to match the specified format: "application/json" for "json" format, "text/xml" for "stix_xml" format and "text/csv" for "csv" format. See request samples on the right. The multipart file upload (with multipart/form-data content type) is also supported by the endpoint. The maximum file size is 50 MB.'
parameters:
- in: query
name: format
description: The input format
required: true
schema:
type: string
- in: path
name: key
description: Generated by shuffler.io OpenAPI
required: true
schema:
type: string
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
content: {}
"/idr/v1/customthreats/key/{key}/indicators/replace":
post:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: ""
summary: Replace indicators for a threat
operationId: Replace_indicators_for_a_threat
description: 'Replace InsightIDR threat indicators for a threat with the given threat key. The following threat indicators are supported in the request body formatted as json, stix_xml, or csv. The multipart file upload (with multipart/form-data content type) is also supported by the endpoint. The maximum file size is 50 MB.'
parameters:
- in: query
name: format
description: The input format
required: true
schema:
type: string
- in: path
name: key
description: Generated by shuffler.io OpenAPI
required: true
schema:
type: string
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
content: {}
/idr/v1/investigations:
get:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: ""
summary: List investigations
operationId: List_investigations
description: Retrieve a page of investigations matching the given requestb parameters. The investigations will always be sorted by investigation created_time in descending order.
parameters:
- in: query
name: end_time
description: An optional ISO formatted timestamp. Only investigations whose createTime is before this date will be returned by the api. If this parameter is omitted investigations with any create_time may be returned.
required: false
schema:
type: string
- in: query
name: index
description: The optional 0 based index of the page to retrieve. Must be an integer greater than or equal to 0
required: false
schema:
type: string
- in: query
name: size
description: The optional size of the page to retrieve. Must be an integer greater than 0 or less then or equal to 1000
required: false
schema:
type: string
- in: query
name: start_time
description: An optional ISO formatted timestamp. Only investigations whose createTime is after this date will be returned by the api. If this parameter is omitted investigations with any create_time may be returned.
required: false
schema:
type: string
- in: query
name: statuses
description: An optional comma separated set of investigation statuses. Only investigation whose status match one of the entries in the list will be returned. If this parameter is omitted investigations with any status may be returned.
required: false
schema:
type: string
requestBody:
content: {}
/idr/v1/investigations/bulk_close:
post:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: ""
summary: Close investigations in bulk
operationId: Close_investigations_in_bulk
description: Close all investigations that match the parameters provided in the request body. This api returns the number of investigations that were closed and a list of their ids.
parameters:
- in: body
name: body
multiline: true
description: Generated by shuffler.io OpenAPI
required: false
example: |-
{
"alert_type": "${alert_type}",
"from": "${from}",
"max_investigations_to_close": "${max_investigations_to_close}",
"source": "${source}",
"to": "${to}"
}
schema:
type: string
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
description: Generated by Shuffler.io
required: false
content:
example:
example: |-
{
"alert_type": "${alert_type}",
"from": "${from}",
"max_investigations_to_close": "${max_investigations_to_close}",
"source": "${source}",
"to": "${to}"
}
"/idr/v1/investigations/{id}/assignee":
put:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: ""
summary: Assign user to investigation
operationId: Assign_user_to_investigation
description: Assigning a user to the specified investigation. The user must be a platform administrator, product administrator, or read/write user with access to either InsightIDR or InsightUBA
parameters:
- in: path
name: id
description: Generated by shuffler.io OpenAPI
required: true
schema:
type: string
- in: body
name: body
multiline: true
description: Generated by shuffler.io OpenAPI
required: false
example: |-
{
"user_email_address": "${user_email_address}"
}
schema:
type: string
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
description: Generated by Shuffler.io
required: false
content:
example:
example: |-
{
"user_email_address": "${user_email_address}"
}
"/idr/v1/investigations/{id}/status/{status}":
put:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: ""
summary: Set the status of an investigation
operationId: Set_the_status_of_an_investigation
description: Set the status of the investigation with the given id. This api returns the investigation with its status updated to the new state. If the investigation already has the given status no change is made, but the investigation will still be returned.
parameters:
- in: path
name: id
description: Generated by shuffler.io OpenAPI
required: true
schema:
type: string
- in: path
name: status
description: Generated by shuffler.io OpenAPI
required: true
schema:
type: string
requestBody:
content: {}
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-Api-Key