@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
@@ -402,6 +402,24 @@ export declare const TaskExecutionStatus: {
402
402
  * @public
403
403
  */
404
404
  export type TaskExecutionStatus = (typeof TaskExecutionStatus)[keyof typeof TaskExecutionStatus];
405
+ /**
406
+ * @public
407
+ * @enum
408
+ */
409
+ export declare const TestScopeType: {
410
+ /**
411
+ * <p>A generative AI application.</p>
412
+ */
413
+ readonly GENERATIVE_AI_APP: "GENERATIVE_AI_APP";
414
+ /**
415
+ * <p>A traditional web application.</p>
416
+ */
417
+ readonly WEB_APP: "WEB_APP";
418
+ };
419
+ /**
420
+ * @public
421
+ */
422
+ export type TestScopeType = (typeof TestScopeType)[keyof typeof TestScopeType];
405
423
  /**
406
424
  * @public
407
425
  * @enum
@@ -424,6 +442,22 @@ export declare const ErrorCode: {
424
442
  * @public
425
443
  */
426
444
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
445
+ /**
446
+ * @public
447
+ * @enum
448
+ */
449
+ export declare const Provider: {
450
+ readonly AZURE_DEVOPS: "AZURE_DEVOPS";
451
+ readonly BITBUCKET: "BITBUCKET";
452
+ readonly CONFLUENCE: "CONFLUENCE";
453
+ readonly GITHUB: "GITHUB";
454
+ readonly GITLAB: "GITLAB";
455
+ readonly JIRA: "JIRA";
456
+ };
457
+ /**
458
+ * @public
459
+ */
460
+ export type Provider = (typeof Provider)[keyof typeof Provider];
427
461
  /**
428
462
  * @public
429
463
  * @enum
@@ -774,21 +808,6 @@ export declare const GitLabTokenType: {
774
808
  * @public
775
809
  */
776
810
  export type GitLabTokenType = (typeof GitLabTokenType)[keyof typeof GitLabTokenType];
777
- /**
778
- * @public
779
- * @enum
780
- */
781
- export declare const Provider: {
782
- readonly AZURE_DEVOPS: "AZURE_DEVOPS";
783
- readonly BITBUCKET: "BITBUCKET";
784
- readonly CONFLUENCE: "CONFLUENCE";
785
- readonly GITHUB: "GITHUB";
786
- readonly GITLAB: "GITLAB";
787
- };
788
- /**
789
- * @public
790
- */
791
- export type Provider = (typeof Provider)[keyof typeof Provider];
792
811
  /**
793
812
  * @public
794
813
  * @enum
@@ -887,6 +906,7 @@ export type SecurityRequirementPackStatus = (typeof SecurityRequirementPackStatu
887
906
  */
888
907
  export declare const ProviderType: {
889
908
  readonly DOCUMENTATION: "DOCUMENTATION";
909
+ readonly ISSUE_TRACKING: "ISSUE_TRACKING";
890
910
  readonly SOURCE_CODE: "SOURCE_CODE";
891
911
  };
892
912
  /**
@@ -959,6 +979,7 @@ export type WebhookAction = (typeof WebhookAction)[keyof typeof WebhookAction];
959
979
  export declare const ResourceType: {
960
980
  readonly CODE_REPOSITORY: "CODE_REPOSITORY";
961
981
  readonly DOCUMENT: "DOCUMENT";
982
+ readonly PROJECT: "PROJECT";
962
983
  };
963
984
  /**
964
985
  * @public
@@ -6,6 +6,7 @@ import { SecurityAgentServiceException as __BaseException } from "./SecurityAgen
6
6
  * @public
7
7
  */
8
8
  export declare class AccessDeniedException extends __BaseException {
9
+ static readonly shapeId: string;
9
10
  readonly name: "AccessDeniedException";
10
11
  readonly $fault: "client";
11
12
  /**
@@ -18,6 +19,7 @@ export declare class AccessDeniedException extends __BaseException {
18
19
  * @public
19
20
  */
20
21
  export declare class InternalServerException extends __BaseException {
22
+ static readonly shapeId: string;
21
23
  readonly name: "InternalServerException";
22
24
  readonly $fault: "server";
23
25
  /**
@@ -30,6 +32,7 @@ export declare class InternalServerException extends __BaseException {
30
32
  * @public
31
33
  */
32
34
  export declare class ResourceNotFoundException extends __BaseException {
35
+ static readonly shapeId: string;
33
36
  readonly name: "ResourceNotFoundException";
34
37
  readonly $fault: "client";
35
38
  /**
@@ -42,6 +45,7 @@ export declare class ResourceNotFoundException extends __BaseException {
42
45
  * @public
43
46
  */
44
47
  export declare class ThrottlingException extends __BaseException {
48
+ static readonly shapeId: string;
45
49
  readonly name: "ThrottlingException";
46
50
  readonly $fault: "client";
47
51
  /**
@@ -64,6 +68,7 @@ export declare class ThrottlingException extends __BaseException {
64
68
  * @public
65
69
  */
66
70
  export declare class ValidationException extends __BaseException {
71
+ static readonly shapeId: string;
67
72
  readonly name: "ValidationException";
68
73
  readonly $fault: "client";
69
74
  /**
@@ -81,6 +86,7 @@ export declare class ValidationException extends __BaseException {
81
86
  * @public
82
87
  */
83
88
  export declare class ConflictException extends __BaseException {
89
+ static readonly shapeId: string;
84
90
  readonly name: "ConflictException";
85
91
  readonly $fault: "client";
86
92
  /**
@@ -93,6 +99,7 @@ export declare class ConflictException extends __BaseException {
93
99
  * @public
94
100
  */
95
101
  export declare class ServiceQuotaExceededException extends __BaseException {
102
+ static readonly shapeId: string;
96
103
  readonly name: "ServiceQuotaExceededException";
97
104
  readonly $fault: "client";
98
105
  /**