@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.
Files changed (59) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +232 -73
  3. package/dist-es/SecurityAgent.js +4 -0
  4. package/dist-es/commands/BatchDisassociateFindingIssueCommand.js +4 -0
  5. package/dist-es/commands/BatchExportFindingsCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/SecurityAgentServiceException.js +1 -0
  8. package/dist-es/models/enums.js +14 -7
  9. package/dist-es/models/errors.js +7 -0
  10. package/dist-es/schemas/schemas_0.js +182 -65
  11. package/dist-types/SecurityAgent.d.ts +14 -0
  12. package/dist-types/SecurityAgentClient.d.ts +4 -2
  13. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
  14. package/dist-types/commands/BatchDisassociateFindingIssueCommand.d.ts +103 -0
  15. package/dist-types/commands/BatchExportFindingsCommand.d.ts +121 -0
  16. package/dist-types/commands/BatchGetFindingsCommand.d.ts +9 -0
  17. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +3 -0
  18. package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
  19. package/dist-types/commands/CreateIntegrationCommand.d.ts +7 -1
  20. package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
  21. package/dist-types/commands/GetIntegrationCommand.d.ts +3 -2
  22. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
  23. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -1
  24. package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -4
  25. package/dist-types/commands/StopCodeReviewJobCommand.d.ts +1 -1
  26. package/dist-types/commands/StopPentestJobCommand.d.ts +1 -1
  27. package/dist-types/commands/StopThreatModelJobCommand.d.ts +1 -1
  28. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateCodeReviewCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -0
  32. package/dist-types/commands/UpdatePentestCommand.d.ts +6 -0
  33. package/dist-types/commands/UpdateTargetDomainCommand.d.ts +1 -1
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/SecurityAgentServiceException.d.ts +1 -0
  36. package/dist-types/models/enums.d.ts +36 -15
  37. package/dist-types/models/errors.d.ts +7 -0
  38. package/dist-types/models/models_0.d.ts +436 -314
  39. package/dist-types/models/models_1.d.ts +311 -2
  40. package/dist-types/schemas/schemas_0.d.ts +16 -0
  41. package/dist-types/ts3.4/SecurityAgent.d.ts +34 -0
  42. package/dist-types/ts3.4/SecurityAgentClient.d.ts +12 -0
  43. package/dist-types/ts3.4/commands/BatchDisassociateFindingIssueCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/BatchExportFindingsCommand.d.ts +39 -0
  45. package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  53. package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -0
  54. package/dist-types/ts3.4/models/enums.d.ts +16 -8
  55. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +150 -66
  57. package/dist-types/ts3.4/models/models_1.d.ts +72 -0
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  59. package/package.json +4 -4
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { BatchExportFindings$ } from "../schemas/schemas_0";
3
+ export class BatchExportFindingsCommand extends command(_ep0, _mw0, "BatchExportFindings", BatchExportFindings$) {
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);
@@ -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",
@@ -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) {