@aws-sdk/client-securityagent 3.1070.0 → 3.1072.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 +217 -0
- package/dist-cjs/index.js +573 -1
- package/dist-cjs/models/errors.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +1143 -103
- package/dist-es/SecurityAgent.js +76 -0
- package/dist-es/commands/BatchCreateSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/BatchDeleteSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/BatchDeleteThreatModelsCommand.js +16 -0
- package/dist-es/commands/BatchGetSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatModelJobTasksCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatModelJobsCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatModelsCommand.js +16 -0
- package/dist-es/commands/BatchGetThreatsCommand.js +16 -0
- package/dist-es/commands/BatchUpdateSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/CreatePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/CreateSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/CreateThreatCommand.js +16 -0
- package/dist-es/commands/CreateThreatModelCommand.js +16 -0
- package/dist-es/commands/DeletePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/DeleteSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/DescribePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/GetSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/ImportSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/ListPrivateConnectionsCommand.js +16 -0
- package/dist-es/commands/ListSecurityRequirementPacksCommand.js +16 -0
- package/dist-es/commands/ListSecurityRequirementsCommand.js +16 -0
- package/dist-es/commands/ListThreatModelJobTasksCommand.js +16 -0
- package/dist-es/commands/ListThreatModelJobsCommand.js +16 -0
- package/dist-es/commands/ListThreatModelsCommand.js +16 -0
- package/dist-es/commands/ListThreatsCommand.js +16 -0
- package/dist-es/commands/StartThreatModelJobCommand.js +16 -0
- package/dist-es/commands/StopThreatModelJobCommand.js +16 -0
- package/dist-es/commands/UpdatePrivateConnectionCertificateCommand.js +16 -0
- package/dist-es/commands/UpdateSecurityRequirementPackCommand.js +16 -0
- package/dist-es/commands/UpdateThreatCommand.js +16 -0
- package/dist-es/commands/UpdateThreatModelCommand.js +16 -0
- package/dist-es/commands/index.js +31 -0
- package/dist-es/models/enums.js +93 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/ListPrivateConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListSecurityRequirementPacksPaginator.js +4 -0
- package/dist-es/pagination/ListSecurityRequirementsPaginator.js +4 -0
- package/dist-es/pagination/ListThreatModelJobTasksPaginator.js +4 -0
- package/dist-es/pagination/ListThreatModelJobsPaginator.js +4 -0
- package/dist-es/pagination/ListThreatModelsPaginator.js +4 -0
- package/dist-es/pagination/ListThreatsPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/schemas/schemas_0.js +1040 -103
- package/dist-types/SecurityAgent.d.ts +268 -0
- package/dist-types/SecurityAgentClient.d.ts +33 -2
- package/dist-types/commands/BatchCreateSecurityRequirementsCommand.d.ts +124 -0
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +8 -0
- package/dist-types/commands/BatchDeleteSecurityRequirementsCommand.d.ts +106 -0
- package/dist-types/commands/BatchDeleteThreatModelsCommand.d.ts +87 -0
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +5 -1
- package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +9 -1
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +8 -0
- package/dist-types/commands/BatchGetSecurityRequirementsCommand.d.ts +112 -0
- package/dist-types/commands/BatchGetThreatModelJobTasksCommand.d.ts +101 -0
- package/dist-types/commands/BatchGetThreatModelJobsCommand.d.ts +130 -0
- package/dist-types/commands/BatchGetThreatModelsCommand.d.ts +147 -0
- package/dist-types/commands/BatchGetThreatsCommand.d.ts +121 -0
- package/dist-types/commands/BatchUpdateSecurityRequirementsCommand.d.ts +112 -0
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +10 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +22 -1
- package/dist-types/commands/CreatePentestCommand.d.ts +11 -0
- package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +132 -0
- package/dist-types/commands/CreateSecurityRequirementPackCommand.d.ts +102 -0
- package/dist-types/commands/CreateThreatCommand.d.ts +141 -0
- package/dist-types/commands/CreateThreatModelCommand.d.ts +201 -0
- package/dist-types/commands/DeletePrivateConnectionCommand.d.ts +106 -0
- package/dist-types/commands/DeleteSecurityRequirementPackCommand.d.ts +92 -0
- package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +103 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +3 -1
- package/dist-types/commands/GetSecurityRequirementPackCommand.d.ts +100 -0
- package/dist-types/commands/ImportSecurityRequirementsCommand.d.ts +107 -0
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +34 -1
- package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -2
- package/dist-types/commands/ListPentestJobTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +106 -0
- package/dist-types/commands/ListSecurityRequirementPacksCommand.d.ts +105 -0
- package/dist-types/commands/ListSecurityRequirementsCommand.d.ts +102 -0
- package/dist-types/commands/ListThreatModelJobTasksCommand.d.ts +91 -0
- package/dist-types/commands/ListThreatModelJobsCommand.d.ts +90 -0
- package/dist-types/commands/ListThreatModelsCommand.d.ts +87 -0
- package/dist-types/commands/ListThreatsCommand.d.ts +96 -0
- package/dist-types/commands/StartCodeReviewJobCommand.d.ts +3 -0
- package/dist-types/commands/StartThreatModelJobCommand.d.ts +83 -0
- package/dist-types/commands/StopThreatModelJobCommand.d.ts +75 -0
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +10 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +7 -0
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +28 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +11 -0
- package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +107 -0
- package/dist-types/commands/UpdateSecurityRequirementPackCommand.d.ts +100 -0
- package/dist-types/commands/UpdateThreatCommand.d.ts +139 -0
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +196 -0
- package/dist-types/commands/index.d.ts +31 -0
- package/dist-types/models/enums.d.ts +250 -0
- package/dist-types/models/errors.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +4254 -818
- package/dist-types/pagination/ListPrivateConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSecurityRequirementPacksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSecurityRequirementsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatModelJobTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatModelJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListThreatsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/schemas/schemas_0.d.ts +134 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +584 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +186 -0
- package/dist-types/ts3.4/commands/BatchCreateSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeleteSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeleteThreatModelsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatModelJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatModelJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatModelsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetThreatsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/BatchUpdateSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreatePrivateConnectionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateThreatCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateThreatModelCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeletePrivateConnectionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DescribePrivateConnectionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ImportSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListPrivateConnectionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListSecurityRequirementPacksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListSecurityRequirementsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListThreatModelJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListThreatModelJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListThreatModelsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListThreatsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/StartThreatModelJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdatePrivateConnectionCertificateCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateSecurityRequirementPackCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +31 -0
- package/dist-types/ts3.4/models/enums.d.ts +123 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +924 -0
- package/dist-types/ts3.4/pagination/ListPrivateConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityRequirementPacksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityRequirementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatModelJobTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatModelJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListThreatsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
- package/package.json +3 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StartThreatModelJob$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartThreatModelJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "StartThreatModelJob", {})
|
|
13
|
+
.n("SecurityAgentClient", "StartThreatModelJobCommand")
|
|
14
|
+
.sc(StartThreatModelJob$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StopThreatModelJob$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopThreatModelJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "StopThreatModelJob", {})
|
|
13
|
+
.n("SecurityAgentClient", "StopThreatModelJobCommand")
|
|
14
|
+
.sc(StopThreatModelJob$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdatePrivateConnectionCertificate$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdatePrivateConnectionCertificateCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "UpdatePrivateConnectionCertificate", {})
|
|
13
|
+
.n("SecurityAgentClient", "UpdatePrivateConnectionCertificateCommand")
|
|
14
|
+
.sc(UpdatePrivateConnectionCertificate$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateSecurityRequirementPack$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateSecurityRequirementPackCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "UpdateSecurityRequirementPack", {})
|
|
13
|
+
.n("SecurityAgentClient", "UpdateSecurityRequirementPackCommand")
|
|
14
|
+
.sc(UpdateSecurityRequirementPack$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateThreat$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateThreatCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "UpdateThreat", {})
|
|
13
|
+
.n("SecurityAgentClient", "UpdateThreatCommand")
|
|
14
|
+
.sc(UpdateThreat$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateThreatModel$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateThreatModelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "UpdateThreatModel", {})
|
|
13
|
+
.n("SecurityAgentClient", "UpdateThreatModelCommand")
|
|
14
|
+
.sc(UpdateThreatModel$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./AddArtifactCommand";
|
|
2
|
+
export * from "./BatchCreateSecurityRequirementsCommand";
|
|
2
3
|
export * from "./BatchDeleteCodeReviewsCommand";
|
|
3
4
|
export * from "./BatchDeletePentestsCommand";
|
|
5
|
+
export * from "./BatchDeleteSecurityRequirementsCommand";
|
|
6
|
+
export * from "./BatchDeleteThreatModelsCommand";
|
|
4
7
|
export * from "./BatchGetAgentSpacesCommand";
|
|
5
8
|
export * from "./BatchGetArtifactMetadataCommand";
|
|
6
9
|
export * from "./BatchGetCodeReviewJobTasksCommand";
|
|
@@ -10,23 +13,38 @@ export * from "./BatchGetFindingsCommand";
|
|
|
10
13
|
export * from "./BatchGetPentestJobTasksCommand";
|
|
11
14
|
export * from "./BatchGetPentestJobsCommand";
|
|
12
15
|
export * from "./BatchGetPentestsCommand";
|
|
16
|
+
export * from "./BatchGetSecurityRequirementsCommand";
|
|
13
17
|
export * from "./BatchGetTargetDomainsCommand";
|
|
18
|
+
export * from "./BatchGetThreatModelJobTasksCommand";
|
|
19
|
+
export * from "./BatchGetThreatModelJobsCommand";
|
|
20
|
+
export * from "./BatchGetThreatModelsCommand";
|
|
21
|
+
export * from "./BatchGetThreatsCommand";
|
|
22
|
+
export * from "./BatchUpdateSecurityRequirementsCommand";
|
|
14
23
|
export * from "./CreateAgentSpaceCommand";
|
|
15
24
|
export * from "./CreateApplicationCommand";
|
|
16
25
|
export * from "./CreateCodeReviewCommand";
|
|
17
26
|
export * from "./CreateIntegrationCommand";
|
|
18
27
|
export * from "./CreateMembershipCommand";
|
|
19
28
|
export * from "./CreatePentestCommand";
|
|
29
|
+
export * from "./CreatePrivateConnectionCommand";
|
|
30
|
+
export * from "./CreateSecurityRequirementPackCommand";
|
|
20
31
|
export * from "./CreateTargetDomainCommand";
|
|
32
|
+
export * from "./CreateThreatCommand";
|
|
33
|
+
export * from "./CreateThreatModelCommand";
|
|
21
34
|
export * from "./DeleteAgentSpaceCommand";
|
|
22
35
|
export * from "./DeleteApplicationCommand";
|
|
23
36
|
export * from "./DeleteArtifactCommand";
|
|
24
37
|
export * from "./DeleteIntegrationCommand";
|
|
25
38
|
export * from "./DeleteMembershipCommand";
|
|
39
|
+
export * from "./DeletePrivateConnectionCommand";
|
|
40
|
+
export * from "./DeleteSecurityRequirementPackCommand";
|
|
26
41
|
export * from "./DeleteTargetDomainCommand";
|
|
42
|
+
export * from "./DescribePrivateConnectionCommand";
|
|
27
43
|
export * from "./GetApplicationCommand";
|
|
28
44
|
export * from "./GetArtifactCommand";
|
|
29
45
|
export * from "./GetIntegrationCommand";
|
|
46
|
+
export * from "./GetSecurityRequirementPackCommand";
|
|
47
|
+
export * from "./ImportSecurityRequirementsCommand";
|
|
30
48
|
export * from "./InitiateProviderRegistrationCommand";
|
|
31
49
|
export * from "./ListAgentSpacesCommand";
|
|
32
50
|
export * from "./ListApplicationsCommand";
|
|
@@ -42,13 +60,22 @@ export * from "./ListMembershipsCommand";
|
|
|
42
60
|
export * from "./ListPentestJobTasksCommand";
|
|
43
61
|
export * from "./ListPentestJobsForPentestCommand";
|
|
44
62
|
export * from "./ListPentestsCommand";
|
|
63
|
+
export * from "./ListPrivateConnectionsCommand";
|
|
64
|
+
export * from "./ListSecurityRequirementPacksCommand";
|
|
65
|
+
export * from "./ListSecurityRequirementsCommand";
|
|
45
66
|
export * from "./ListTagsForResourceCommand";
|
|
46
67
|
export * from "./ListTargetDomainsCommand";
|
|
68
|
+
export * from "./ListThreatModelJobTasksCommand";
|
|
69
|
+
export * from "./ListThreatModelJobsCommand";
|
|
70
|
+
export * from "./ListThreatModelsCommand";
|
|
71
|
+
export * from "./ListThreatsCommand";
|
|
47
72
|
export * from "./StartCodeRemediationCommand";
|
|
48
73
|
export * from "./StartCodeReviewJobCommand";
|
|
49
74
|
export * from "./StartPentestJobCommand";
|
|
75
|
+
export * from "./StartThreatModelJobCommand";
|
|
50
76
|
export * from "./StopCodeReviewJobCommand";
|
|
51
77
|
export * from "./StopPentestJobCommand";
|
|
78
|
+
export * from "./StopThreatModelJobCommand";
|
|
52
79
|
export * from "./TagResourceCommand";
|
|
53
80
|
export * from "./UntagResourceCommand";
|
|
54
81
|
export * from "./UpdateAgentSpaceCommand";
|
|
@@ -57,5 +84,9 @@ export * from "./UpdateCodeReviewCommand";
|
|
|
57
84
|
export * from "./UpdateFindingCommand";
|
|
58
85
|
export * from "./UpdateIntegratedResourcesCommand";
|
|
59
86
|
export * from "./UpdatePentestCommand";
|
|
87
|
+
export * from "./UpdatePrivateConnectionCertificateCommand";
|
|
88
|
+
export * from "./UpdateSecurityRequirementPackCommand";
|
|
60
89
|
export * from "./UpdateTargetDomainCommand";
|
|
90
|
+
export * from "./UpdateThreatCommand";
|
|
91
|
+
export * from "./UpdateThreatModelCommand";
|
|
61
92
|
export * from "./VerifyTargetDomainCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -19,10 +19,18 @@ export const ArtifactType = {
|
|
|
19
19
|
TXT: "TXT",
|
|
20
20
|
YAML: "YAML",
|
|
21
21
|
};
|
|
22
|
+
export const CleanUpStrategy = {
|
|
23
|
+
BEST_EFFORT_DELETE: "BEST_EFFORT_DELETE",
|
|
24
|
+
RETAIN_ALL: "RETAIN_ALL",
|
|
25
|
+
};
|
|
22
26
|
export const CodeRemediationStrategy = {
|
|
23
27
|
AUTOMATIC: "AUTOMATIC",
|
|
24
28
|
DISABLED: "DISABLED",
|
|
25
29
|
};
|
|
30
|
+
export const SkillType = {
|
|
31
|
+
FINDING_PERSONALIZATION: "FINDING_PERSONALIZATION",
|
|
32
|
+
LOGIN_OPTIMIZATION: "LOGIN_OPTIMIZATION",
|
|
33
|
+
};
|
|
26
34
|
export const RiskType = {
|
|
27
35
|
ARBITRARY_FILE_UPLOAD: "ARBITRARY_FILE_UPLOAD",
|
|
28
36
|
BUSINESS_LOGIC_VULNERABILITIES: "BUSINESS_LOGIC_VULNERABILITIES",
|
|
@@ -83,6 +91,7 @@ export const StepName = {
|
|
|
83
91
|
PENTEST: "PENTEST",
|
|
84
92
|
PREFLIGHT: "PREFLIGHT",
|
|
85
93
|
STATIC_ANALYSIS: "STATIC_ANALYSIS",
|
|
94
|
+
VALIDATION: "VALIDATION",
|
|
86
95
|
};
|
|
87
96
|
export const StepStatus = {
|
|
88
97
|
COMPLETED: "COMPLETED",
|
|
@@ -101,6 +110,10 @@ export const TaskExecutionStatus = {
|
|
|
101
110
|
export const LogType = {
|
|
102
111
|
CLOUDWATCH: "CLOUDWATCH",
|
|
103
112
|
};
|
|
113
|
+
export const ValidationMode = {
|
|
114
|
+
DISABLED: "DISABLED",
|
|
115
|
+
SIMULATED: "SIMULATED",
|
|
116
|
+
};
|
|
104
117
|
export const CodeRemediationTaskStatus = {
|
|
105
118
|
COMPLETED: "COMPLETED",
|
|
106
119
|
FAILED: "FAILED",
|
|
@@ -127,6 +140,13 @@ export const FindingStatus = {
|
|
|
127
140
|
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
128
141
|
RESOLVED: "RESOLVED",
|
|
129
142
|
};
|
|
143
|
+
export const ValidationStatus = {
|
|
144
|
+
CONFIRMED: "CONFIRMED",
|
|
145
|
+
NOT_REPRODUCED: "NOT_REPRODUCED",
|
|
146
|
+
NOT_VALIDATED: "NOT_VALIDATED",
|
|
147
|
+
VALIDATING: "VALIDATING",
|
|
148
|
+
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
149
|
+
};
|
|
130
150
|
export const DNSRecordType = {
|
|
131
151
|
TXT: "TXT",
|
|
132
152
|
};
|
|
@@ -141,8 +161,39 @@ export const TargetDomainStatus = {
|
|
|
141
161
|
UNREACHABLE: "UNREACHABLE",
|
|
142
162
|
VERIFIED: "VERIFIED",
|
|
143
163
|
};
|
|
164
|
+
export const ThreatActor = {
|
|
165
|
+
AGENT: "AGENT",
|
|
166
|
+
CUSTOMER: "CUSTOMER",
|
|
167
|
+
};
|
|
168
|
+
export const ThreatSeverity = {
|
|
169
|
+
CRITICAL: "CRITICAL",
|
|
170
|
+
HIGH: "HIGH",
|
|
171
|
+
INFO: "INFO",
|
|
172
|
+
LOW: "LOW",
|
|
173
|
+
MEDIUM: "MEDIUM",
|
|
174
|
+
};
|
|
175
|
+
export const ThreatStatus = {
|
|
176
|
+
DISMISSED: "DISMISSED",
|
|
177
|
+
OPEN: "OPEN",
|
|
178
|
+
RESOLVED: "RESOLVED",
|
|
179
|
+
};
|
|
180
|
+
export const StrideCategory = {
|
|
181
|
+
DENIAL_OF_SERVICE: "DENIAL_OF_SERVICE",
|
|
182
|
+
ELEVATION_OF_PRIVILEGE: "ELEVATION_OF_PRIVILEGE",
|
|
183
|
+
INFORMATION_DISCLOSURE: "INFORMATION_DISCLOSURE",
|
|
184
|
+
REPUDIATION: "REPUDIATION",
|
|
185
|
+
SPOOFING: "SPOOFING",
|
|
186
|
+
TAMPERING: "TAMPERING",
|
|
187
|
+
};
|
|
188
|
+
export const GitLabTokenType = {
|
|
189
|
+
GROUP: "GROUP",
|
|
190
|
+
PERSONAL: "PERSONAL",
|
|
191
|
+
};
|
|
144
192
|
export const Provider = {
|
|
193
|
+
BITBUCKET: "BITBUCKET",
|
|
194
|
+
CONFLUENCE: "CONFLUENCE",
|
|
145
195
|
GITHUB: "GITHUB",
|
|
196
|
+
GITLAB: "GITLAB",
|
|
146
197
|
};
|
|
147
198
|
export const UserRole = {
|
|
148
199
|
MEMBER: "MEMBER",
|
|
@@ -150,12 +201,54 @@ export const UserRole = {
|
|
|
150
201
|
export const MembershipType = {
|
|
151
202
|
USER: "USER",
|
|
152
203
|
};
|
|
204
|
+
export const ResourceConfigDnsResolution = {
|
|
205
|
+
IN_VPC: "IN_VPC",
|
|
206
|
+
PUBLIC: "PUBLIC",
|
|
207
|
+
};
|
|
208
|
+
export const IpAddressType = {
|
|
209
|
+
DUAL_STACK: "DUAL_STACK",
|
|
210
|
+
IPV4: "IPV4",
|
|
211
|
+
IPV6: "IPV6",
|
|
212
|
+
};
|
|
213
|
+
export const PrivateConnectionStatus = {
|
|
214
|
+
ACTIVE: "ACTIVE",
|
|
215
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
216
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
217
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
218
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
219
|
+
};
|
|
220
|
+
export const PrivateConnectionType = {
|
|
221
|
+
SELF_MANAGED: "SELF_MANAGED",
|
|
222
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
223
|
+
};
|
|
224
|
+
export const SecurityRequirementPackStatus = {
|
|
225
|
+
DISABLED: "DISABLED",
|
|
226
|
+
ENABLED: "ENABLED",
|
|
227
|
+
};
|
|
153
228
|
export const ProviderType = {
|
|
154
229
|
DOCUMENTATION: "DOCUMENTATION",
|
|
155
230
|
SOURCE_CODE: "SOURCE_CODE",
|
|
156
231
|
};
|
|
232
|
+
export const SecurityRequirementPackImportStatus = {
|
|
233
|
+
COMPLETED: "COMPLETED",
|
|
234
|
+
FAILED: "FAILED",
|
|
235
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
236
|
+
PENDING: "PENDING",
|
|
237
|
+
};
|
|
238
|
+
export const ManagementType = {
|
|
239
|
+
AWS_MANAGED: "AWS_MANAGED",
|
|
240
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
241
|
+
};
|
|
242
|
+
export const SecurityRequirementArtifactFormat = {
|
|
243
|
+
DOC: "DOC",
|
|
244
|
+
DOCX: "DOCX",
|
|
245
|
+
MD: "MD",
|
|
246
|
+
PDF: "PDF",
|
|
247
|
+
TXT: "TXT",
|
|
248
|
+
};
|
|
157
249
|
export const ResourceType = {
|
|
158
250
|
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
251
|
+
DOCUMENT: "DOCUMENT",
|
|
159
252
|
};
|
|
160
253
|
export const MembershipTypeFilter = {
|
|
161
254
|
ALL: "ALL",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -77,3 +77,15 @@ export class ConflictException extends __BaseException {
|
|
|
77
77
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
81
|
+
name = "ServiceQuotaExceededException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
constructor(opts) {
|
|
84
|
+
super({
|
|
85
|
+
name: "ServiceQuotaExceededException",
|
|
86
|
+
$fault: "client",
|
|
87
|
+
...opts,
|
|
88
|
+
});
|
|
89
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListPrivateConnectionsCommand, } from "../commands/ListPrivateConnectionsCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListPrivateConnections = createPaginator(SecurityAgentClient, ListPrivateConnectionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSecurityRequirementPacksCommand, } from "../commands/ListSecurityRequirementPacksCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListSecurityRequirementPacks = createPaginator(SecurityAgentClient, ListSecurityRequirementPacksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSecurityRequirementsCommand, } from "../commands/ListSecurityRequirementsCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListSecurityRequirements = createPaginator(SecurityAgentClient, ListSecurityRequirementsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListThreatModelJobTasksCommand, } from "../commands/ListThreatModelJobTasksCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListThreatModelJobTasks = createPaginator(SecurityAgentClient, ListThreatModelJobTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListThreatModelJobsCommand, } from "../commands/ListThreatModelJobsCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListThreatModelJobs = createPaginator(SecurityAgentClient, ListThreatModelJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListThreatModelsCommand, } from "../commands/ListThreatModelsCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListThreatModels = createPaginator(SecurityAgentClient, ListThreatModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListThreatsCommand } from "../commands/ListThreatsCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListThreats = createPaginator(SecurityAgentClient, ListThreatsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -13,4 +13,11 @@ export * from "./ListMembershipsPaginator";
|
|
|
13
13
|
export * from "./ListPentestJobsForPentestPaginator";
|
|
14
14
|
export * from "./ListPentestJobTasksPaginator";
|
|
15
15
|
export * from "./ListPentestsPaginator";
|
|
16
|
+
export * from "./ListPrivateConnectionsPaginator";
|
|
17
|
+
export * from "./ListSecurityRequirementPacksPaginator";
|
|
18
|
+
export * from "./ListSecurityRequirementsPaginator";
|
|
16
19
|
export * from "./ListTargetDomainsPaginator";
|
|
20
|
+
export * from "./ListThreatModelJobsPaginator";
|
|
21
|
+
export * from "./ListThreatModelJobTasksPaginator";
|
|
22
|
+
export * from "./ListThreatModelsPaginator";
|
|
23
|
+
export * from "./ListThreatsPaginator";
|