@aws-sdk/client-securityagent 3.1141.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 +181 -60
- 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/index.js +1 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +151 -59
- package/dist-types/SecurityAgent.d.ts +7 -0
- package/dist-types/SecurityAgentClient.d.ts +3 -2
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +18 -1
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +11 -1
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
- 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/ListPentestJobsForPentestCommand.d.ts +3 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +10 -1
- 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 +7 -1
- package/dist-types/commands/UpdateThreatCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +1 -1
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +45 -0
- package/dist-types/models/models_0.d.ts +396 -532
- package/dist-types/models/models_1.d.ts +535 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -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 -1
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +146 -112
- package/dist-types/ts3.4/models/models_1.d.ts +137 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,535 @@
|
|
|
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
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* <p>Output for the UpdateThreatModel operation.</p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
export interface UpdateThreatModelOutput {
|
|
428
|
+
/**
|
|
429
|
+
* <p>The unique identifier of the threat model.</p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
threatModelId: string | undefined;
|
|
433
|
+
/**
|
|
434
|
+
* <p>The title of the threat model.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
title?: string | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* <p>The unique identifier of the agent space that contains the threat model.</p>
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
agentSpaceId?: string | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p>A description of the application or system being threat modeled.</p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
description?: string | undefined;
|
|
448
|
+
/**
|
|
449
|
+
* <p>The assets included in the threat model.</p>
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
452
|
+
assets?: Assets | undefined;
|
|
453
|
+
/**
|
|
454
|
+
* <p>The scoped documents for the agent to focus on during threat modeling.</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
scopeDocs?: DocumentInfo[] | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* <p>The IAM service role used for the threat model.</p>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
serviceRole?: string | undefined;
|
|
463
|
+
/**
|
|
464
|
+
* <p>The CloudWatch Logs configuration for the threat model.</p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
logConfig?: CloudWatchLog | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* <p>The date and time the threat model was created, in UTC format.</p>
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
createdAt?: Date | undefined;
|
|
473
|
+
/**
|
|
474
|
+
* <p>The date and time the threat model was last updated, in UTC format.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
updatedAt?: Date | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
reportDestination?: ReportDestination | undefined;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* <p>Input for verifying ownership for a registered target domain in an agent space.</p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
export interface VerifyTargetDomainInput {
|
|
489
|
+
/**
|
|
490
|
+
* <p>The unique identifier of the target domain to verify.</p>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
targetDomainId: string | undefined;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* <p>Output for verifying ownership for a registered target domain in an agent space.</p>
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
export interface VerifyTargetDomainOutput {
|
|
500
|
+
/**
|
|
501
|
+
* <p>The unique identifier of the target domain.</p>
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
targetDomainId?: string | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* <p>The domain name of the target domain.</p>
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
domainName?: string | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* <p>The date and time the target domain was created, in UTC format.</p>
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
createdAt?: Date | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* <p>The date and time the target domain was last updated, in UTC format.</p>
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
updatedAt?: Date | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* <p>The date and time the target domain was verified, in UTC format.</p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
verifiedAt?: Date | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* <p>The verification status of the target domain.</p>
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
status?: TargetDomainStatus | undefined;
|
|
530
|
+
/**
|
|
531
|
+
* <p>The reason for the current target domain verification status.</p>
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
verificationStatusReason?: string | undefined;
|
|
535
|
+
}
|
|
@@ -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,11 +76,13 @@ 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;
|
|
78
83
|
export declare var BitbucketResourceCapabilities$: StaticStructureSchema;
|
|
79
84
|
export declare var Category$: StaticStructureSchema;
|
|
85
|
+
export declare var CiCdConfiguration$: StaticStructureSchema;
|
|
80
86
|
export declare var CloudWatchLog$: StaticStructureSchema;
|
|
81
87
|
export declare var CodeLocation$: StaticStructureSchema;
|
|
82
88
|
export declare var CodeRemediationTask$: StaticStructureSchema;
|
|
@@ -231,6 +237,8 @@ export declare var PentestSummary$: StaticStructureSchema;
|
|
|
231
237
|
export declare var PrivateConnectionSummary$: StaticStructureSchema;
|
|
232
238
|
export declare var ReportDestination$: StaticStructureSchema;
|
|
233
239
|
export declare var ReportFilters$: StaticStructureSchema;
|
|
240
|
+
export declare var ScopeChange$: StaticStructureSchema;
|
|
241
|
+
export declare var ScopeResult$: StaticStructureSchema;
|
|
234
242
|
export declare var SecurityRequirementArtifact$: StaticStructureSchema;
|
|
235
243
|
export declare var SecurityRequirementPackSummary$: StaticStructureSchema;
|
|
236
244
|
export declare var SecurityRequirementSummary$: StaticStructureSchema;
|
|
@@ -281,6 +289,8 @@ export declare var UpdateFindingInput$: StaticStructureSchema;
|
|
|
281
289
|
export declare var UpdateFindingOutput$: StaticStructureSchema;
|
|
282
290
|
export declare var UpdateIntegratedResourcesInput$: StaticStructureSchema;
|
|
283
291
|
export declare var UpdateIntegratedResourcesOutput$: StaticStructureSchema;
|
|
292
|
+
export declare var UpdateIntegrationInput$: StaticStructureSchema;
|
|
293
|
+
export declare var UpdateIntegrationOutput$: StaticStructureSchema;
|
|
284
294
|
export declare var UpdatePentestInput$: StaticStructureSchema;
|
|
285
295
|
export declare var UpdatePentestOutput$: StaticStructureSchema;
|
|
286
296
|
export declare var UpdatePrivateConnectionCertificateInput$: StaticStructureSchema;
|
|
@@ -400,6 +410,7 @@ export declare var UpdateApplication$: StaticOperationSchema;
|
|
|
400
410
|
export declare var UpdateCodeReview$: StaticOperationSchema;
|
|
401
411
|
export declare var UpdateFinding$: StaticOperationSchema;
|
|
402
412
|
export declare var UpdateIntegratedResources$: StaticOperationSchema;
|
|
413
|
+
export declare var UpdateIntegration$: StaticOperationSchema;
|
|
403
414
|
export declare var UpdatePentest$: StaticOperationSchema;
|
|
404
415
|
export declare var UpdatePrivateConnectionCertificate$: StaticOperationSchema;
|
|
405
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 {}
|