@aws-sdk/client-securityagent 3.1148.0 → 3.1150.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 +14 -0
- package/dist-cjs/index.js +232 -73
- package/dist-es/SecurityAgent.js +4 -0
- package/dist-es/commands/BatchDisassociateFindingIssueCommand.js +4 -0
- package/dist-es/commands/BatchExportFindingsCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/SecurityAgentServiceException.js +1 -0
- package/dist-es/models/enums.js +14 -7
- package/dist-es/models/errors.js +7 -0
- package/dist-es/schemas/schemas_0.js +182 -65
- package/dist-types/SecurityAgent.d.ts +14 -0
- package/dist-types/SecurityAgentClient.d.ts +4 -2
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
- package/dist-types/commands/BatchDisassociateFindingIssueCommand.d.ts +103 -0
- package/dist-types/commands/BatchExportFindingsCommand.d.ts +121 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +9 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +7 -1
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +3 -2
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -1
- package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -4
- package/dist-types/commands/StopCodeReviewJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPentestJobCommand.d.ts +1 -1
- package/dist-types/commands/StopThreatModelJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +6 -0
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/SecurityAgentServiceException.d.ts +1 -0
- package/dist-types/models/enums.d.ts +36 -15
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +436 -314
- package/dist-types/models/models_1.d.ts +311 -2
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +34 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchDisassociateFindingIssueCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchExportFindingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +16 -8
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +150 -66
- package/dist-types/ts3.4/models/models_1.d.ts +72 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +4 -4
|
@@ -1,5 +1,304 @@
|
|
|
1
|
-
import type { CodeRemediationStrategy, FindingStatus, RiskLevel, 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";
|
|
1
|
+
import type { CodeRemediationStrategy, DomainVerificationMethod, FindingStatus, RiskLevel, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus, ValidationMode } from "./enums";
|
|
2
|
+
import type { Assets, CiCdConfiguration, CloudWatchLog, DocumentInfo, IntegratedResourceInputItem, NetworkTrafficConfig, ReportDestination, ReportFilters, TestScope, ThreatAnchorShape, ThreatEvidenceShape, VerificationDetails, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Input for stopping the execution of a code review job.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface StopCodeReviewJobInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The unique identifier of the agent space.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
agentSpaceId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The unique identifier of the code review job to stop.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
codeReviewJobId: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>Output for the StopCodeReviewJob operation.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface StopCodeReviewJobOutput {
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* <p>Input for stopping the execution of a pentest.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface StopPentestJobInput {
|
|
30
|
+
/**
|
|
31
|
+
* <p>The unique identifier of the agent space.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
agentSpaceId: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The unique identifier of the pentest job to stop.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
pentestJobId: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>Output for the StopPentestJob operation.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface StopPentestJobOutput {
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* <p>Input for stopping a threat model job.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface StopThreatModelJobInput {
|
|
52
|
+
/**
|
|
53
|
+
* <p>The unique identifier of the agent space.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
agentSpaceId: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The unique identifier of the threat model job to stop.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
threatModelJobId: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>Output for the StopThreatModelJob operation.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface StopThreatModelJobOutput {
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* <p>Input for TagResource operation.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export interface TagResourceInput {
|
|
74
|
+
/**
|
|
75
|
+
* <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
resourceArn: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The tags to add to the resource.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
tags: Record<string, string> | undefined;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* <p>Output for TagResource operation.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export interface TagResourceOutput {
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* <p>Input for updating a target domain.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export interface UpdateTargetDomainInput {
|
|
96
|
+
/**
|
|
97
|
+
* <p>The unique identifier of the target domain to update.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
targetDomainId: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The updated verification method for the target domain.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
verificationMethod: DomainVerificationMethod | undefined;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* <p>Output for the UpdateTargetDomain operation.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface UpdateTargetDomainOutput {
|
|
112
|
+
/**
|
|
113
|
+
* <p>The unique identifier of the target domain.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
targetDomainId: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* <p>The domain name of the target domain.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
domainName: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* <p>The current verification status of the target domain.</p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
verificationStatus: TargetDomainStatus | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* <p>The reason for the current target domain verification status.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
verificationStatusReason?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* <p>The updated verification details for the target domain.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
verificationDetails?: VerificationDetails | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* <p>The date and time the target domain was created, in UTC format.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
createdAt?: Date | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>The date and time the target domain was verified, in UTC format.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
verifiedAt?: Date | undefined;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* <p>Input for UntagResource operation.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export interface UntagResourceInput {
|
|
153
|
+
/**
|
|
154
|
+
* <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
resourceArn: string | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>The list of tag keys to remove from the resource.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
tagKeys: string[] | undefined;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* <p>Output for UntagResource operation.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export interface UntagResourceOutput {
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* <p>Input for updating an existing code review.</p>
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export interface UpdateCodeReviewInput {
|
|
175
|
+
/**
|
|
176
|
+
* <p>The unique identifier of the code review to update.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
codeReviewId: string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
agentSpaceId: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* <p>The updated title of the code review.</p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
title?: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* <p>The updated assets for the code review.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
assets?: Assets | undefined;
|
|
195
|
+
/**
|
|
196
|
+
* <p>The updated IAM service role for the code review.</p>
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
serviceRole?: string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* <p>The updated CloudWatch Logs configuration for the code review.</p>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
logConfig?: CloudWatchLog | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* <p>The updated code remediation strategy for the code review.</p>
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* <p>The updated validation mode for the code review. Valid values are SIMULATED and DISABLED.</p>
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
validationMode?: ValidationMode | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* <p>The updated maximum number of billable task hours allowed for jobs started from this code review.</p>
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
maxTaskHours?: number | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
reportDestination?: ReportDestination | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>The report-generation filters applied when the report is exported.</p>
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
reportFilters?: ReportFilters | undefined;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* <p>Output for the UpdateCodeReview operation.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export interface UpdateCodeReviewOutput {
|
|
236
|
+
/**
|
|
237
|
+
* <p>The unique identifier of the code review.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
codeReviewId: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* <p>The title of the code review.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
title?: string | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* <p>The date and time the code review was created, in UTC format.</p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
createdAt?: Date | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* <p>The date and time the code review was last updated, in UTC format.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
updatedAt?: Date | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* <p>The assets included in the code review.</p>
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
assets?: Assets | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* <p>The IAM service role used for the code review.</p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
serviceRole?: string | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* <p>The CloudWatch Logs configuration for the code review.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
logConfig?: CloudWatchLog | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
agentSpaceId?: string | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* <p>The code remediation strategy for the code review.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p>The validation mode for the code review.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
validationMode?: ValidationMode | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* <p>The maximum number of billable task hours configured for jobs started from this code review. Null if no budget cap is set.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
maxTaskHours?: number | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
reportDestination?: ReportDestination | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The report-generation filters applied when the report is exported.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
reportFilters?: ReportFilters | undefined;
|
|
301
|
+
}
|
|
3
302
|
/**
|
|
4
303
|
* <p>Input for updating an existing security finding.</p>
|
|
5
304
|
* @public
|
|
@@ -172,6 +471,11 @@ export interface UpdatePentestInput {
|
|
|
172
471
|
* @public
|
|
173
472
|
*/
|
|
174
473
|
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* <p>The category of application a pentest targets.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
testScope?: TestScope | undefined;
|
|
175
479
|
}
|
|
176
480
|
/**
|
|
177
481
|
* <p>Output for the UpdatePentest operation.</p>
|
|
@@ -238,6 +542,11 @@ export interface UpdatePentestOutput {
|
|
|
238
542
|
* @public
|
|
239
543
|
*/
|
|
240
544
|
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* <p>The category of application a pentest targets.</p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
testScope?: TestScope | undefined;
|
|
241
550
|
}
|
|
242
551
|
/**
|
|
243
552
|
* <p>Input for updating an existing threat.</p>
|
|
@@ -42,6 +42,13 @@ export declare var BatchDeleteSecurityRequirementsInput$: StaticStructureSchema;
|
|
|
42
42
|
export declare var BatchDeleteSecurityRequirementsOutput$: StaticStructureSchema;
|
|
43
43
|
export declare var BatchDeleteThreatModelsInput$: StaticStructureSchema;
|
|
44
44
|
export declare var BatchDeleteThreatModelsOutput$: StaticStructureSchema;
|
|
45
|
+
export declare var BatchDisassociateFindingIssueError$: StaticStructureSchema;
|
|
46
|
+
export declare var BatchDisassociateFindingIssueInput$: StaticStructureSchema;
|
|
47
|
+
export declare var BatchDisassociateFindingIssueOutput$: StaticStructureSchema;
|
|
48
|
+
export declare var BatchExportFindingError$: StaticStructureSchema;
|
|
49
|
+
export declare var BatchExportFindingResult$: StaticStructureSchema;
|
|
50
|
+
export declare var BatchExportFindingsInput$: StaticStructureSchema;
|
|
51
|
+
export declare var BatchExportFindingsOutput$: StaticStructureSchema;
|
|
45
52
|
export declare var BatchGetAgentSpacesInput$: StaticStructureSchema;
|
|
46
53
|
export declare var BatchGetAgentSpacesOutput$: StaticStructureSchema;
|
|
47
54
|
export declare var BatchGetArtifactMetadataInput$: StaticStructureSchema;
|
|
@@ -177,6 +184,12 @@ export declare var IntegratedRepository$: StaticStructureSchema;
|
|
|
177
184
|
export declare var IntegratedResourceInputItem$: StaticStructureSchema;
|
|
178
185
|
export declare var IntegratedResourceSummary$: StaticStructureSchema;
|
|
179
186
|
export declare var IntegrationSummary$: StaticStructureSchema;
|
|
187
|
+
export declare var IssueDestination$: StaticStructureSchema;
|
|
188
|
+
export declare var JiraIntegrationInput$: StaticStructureSchema;
|
|
189
|
+
export declare var JiraProjectMetadata$: StaticStructureSchema;
|
|
190
|
+
export declare var JiraProjectResource$: StaticStructureSchema;
|
|
191
|
+
export declare var JiraResourceCapabilities$: StaticStructureSchema;
|
|
192
|
+
export declare var LinkedIssue$: StaticStructureSchema;
|
|
180
193
|
export declare var ListActorMessagesInput$: StaticStructureSchema;
|
|
181
194
|
export declare var ListActorMessagesOutput$: StaticStructureSchema;
|
|
182
195
|
export declare var ListAgentSpacesInput$: StaticStructureSchema;
|
|
@@ -266,6 +279,7 @@ export declare var TargetDomain$: StaticStructureSchema;
|
|
|
266
279
|
export declare var TargetDomainSummary$: StaticStructureSchema;
|
|
267
280
|
export declare var Task$: StaticStructureSchema;
|
|
268
281
|
export declare var TaskSummary$: StaticStructureSchema;
|
|
282
|
+
export declare var TestScope$: StaticStructureSchema;
|
|
269
283
|
export declare var Threat$: StaticStructureSchema;
|
|
270
284
|
export declare var ThreatAnchorShape$: StaticStructureSchema;
|
|
271
285
|
export declare var ThreatEvidenceShape$: StaticStructureSchema;
|
|
@@ -332,6 +346,8 @@ export declare var BatchDeleteCodeReviews$: StaticOperationSchema;
|
|
|
332
346
|
export declare var BatchDeletePentests$: StaticOperationSchema;
|
|
333
347
|
export declare var BatchDeleteSecurityRequirements$: StaticOperationSchema;
|
|
334
348
|
export declare var BatchDeleteThreatModels$: StaticOperationSchema;
|
|
349
|
+
export declare var BatchDisassociateFindingIssue$: StaticOperationSchema;
|
|
350
|
+
export declare var BatchExportFindings$: StaticOperationSchema;
|
|
335
351
|
export declare var BatchGetAgentSpaces$: StaticOperationSchema;
|
|
336
352
|
export declare var BatchGetArtifactMetadata$: StaticOperationSchema;
|
|
337
353
|
export declare var BatchGetCodeReviewJobs$: StaticOperationSchema;
|
|
@@ -25,6 +25,14 @@ import {
|
|
|
25
25
|
BatchDeleteThreatModelsCommandInput,
|
|
26
26
|
BatchDeleteThreatModelsCommandOutput,
|
|
27
27
|
} from "./commands/BatchDeleteThreatModelsCommand";
|
|
28
|
+
import {
|
|
29
|
+
BatchDisassociateFindingIssueCommandInput,
|
|
30
|
+
BatchDisassociateFindingIssueCommandOutput,
|
|
31
|
+
} from "./commands/BatchDisassociateFindingIssueCommand";
|
|
32
|
+
import {
|
|
33
|
+
BatchExportFindingsCommandInput,
|
|
34
|
+
BatchExportFindingsCommandOutput,
|
|
35
|
+
} from "./commands/BatchExportFindingsCommand";
|
|
28
36
|
import {
|
|
29
37
|
BatchGetAgentSpacesCommandInput,
|
|
30
38
|
BatchGetAgentSpacesCommandOutput,
|
|
@@ -451,6 +459,32 @@ export interface SecurityAgent {
|
|
|
451
459
|
options: SecurityAgentRequestOptions,
|
|
452
460
|
cb: (err: any, data?: BatchDeleteThreatModelsCommandOutput) => void,
|
|
453
461
|
): void;
|
|
462
|
+
batchDisassociateFindingIssue(
|
|
463
|
+
args: BatchDisassociateFindingIssueCommandInput,
|
|
464
|
+
options?: SecurityAgentRequestOptions,
|
|
465
|
+
): Promise<BatchDisassociateFindingIssueCommandOutput>;
|
|
466
|
+
batchDisassociateFindingIssue(
|
|
467
|
+
args: BatchDisassociateFindingIssueCommandInput,
|
|
468
|
+
cb: (err: any, data?: BatchDisassociateFindingIssueCommandOutput) => void,
|
|
469
|
+
): void;
|
|
470
|
+
batchDisassociateFindingIssue(
|
|
471
|
+
args: BatchDisassociateFindingIssueCommandInput,
|
|
472
|
+
options: SecurityAgentRequestOptions,
|
|
473
|
+
cb: (err: any, data?: BatchDisassociateFindingIssueCommandOutput) => void,
|
|
474
|
+
): void;
|
|
475
|
+
batchExportFindings(
|
|
476
|
+
args: BatchExportFindingsCommandInput,
|
|
477
|
+
options?: SecurityAgentRequestOptions,
|
|
478
|
+
): Promise<BatchExportFindingsCommandOutput>;
|
|
479
|
+
batchExportFindings(
|
|
480
|
+
args: BatchExportFindingsCommandInput,
|
|
481
|
+
cb: (err: any, data?: BatchExportFindingsCommandOutput) => void,
|
|
482
|
+
): void;
|
|
483
|
+
batchExportFindings(
|
|
484
|
+
args: BatchExportFindingsCommandInput,
|
|
485
|
+
options: SecurityAgentRequestOptions,
|
|
486
|
+
cb: (err: any, data?: BatchExportFindingsCommandOutput) => void,
|
|
487
|
+
): void;
|
|
454
488
|
batchGetAgentSpaces(
|
|
455
489
|
args: BatchGetAgentSpacesCommandInput,
|
|
456
490
|
options?: SecurityAgentRequestOptions,
|
|
@@ -54,6 +54,14 @@ import {
|
|
|
54
54
|
BatchDeleteThreatModelsCommandInput,
|
|
55
55
|
BatchDeleteThreatModelsCommandOutput,
|
|
56
56
|
} from "./commands/BatchDeleteThreatModelsCommand";
|
|
57
|
+
import {
|
|
58
|
+
BatchDisassociateFindingIssueCommandInput,
|
|
59
|
+
BatchDisassociateFindingIssueCommandOutput,
|
|
60
|
+
} from "./commands/BatchDisassociateFindingIssueCommand";
|
|
61
|
+
import {
|
|
62
|
+
BatchExportFindingsCommandInput,
|
|
63
|
+
BatchExportFindingsCommandOutput,
|
|
64
|
+
} from "./commands/BatchExportFindingsCommand";
|
|
57
65
|
import {
|
|
58
66
|
BatchGetAgentSpacesCommandInput,
|
|
59
67
|
BatchGetAgentSpacesCommandOutput,
|
|
@@ -411,6 +419,8 @@ export type ServiceInputTypes =
|
|
|
411
419
|
| BatchDeletePentestsCommandInput
|
|
412
420
|
| BatchDeleteSecurityRequirementsCommandInput
|
|
413
421
|
| BatchDeleteThreatModelsCommandInput
|
|
422
|
+
| BatchDisassociateFindingIssueCommandInput
|
|
423
|
+
| BatchExportFindingsCommandInput
|
|
414
424
|
| BatchGetAgentSpacesCommandInput
|
|
415
425
|
| BatchGetArtifactMetadataCommandInput
|
|
416
426
|
| BatchGetCodeReviewJobTasksCommandInput
|
|
@@ -506,6 +516,8 @@ export type ServiceOutputTypes =
|
|
|
506
516
|
| BatchDeletePentestsCommandOutput
|
|
507
517
|
| BatchDeleteSecurityRequirementsCommandOutput
|
|
508
518
|
| BatchDeleteThreatModelsCommandOutput
|
|
519
|
+
| BatchDisassociateFindingIssueCommandOutput
|
|
520
|
+
| BatchExportFindingsCommandOutput
|
|
509
521
|
| BatchGetAgentSpacesCommandOutput
|
|
510
522
|
| BatchGetArtifactMetadataCommandOutput
|
|
511
523
|
| BatchGetCodeReviewJobTasksCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
BatchDisassociateFindingIssueInput,
|
|
4
|
+
BatchDisassociateFindingIssueOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface BatchDisassociateFindingIssueCommandInput extends BatchDisassociateFindingIssueInput {}
|
|
8
|
+
export interface BatchDisassociateFindingIssueCommandOutput
|
|
9
|
+
extends BatchDisassociateFindingIssueOutput, __MetadataBearer {}
|
|
10
|
+
declare const BatchDisassociateFindingIssueCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: BatchDisassociateFindingIssueCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
BatchDisassociateFindingIssueCommandInput,
|
|
15
|
+
BatchDisassociateFindingIssueCommandOutput,
|
|
16
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: BatchDisassociateFindingIssueCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
BatchDisassociateFindingIssueCommandInput,
|
|
24
|
+
BatchDisassociateFindingIssueCommandOutput,
|
|
25
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class BatchDisassociateFindingIssueCommand extends BatchDisassociateFindingIssueCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: BatchDisassociateFindingIssueInput;
|
|
35
|
+
output: BatchDisassociateFindingIssueOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: BatchDisassociateFindingIssueCommandInput;
|
|
39
|
+
output: BatchDisassociateFindingIssueCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { BatchExportFindingsInput, BatchExportFindingsOutput } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface BatchExportFindingsCommandInput extends BatchExportFindingsInput {}
|
|
5
|
+
export interface BatchExportFindingsCommandOutput
|
|
6
|
+
extends BatchExportFindingsOutput, __MetadataBearer {}
|
|
7
|
+
declare const BatchExportFindingsCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: BatchExportFindingsCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
BatchExportFindingsCommandInput,
|
|
12
|
+
BatchExportFindingsCommandOutput,
|
|
13
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: BatchExportFindingsCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
BatchExportFindingsCommandInput,
|
|
21
|
+
BatchExportFindingsCommandOutput,
|
|
22
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class BatchExportFindingsCommand extends BatchExportFindingsCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: BatchExportFindingsInput;
|
|
32
|
+
output: BatchExportFindingsOutput;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: BatchExportFindingsCommandInput;
|
|
36
|
+
output: BatchExportFindingsCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StopCodeReviewJobInput, StopCodeReviewJobOutput } from "../models/
|
|
2
|
+
import { StopCodeReviewJobInput, StopCodeReviewJobOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface StopCodeReviewJobCommandInput extends StopCodeReviewJobInput {}
|
|
5
5
|
export interface StopCodeReviewJobCommandOutput extends StopCodeReviewJobOutput, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StopPentestJobInput, StopPentestJobOutput } from "../models/
|
|
2
|
+
import { StopPentestJobInput, StopPentestJobOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface StopPentestJobCommandInput extends StopPentestJobInput {}
|
|
5
5
|
export interface StopPentestJobCommandOutput extends StopPentestJobOutput, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StopThreatModelJobInput, StopThreatModelJobOutput } from "../models/
|
|
2
|
+
import { StopThreatModelJobInput, StopThreatModelJobOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface StopThreatModelJobCommandInput extends StopThreatModelJobInput {}
|
|
5
5
|
export interface StopThreatModelJobCommandOutput
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { TagResourceInput, TagResourceOutput } from "../models/
|
|
2
|
+
import { TagResourceInput, TagResourceOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface TagResourceCommandInput extends TagResourceInput {}
|
|
5
5
|
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UntagResourceInput, UntagResourceOutput } from "../models/
|
|
2
|
+
import { UntagResourceInput, UntagResourceOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UntagResourceCommandInput extends UntagResourceInput {}
|
|
5
5
|
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateCodeReviewInput, UpdateCodeReviewOutput } from "../models/
|
|
2
|
+
import { UpdateCodeReviewInput, UpdateCodeReviewOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateCodeReviewCommandInput extends UpdateCodeReviewInput {}
|
|
5
5
|
export interface UpdateCodeReviewCommandOutput extends UpdateCodeReviewOutput, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateTargetDomainInput, UpdateTargetDomainOutput } from "../models/
|
|
2
|
+
import { UpdateTargetDomainInput, UpdateTargetDomainOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateTargetDomainCommandInput extends UpdateTargetDomainInput {}
|
|
5
5
|
export interface UpdateTargetDomainCommandOutput
|
|
@@ -4,6 +4,8 @@ export * from "./BatchDeleteCodeReviewsCommand";
|
|
|
4
4
|
export * from "./BatchDeletePentestsCommand";
|
|
5
5
|
export * from "./BatchDeleteSecurityRequirementsCommand";
|
|
6
6
|
export * from "./BatchDeleteThreatModelsCommand";
|
|
7
|
+
export * from "./BatchDisassociateFindingIssueCommand";
|
|
8
|
+
export * from "./BatchExportFindingsCommand";
|
|
7
9
|
export * from "./BatchGetAgentSpacesCommand";
|
|
8
10
|
export * from "./BatchGetArtifactMetadataCommand";
|
|
9
11
|
export * from "./BatchGetCodeReviewJobTasksCommand";
|
|
@@ -130,12 +130,26 @@ export declare const TaskExecutionStatus: {
|
|
|
130
130
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
131
131
|
};
|
|
132
132
|
export type TaskExecutionStatus = (typeof TaskExecutionStatus)[keyof typeof TaskExecutionStatus];
|
|
133
|
+
export declare const TestScopeType: {
|
|
134
|
+
readonly GENERATIVE_AI_APP: "GENERATIVE_AI_APP";
|
|
135
|
+
readonly WEB_APP: "WEB_APP";
|
|
136
|
+
};
|
|
137
|
+
export type TestScopeType = (typeof TestScopeType)[keyof typeof TestScopeType];
|
|
133
138
|
export declare const ErrorCode: {
|
|
134
139
|
readonly CLIENT_ERROR: "CLIENT_ERROR";
|
|
135
140
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
136
141
|
readonly STOPPED_BY_USER: "STOPPED_BY_USER";
|
|
137
142
|
};
|
|
138
143
|
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
144
|
+
export declare const Provider: {
|
|
145
|
+
readonly AZURE_DEVOPS: "AZURE_DEVOPS";
|
|
146
|
+
readonly BITBUCKET: "BITBUCKET";
|
|
147
|
+
readonly CONFLUENCE: "CONFLUENCE";
|
|
148
|
+
readonly GITHUB: "GITHUB";
|
|
149
|
+
readonly GITLAB: "GITLAB";
|
|
150
|
+
readonly JIRA: "JIRA";
|
|
151
|
+
};
|
|
152
|
+
export type Provider = (typeof Provider)[keyof typeof Provider];
|
|
139
153
|
export declare const ContextType: {
|
|
140
154
|
readonly CLIENT_ERROR: "CLIENT_ERROR";
|
|
141
155
|
readonly ERROR: "ERROR";
|
|
@@ -254,14 +268,6 @@ export declare const GitLabTokenType: {
|
|
|
254
268
|
readonly PERSONAL: "PERSONAL";
|
|
255
269
|
};
|
|
256
270
|
export type GitLabTokenType = (typeof GitLabTokenType)[keyof typeof GitLabTokenType];
|
|
257
|
-
export declare const Provider: {
|
|
258
|
-
readonly AZURE_DEVOPS: "AZURE_DEVOPS";
|
|
259
|
-
readonly BITBUCKET: "BITBUCKET";
|
|
260
|
-
readonly CONFLUENCE: "CONFLUENCE";
|
|
261
|
-
readonly GITHUB: "GITHUB";
|
|
262
|
-
readonly GITLAB: "GITLAB";
|
|
263
|
-
};
|
|
264
|
-
export type Provider = (typeof Provider)[keyof typeof Provider];
|
|
265
271
|
export declare const UserRole: {
|
|
266
272
|
readonly MEMBER: "MEMBER";
|
|
267
273
|
};
|
|
@@ -305,6 +311,7 @@ export type SecurityRequirementPackStatus =
|
|
|
305
311
|
(typeof SecurityRequirementPackStatus)[keyof typeof SecurityRequirementPackStatus];
|
|
306
312
|
export declare const ProviderType: {
|
|
307
313
|
readonly DOCUMENTATION: "DOCUMENTATION";
|
|
314
|
+
readonly ISSUE_TRACKING: "ISSUE_TRACKING";
|
|
308
315
|
readonly SOURCE_CODE: "SOURCE_CODE";
|
|
309
316
|
};
|
|
310
317
|
export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
@@ -338,6 +345,7 @@ export type WebhookAction = (typeof WebhookAction)[keyof typeof WebhookAction];
|
|
|
338
345
|
export declare const ResourceType: {
|
|
339
346
|
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
340
347
|
readonly DOCUMENT: "DOCUMENT";
|
|
348
|
+
readonly PROJECT: "PROJECT";
|
|
341
349
|
};
|
|
342
350
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
343
351
|
export declare const MembershipTypeFilter: {
|