@aws-sdk/client-securityagent 3.1142.0 → 3.1143.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist-cjs/index.js +123 -43
- package/dist-es/SecurityAgent.js +2 -0
- package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +103 -42
- package/dist-types/SecurityAgent.d.ts +7 -0
- package/dist-types/SecurityAgentClient.d.ts +3 -2
- package/dist-types/commands/CreateIntegrationCommand.d.ts +11 -1
- package/dist-types/commands/GetIntegrationCommand.d.ts +2 -1
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +5 -1
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -2
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -1
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThreatCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +19 -0
- package/dist-types/models/models_0.d.ts +281 -427
- package/dist-types/models/models_1.d.ts +422 -2
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +17 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +120 -89
- package/dist-types/ts3.4/models/models_1.d.ts +112 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,5 +1,425 @@
|
|
|
1
|
-
import type { TargetDomainStatus } from "./enums";
|
|
2
|
-
import type { Assets, CloudWatchLog, DocumentInfo, ReportDestination } from "./models_0";
|
|
1
|
+
import type { CodeRemediationStrategy, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus } from "./enums";
|
|
2
|
+
import type { Assets, CiCdConfiguration, CloudWatchLog, DocumentInfo, IntegratedResourceInputItem, NetworkTrafficConfig, ReportDestination, ReportFilters, ThreatAnchorShape, ThreatEvidenceShape, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateIntegratedResourcesInput {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The unique identifier of the agent space.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
agentSpaceId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The unique identifier of the integration.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
integrationId: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The list of integrated resource items to update.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
items: IntegratedResourceInputItem[] | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface UpdateIntegratedResourcesOutput {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>Input for updating an existing pentest.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export interface UpdatePentestInput {
|
|
33
|
+
/**
|
|
34
|
+
* <p>The unique identifier of the pentest to update.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
pentestId: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The unique identifier of the agent space that contains the pentest.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
agentSpaceId: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The updated title of the pentest.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
title?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The updated assets for the pentest.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
assets?: Assets | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The updated list of risk types to exclude from the pentest.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
excludeRiskTypes?: RiskType[] | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The updated IAM service role for the pentest.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
serviceRole?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The updated CloudWatch Logs configuration for the pentest.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
logConfig?: CloudWatchLog | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The updated VPC configuration for the pentest.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
vpcConfig?: VpcConfig | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The updated network traffic configuration for the pentest.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
networkTrafficConfig?: NetworkTrafficConfig | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The updated code remediation strategy for the pentest.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
disableManagedSkills?: SkillType[] | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The updated maximum number of billable task hours allowed for jobs started from this pentest.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
maxTaskHours?: number | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
reportDestination?: ReportDestination | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The report-generation filters applied when the report is exported.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
reportFilters?: ReportFilters | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The updated CI/CD pentesting configuration to apply to the pentest.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>Output for the UpdatePentest operation.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export interface UpdatePentestOutput {
|
|
114
|
+
/**
|
|
115
|
+
* <p>The unique identifier of the pentest.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
pentestId?: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The title of the pentest.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
title?: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The date and time the pentest was created, in UTC format.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
createdAt?: Date | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The date and time the pentest was last updated, in UTC format.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
updatedAt?: Date | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>The assets included in the pentest.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
assets?: Assets | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The list of risk types excluded from the pentest.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
excludeRiskTypes?: RiskType[] | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>The IAM service role used for the pentest.</p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
serviceRole?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* <p>The CloudWatch Logs configuration for the pentest.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
logConfig?: CloudWatchLog | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* <p>The unique identifier of the agent space that contains the pentest.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
agentSpaceId?: string | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
reportDestination?: ReportDestination | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* <p>The report-generation filters applied when the report is exported.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
reportFilters?: ReportFilters | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* <p>The CI/CD pentesting configuration applied to the pentest.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* <p>Input for updating an existing threat.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export interface UpdateThreatInput {
|
|
180
|
+
/**
|
|
181
|
+
* <p>The unique identifier of the threat to update.</p>
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
threatId: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* <p>The unique identifier of the agent space.</p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
agentSpaceId: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* <p>A short title summarizing the threat.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
title?: string | undefined;
|
|
195
|
+
/**
|
|
196
|
+
* <p>The updated status of the threat.</p>
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
status?: ThreatStatus | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* <p>Optional customer comment.</p>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
comments?: string | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* <p>The updated natural-language threat statement.</p>
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
statement?: string | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* <p>The updated severity level of the threat.</p>
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
severity?: ThreatSeverity | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* <p>The updated actor or origin of the threat.</p>
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
threatSource?: string | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* <p>The updated conditions required for the threat to be exploitable.</p>
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
prerequisites?: string | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>The updated description of what the threat source can do.</p>
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
threatAction?: string | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* <p>The updated direct consequence of the threat action.</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
threatImpact?: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* <p>The updated security goals affected by the threat.</p>
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
impactedGoal?: string[] | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* <p>The updated list of specific assets affected by the threat.</p>
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
impactedAssets?: string[] | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* <p>The updated DFD element this threat is anchored to.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
anchor?: ThreatAnchorShape | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The updated source code files supporting the threat.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
evidence?: ThreatEvidenceShape[] | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* <p>The updated recommended mitigation guidance for this threat.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
recommendation?: string | undefined;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* <p>Output for the UpdateThreat operation.</p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export interface UpdateThreatOutput {
|
|
266
|
+
/**
|
|
267
|
+
* <p>The unique identifier of the threat.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
threatId: string | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>The unique identifier of the threat model job the threat belongs to.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
threatJobId: string | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* <p>A short title summarizing the threat.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
title?: string | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p>The natural-language threat statement.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
statement?: string | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* <p>The severity level of the threat.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
severity?: ThreatSeverity | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* <p>The current status of the threat.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
status?: ThreatStatus | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>Optional customer comment on the threat.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
comments?: string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* <p>The STRIDE categories applicable to this threat.</p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
stride?: StrideCategory[] | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* <p>The actor or origin of the threat.</p>
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
threatSource?: string | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* <p>The conditions required for the threat to be exploitable.</p>
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
prerequisites?: string | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* <p>What the threat source can do.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
threatAction?: string | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* <p>The direct consequence of the threat action.</p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
threatImpact?: string | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* <p>The security goals affected by the threat.</p>
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
impactedGoal?: string[] | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* <p>The specific assets affected by the threat.</p>
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
impactedAssets?: string[] | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* <p>The DFD element this threat is anchored to.</p>
|
|
338
|
+
* @public
|
|
339
|
+
*/
|
|
340
|
+
anchor?: ThreatAnchorShape | undefined;
|
|
341
|
+
/**
|
|
342
|
+
* <p>The source code files supporting the threat.</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
evidence?: ThreatEvidenceShape[] | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The recommended mitigation guidance for this threat.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
recommendation?: string | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* <p>Who created this threat.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
createdBy?: ThreatActor | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* <p>Who last updated this threat.</p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
updatedBy?: ThreatActor | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* <p>The date and time the threat was created, in UTC format.</p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
createdAt?: Date | undefined;
|
|
366
|
+
/**
|
|
367
|
+
* <p>The date and time the threat was last updated, in UTC format.</p>
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
updatedAt?: Date | undefined;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* <p>Input for updating an existing threat model.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export interface UpdateThreatModelInput {
|
|
377
|
+
/**
|
|
378
|
+
* <p>The unique identifier of the threat model to update.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
threatModelId: string | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The unique identifier of the agent space that contains the threat model.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
agentSpaceId: string | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* <p>The updated title of the threat model.</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
title?: string | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* <p>The updated description of the application or system being threat modeled.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
description?: string | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* <p>The updated assets for the threat model.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
assets?: Assets | undefined;
|
|
402
|
+
/**
|
|
403
|
+
* <p>The updated scoped documents for the agent to focus on during threat modeling.</p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
scopeDocs?: DocumentInfo[] | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* <p>The updated IAM service role for the threat model.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
serviceRole?: string | undefined;
|
|
412
|
+
/**
|
|
413
|
+
* <p>The updated CloudWatch Logs configuration for the threat model.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
logConfig?: CloudWatchLog | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
reportDestination?: ReportDestination | undefined;
|
|
422
|
+
}
|
|
3
423
|
/**
|
|
4
424
|
* <p>Output for the UpdateThreatModel operation.</p>
|
|
5
425
|
* @public
|
|
@@ -27,6 +27,10 @@ export declare var ArtifactSummary$: StaticStructureSchema;
|
|
|
27
27
|
export declare var Assets$: StaticStructureSchema;
|
|
28
28
|
export declare var Authentication$: StaticStructureSchema;
|
|
29
29
|
export declare var AWSResources$: StaticStructureSchema;
|
|
30
|
+
export declare var AzureDevOpsIntegrationInput$: StaticStructureSchema;
|
|
31
|
+
export declare var AzureDevOpsRepositoryMetadata$: StaticStructureSchema;
|
|
32
|
+
export declare var AzureDevOpsRepositoryResource$: StaticStructureSchema;
|
|
33
|
+
export declare var AzureDevOpsResourceCapabilities$: StaticStructureSchema;
|
|
30
34
|
export declare var BatchCreateSecurityRequirementResult$: StaticStructureSchema;
|
|
31
35
|
export declare var BatchCreateSecurityRequirementsInput$: StaticStructureSchema;
|
|
32
36
|
export declare var BatchCreateSecurityRequirementsOutput$: StaticStructureSchema;
|
|
@@ -72,6 +76,7 @@ export declare var BatchGetThreatsOutput$: StaticStructureSchema;
|
|
|
72
76
|
export declare var BatchSecurityRequirementError$: StaticStructureSchema;
|
|
73
77
|
export declare var BatchUpdateSecurityRequirementsInput$: StaticStructureSchema;
|
|
74
78
|
export declare var BatchUpdateSecurityRequirementsOutput$: StaticStructureSchema;
|
|
79
|
+
export declare var BitbucketDataCenterIntegrationInput$: StaticStructureSchema;
|
|
75
80
|
export declare var BitbucketIntegrationInput$: StaticStructureSchema;
|
|
76
81
|
export declare var BitbucketRepositoryMetadata$: StaticStructureSchema;
|
|
77
82
|
export declare var BitbucketRepositoryResource$: StaticStructureSchema;
|
|
@@ -284,6 +289,8 @@ export declare var UpdateFindingInput$: StaticStructureSchema;
|
|
|
284
289
|
export declare var UpdateFindingOutput$: StaticStructureSchema;
|
|
285
290
|
export declare var UpdateIntegratedResourcesInput$: StaticStructureSchema;
|
|
286
291
|
export declare var UpdateIntegratedResourcesOutput$: StaticStructureSchema;
|
|
292
|
+
export declare var UpdateIntegrationInput$: StaticStructureSchema;
|
|
293
|
+
export declare var UpdateIntegrationOutput$: StaticStructureSchema;
|
|
287
294
|
export declare var UpdatePentestInput$: StaticStructureSchema;
|
|
288
295
|
export declare var UpdatePentestOutput$: StaticStructureSchema;
|
|
289
296
|
export declare var UpdatePrivateConnectionCertificateInput$: StaticStructureSchema;
|
|
@@ -403,6 +410,7 @@ export declare var UpdateApplication$: StaticOperationSchema;
|
|
|
403
410
|
export declare var UpdateCodeReview$: StaticOperationSchema;
|
|
404
411
|
export declare var UpdateFinding$: StaticOperationSchema;
|
|
405
412
|
export declare var UpdateIntegratedResources$: StaticOperationSchema;
|
|
413
|
+
export declare var UpdateIntegration$: StaticOperationSchema;
|
|
406
414
|
export declare var UpdatePentest$: StaticOperationSchema;
|
|
407
415
|
export declare var UpdatePrivateConnectionCertificate$: StaticOperationSchema;
|
|
408
416
|
export declare var UpdateSecurityRequirementPack$: StaticOperationSchema;
|
|
@@ -336,6 +336,10 @@ import {
|
|
|
336
336
|
UpdateIntegratedResourcesCommandInput,
|
|
337
337
|
UpdateIntegratedResourcesCommandOutput,
|
|
338
338
|
} from "./commands/UpdateIntegratedResourcesCommand";
|
|
339
|
+
import {
|
|
340
|
+
UpdateIntegrationCommandInput,
|
|
341
|
+
UpdateIntegrationCommandOutput,
|
|
342
|
+
} from "./commands/UpdateIntegrationCommand";
|
|
339
343
|
import {
|
|
340
344
|
UpdatePentestCommandInput,
|
|
341
345
|
UpdatePentestCommandOutput,
|
|
@@ -1494,6 +1498,19 @@ export interface SecurityAgent {
|
|
|
1494
1498
|
options: SecurityAgentRequestOptions,
|
|
1495
1499
|
cb: (err: any, data?: UpdateIntegratedResourcesCommandOutput) => void,
|
|
1496
1500
|
): void;
|
|
1501
|
+
updateIntegration(
|
|
1502
|
+
args: UpdateIntegrationCommandInput,
|
|
1503
|
+
options?: SecurityAgentRequestOptions,
|
|
1504
|
+
): Promise<UpdateIntegrationCommandOutput>;
|
|
1505
|
+
updateIntegration(
|
|
1506
|
+
args: UpdateIntegrationCommandInput,
|
|
1507
|
+
cb: (err: any, data?: UpdateIntegrationCommandOutput) => void,
|
|
1508
|
+
): void;
|
|
1509
|
+
updateIntegration(
|
|
1510
|
+
args: UpdateIntegrationCommandInput,
|
|
1511
|
+
options: SecurityAgentRequestOptions,
|
|
1512
|
+
cb: (err: any, data?: UpdateIntegrationCommandOutput) => void,
|
|
1513
|
+
): void;
|
|
1497
1514
|
updatePentest(
|
|
1498
1515
|
args: UpdatePentestCommandInput,
|
|
1499
1516
|
options?: SecurityAgentRequestOptions,
|
|
@@ -365,6 +365,10 @@ import {
|
|
|
365
365
|
UpdateIntegratedResourcesCommandInput,
|
|
366
366
|
UpdateIntegratedResourcesCommandOutput,
|
|
367
367
|
} from "./commands/UpdateIntegratedResourcesCommand";
|
|
368
|
+
import {
|
|
369
|
+
UpdateIntegrationCommandInput,
|
|
370
|
+
UpdateIntegrationCommandOutput,
|
|
371
|
+
} from "./commands/UpdateIntegrationCommand";
|
|
368
372
|
import {
|
|
369
373
|
UpdatePentestCommandInput,
|
|
370
374
|
UpdatePentestCommandOutput,
|
|
@@ -487,6 +491,7 @@ export type ServiceInputTypes =
|
|
|
487
491
|
| UpdateCodeReviewCommandInput
|
|
488
492
|
| UpdateFindingCommandInput
|
|
489
493
|
| UpdateIntegratedResourcesCommandInput
|
|
494
|
+
| UpdateIntegrationCommandInput
|
|
490
495
|
| UpdatePentestCommandInput
|
|
491
496
|
| UpdatePrivateConnectionCertificateCommandInput
|
|
492
497
|
| UpdateSecurityRequirementPackCommandInput
|
|
@@ -581,6 +586,7 @@ export type ServiceOutputTypes =
|
|
|
581
586
|
| UpdateCodeReviewCommandOutput
|
|
582
587
|
| UpdateFindingCommandOutput
|
|
583
588
|
| UpdateIntegratedResourcesCommandOutput
|
|
589
|
+
| UpdateIntegrationCommandOutput
|
|
584
590
|
| UpdatePentestCommandOutput
|
|
585
591
|
| UpdatePrivateConnectionCertificateCommandOutput
|
|
586
592
|
| UpdateSecurityRequirementPackCommandOutput
|
|
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import {
|
|
3
3
|
UpdateIntegratedResourcesInput,
|
|
4
4
|
UpdateIntegratedResourcesOutput,
|
|
5
|
-
} from "../models/
|
|
5
|
+
} from "../models/models_1";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
7
|
export interface UpdateIntegratedResourcesCommandInput extends UpdateIntegratedResourcesInput {}
|
|
8
8
|
export interface UpdateIntegratedResourcesCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UpdateIntegrationInput, UpdateIntegrationOutput } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UpdateIntegrationCommandInput extends UpdateIntegrationInput {}
|
|
5
|
+
export interface UpdateIntegrationCommandOutput extends UpdateIntegrationOutput, __MetadataBearer {}
|
|
6
|
+
declare const UpdateIntegrationCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: UpdateIntegrationCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
UpdateIntegrationCommandInput,
|
|
11
|
+
UpdateIntegrationCommandOutput,
|
|
12
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateIntegrationCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
UpdateIntegrationCommandInput,
|
|
20
|
+
UpdateIntegrationCommandOutput,
|
|
21
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class UpdateIntegrationCommand extends UpdateIntegrationCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: UpdateIntegrationInput;
|
|
31
|
+
output: UpdateIntegrationOutput;
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: UpdateIntegrationCommandInput;
|
|
35
|
+
output: UpdateIntegrationCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdatePentestInput, UpdatePentestOutput } from "../models/
|
|
2
|
+
import { UpdatePentestInput, UpdatePentestOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdatePentestCommandInput extends UpdatePentestInput {}
|
|
5
5
|
export interface UpdatePentestCommandOutput extends UpdatePentestOutput, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateThreatInput, UpdateThreatOutput } from "../models/
|
|
2
|
+
import { UpdateThreatInput, UpdateThreatOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateThreatCommandInput extends UpdateThreatInput {}
|
|
5
5
|
export interface UpdateThreatCommandOutput extends UpdateThreatOutput, __MetadataBearer {}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateThreatModelInput } from "../models/
|
|
3
|
-
import { UpdateThreatModelOutput } from "../models/models_1";
|
|
2
|
+
import { UpdateThreatModelInput, UpdateThreatModelOutput } from "../models/models_1";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface UpdateThreatModelCommandInput extends UpdateThreatModelInput {}
|
|
6
5
|
export interface UpdateThreatModelCommandOutput extends UpdateThreatModelOutput, __MetadataBearer {}
|
|
@@ -84,6 +84,7 @@ export * from "./UpdateApplicationCommand";
|
|
|
84
84
|
export * from "./UpdateCodeReviewCommand";
|
|
85
85
|
export * from "./UpdateFindingCommand";
|
|
86
86
|
export * from "./UpdateIntegratedResourcesCommand";
|
|
87
|
+
export * from "./UpdateIntegrationCommand";
|
|
87
88
|
export * from "./UpdatePentestCommand";
|
|
88
89
|
export * from "./UpdatePrivateConnectionCertificateCommand";
|
|
89
90
|
export * from "./UpdateSecurityRequirementPackCommand";
|
|
@@ -238,6 +238,7 @@ export declare const GitLabTokenType: {
|
|
|
238
238
|
};
|
|
239
239
|
export type GitLabTokenType = (typeof GitLabTokenType)[keyof typeof GitLabTokenType];
|
|
240
240
|
export declare const Provider: {
|
|
241
|
+
readonly AZURE_DEVOPS: "AZURE_DEVOPS";
|
|
241
242
|
readonly BITBUCKET: "BITBUCKET";
|
|
242
243
|
readonly CONFLUENCE: "CONFLUENCE";
|
|
243
244
|
readonly GITHUB: "GITHUB";
|
|
@@ -312,6 +313,11 @@ export declare const SecurityRequirementArtifactFormat: {
|
|
|
312
313
|
};
|
|
313
314
|
export type SecurityRequirementArtifactFormat =
|
|
314
315
|
(typeof SecurityRequirementArtifactFormat)[keyof typeof SecurityRequirementArtifactFormat];
|
|
316
|
+
export declare const WebhookAction: {
|
|
317
|
+
readonly CREATE_IF_ABSENT: "CREATE_IF_ABSENT";
|
|
318
|
+
readonly ROTATE: "ROTATE";
|
|
319
|
+
};
|
|
320
|
+
export type WebhookAction = (typeof WebhookAction)[keyof typeof WebhookAction];
|
|
315
321
|
export declare const ResourceType: {
|
|
316
322
|
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
317
323
|
readonly DOCUMENT: "DOCUMENT";
|