@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
package/dist-es/SecurityAgent.js
CHANGED
|
@@ -5,6 +5,8 @@ import { BatchDeleteCodeReviewsCommand, } from "./commands/BatchDeleteCodeReview
|
|
|
5
5
|
import { BatchDeletePentestsCommand, } from "./commands/BatchDeletePentestsCommand";
|
|
6
6
|
import { BatchDeleteSecurityRequirementsCommand, } from "./commands/BatchDeleteSecurityRequirementsCommand";
|
|
7
7
|
import { BatchDeleteThreatModelsCommand, } from "./commands/BatchDeleteThreatModelsCommand";
|
|
8
|
+
import { BatchDisassociateFindingIssueCommand, } from "./commands/BatchDisassociateFindingIssueCommand";
|
|
9
|
+
import { BatchExportFindingsCommand, } from "./commands/BatchExportFindingsCommand";
|
|
8
10
|
import { BatchGetAgentSpacesCommand, } from "./commands/BatchGetAgentSpacesCommand";
|
|
9
11
|
import { BatchGetArtifactMetadataCommand, } from "./commands/BatchGetArtifactMetadataCommand";
|
|
10
12
|
import { BatchGetCodeReviewJobsCommand, } from "./commands/BatchGetCodeReviewJobsCommand";
|
|
@@ -124,6 +126,8 @@ const commands = {
|
|
|
124
126
|
BatchDeletePentestsCommand,
|
|
125
127
|
BatchDeleteSecurityRequirementsCommand,
|
|
126
128
|
BatchDeleteThreatModelsCommand,
|
|
129
|
+
BatchDisassociateFindingIssueCommand,
|
|
130
|
+
BatchExportFindingsCommand,
|
|
127
131
|
BatchGetAgentSpacesCommand,
|
|
128
132
|
BatchGetArtifactMetadataCommand,
|
|
129
133
|
BatchGetCodeReviewJobsCommand,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { BatchDisassociateFindingIssue$ } from "../schemas/schemas_0";
|
|
3
|
+
export class BatchDisassociateFindingIssueCommand extends command(_ep0, _mw0, "BatchDisassociateFindingIssue", BatchDisassociateFindingIssue$) {
|
|
4
|
+
}
|
|
@@ -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";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SecurityAgentServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.securityagent#SecurityAgentServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SecurityAgentServiceException.prototype);
|
package/dist-es/models/enums.js
CHANGED
|
@@ -109,11 +109,23 @@ export const TaskExecutionStatus = {
|
|
|
109
109
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
110
110
|
IN_PROGRESS: "IN_PROGRESS",
|
|
111
111
|
};
|
|
112
|
+
export const TestScopeType = {
|
|
113
|
+
GENERATIVE_AI_APP: "GENERATIVE_AI_APP",
|
|
114
|
+
WEB_APP: "WEB_APP",
|
|
115
|
+
};
|
|
112
116
|
export const ErrorCode = {
|
|
113
117
|
CLIENT_ERROR: "CLIENT_ERROR",
|
|
114
118
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
115
119
|
STOPPED_BY_USER: "STOPPED_BY_USER",
|
|
116
120
|
};
|
|
121
|
+
export const Provider = {
|
|
122
|
+
AZURE_DEVOPS: "AZURE_DEVOPS",
|
|
123
|
+
BITBUCKET: "BITBUCKET",
|
|
124
|
+
CONFLUENCE: "CONFLUENCE",
|
|
125
|
+
GITHUB: "GITHUB",
|
|
126
|
+
GITLAB: "GITLAB",
|
|
127
|
+
JIRA: "JIRA",
|
|
128
|
+
};
|
|
117
129
|
export const ContextType = {
|
|
118
130
|
CLIENT_ERROR: "CLIENT_ERROR",
|
|
119
131
|
ERROR: "ERROR",
|
|
@@ -212,13 +224,6 @@ export const GitLabTokenType = {
|
|
|
212
224
|
GROUP: "GROUP",
|
|
213
225
|
PERSONAL: "PERSONAL",
|
|
214
226
|
};
|
|
215
|
-
export const Provider = {
|
|
216
|
-
AZURE_DEVOPS: "AZURE_DEVOPS",
|
|
217
|
-
BITBUCKET: "BITBUCKET",
|
|
218
|
-
CONFLUENCE: "CONFLUENCE",
|
|
219
|
-
GITHUB: "GITHUB",
|
|
220
|
-
GITLAB: "GITLAB",
|
|
221
|
-
};
|
|
222
227
|
export const UserRole = {
|
|
223
228
|
MEMBER: "MEMBER",
|
|
224
229
|
};
|
|
@@ -251,6 +256,7 @@ export const SecurityRequirementPackStatus = {
|
|
|
251
256
|
};
|
|
252
257
|
export const ProviderType = {
|
|
253
258
|
DOCUMENTATION: "DOCUMENTATION",
|
|
259
|
+
ISSUE_TRACKING: "ISSUE_TRACKING",
|
|
254
260
|
SOURCE_CODE: "SOURCE_CODE",
|
|
255
261
|
};
|
|
256
262
|
export const SecurityRequirementPackImportStatus = {
|
|
@@ -277,6 +283,7 @@ export const WebhookAction = {
|
|
|
277
283
|
export const ResourceType = {
|
|
278
284
|
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
279
285
|
DOCUMENT: "DOCUMENT",
|
|
286
|
+
PROJECT: "PROJECT",
|
|
280
287
|
};
|
|
281
288
|
export const MembershipTypeFilter = {
|
|
282
289
|
ALL: "ALL",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SecurityAgentServiceException as __BaseException } from "./SecurityAgentServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.securityagent#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class InternalServerException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.securityagent#InternalServerException";
|
|
15
17
|
name = "InternalServerException";
|
|
16
18
|
$fault = "server";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class InternalServerException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class ResourceNotFoundException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.securityagent#ResourceNotFoundException";
|
|
27
30
|
name = "ResourceNotFoundException";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class ThrottlingException extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.securityagent#ThrottlingException";
|
|
39
43
|
name = "ThrottlingException";
|
|
40
44
|
$fault = "client";
|
|
41
45
|
serviceCode;
|
|
@@ -52,6 +56,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
export class ValidationException extends __BaseException {
|
|
59
|
+
static shapeId = "com.amazonaws.securityagent#ValidationException";
|
|
55
60
|
name = "ValidationException";
|
|
56
61
|
$fault = "client";
|
|
57
62
|
fieldList;
|
|
@@ -66,6 +71,7 @@ export class ValidationException extends __BaseException {
|
|
|
66
71
|
}
|
|
67
72
|
}
|
|
68
73
|
export class ConflictException extends __BaseException {
|
|
74
|
+
static shapeId = "com.amazonaws.securityagent#ConflictException";
|
|
69
75
|
name = "ConflictException";
|
|
70
76
|
$fault = "client";
|
|
71
77
|
constructor(opts) {
|
|
@@ -78,6 +84,7 @@ export class ConflictException extends __BaseException {
|
|
|
78
84
|
}
|
|
79
85
|
}
|
|
80
86
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
87
|
+
static shapeId = "com.amazonaws.securityagent#ServiceQuotaExceededException";
|
|
81
88
|
name = "ServiceQuotaExceededException";
|
|
82
89
|
$fault = "client";
|
|
83
90
|
constructor(opts) {
|