@aws-sdk/client-securityagent 3.1045.0 → 3.1046.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 +77 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +308 -143
- package/dist-cjs/models/SecurityAgentServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +299 -24
- package/dist-es/SecurityAgent.js +29 -1
- package/dist-es/SecurityAgentClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AddArtifactCommand.js +2 -2
- package/dist-es/commands/BatchDeleteCodeReviewsCommand.js +16 -0
- package/dist-es/commands/BatchDeletePentestsCommand.js +2 -2
- package/dist-es/commands/BatchGetAgentSpacesCommand.js +2 -2
- package/dist-es/commands/BatchGetArtifactMetadataCommand.js +2 -2
- package/dist-es/commands/BatchGetCodeReviewJobTasksCommand.js +16 -0
- package/dist-es/commands/BatchGetCodeReviewJobsCommand.js +16 -0
- package/dist-es/commands/BatchGetCodeReviewsCommand.js +16 -0
- package/dist-es/commands/BatchGetFindingsCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestJobTasksCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestJobsCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestsCommand.js +2 -2
- package/dist-es/commands/BatchGetTargetDomainsCommand.js +2 -2
- package/dist-es/commands/CreateAgentSpaceCommand.js +2 -2
- package/dist-es/commands/CreateApplicationCommand.js +2 -2
- package/dist-es/commands/CreateCodeReviewCommand.js +16 -0
- package/dist-es/commands/CreateIntegrationCommand.js +2 -2
- package/dist-es/commands/CreateMembershipCommand.js +2 -2
- package/dist-es/commands/CreatePentestCommand.js +2 -2
- package/dist-es/commands/CreateTargetDomainCommand.js +2 -2
- package/dist-es/commands/DeleteAgentSpaceCommand.js +2 -2
- package/dist-es/commands/DeleteApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteArtifactCommand.js +2 -2
- package/dist-es/commands/DeleteIntegrationCommand.js +2 -2
- package/dist-es/commands/DeleteMembershipCommand.js +2 -2
- package/dist-es/commands/DeleteTargetDomainCommand.js +2 -2
- package/dist-es/commands/GetApplicationCommand.js +2 -2
- package/dist-es/commands/GetArtifactCommand.js +2 -2
- package/dist-es/commands/GetIntegrationCommand.js +2 -2
- package/dist-es/commands/InitiateProviderRegistrationCommand.js +2 -2
- package/dist-es/commands/ListAgentSpacesCommand.js +2 -2
- package/dist-es/commands/ListApplicationsCommand.js +2 -2
- package/dist-es/commands/ListArtifactsCommand.js +2 -2
- package/dist-es/commands/ListCodeReviewJobTasksCommand.js +16 -0
- package/dist-es/commands/ListCodeReviewJobsForCodeReviewCommand.js +16 -0
- package/dist-es/commands/ListCodeReviewsCommand.js +16 -0
- package/dist-es/commands/ListDiscoveredEndpointsCommand.js +2 -2
- package/dist-es/commands/ListFindingsCommand.js +2 -2
- package/dist-es/commands/ListIntegratedResourcesCommand.js +2 -2
- package/dist-es/commands/ListIntegrationsCommand.js +2 -2
- package/dist-es/commands/ListMembershipsCommand.js +2 -2
- package/dist-es/commands/ListPentestJobTasksCommand.js +2 -2
- package/dist-es/commands/ListPentestJobsForPentestCommand.js +2 -2
- package/dist-es/commands/ListPentestsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTargetDomainsCommand.js +2 -2
- package/dist-es/commands/StartCodeRemediationCommand.js +2 -2
- package/dist-es/commands/StartCodeReviewJobCommand.js +16 -0
- package/dist-es/commands/StartPentestJobCommand.js +2 -2
- package/dist-es/commands/StopCodeReviewJobCommand.js +16 -0
- package/dist-es/commands/StopPentestJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAgentSpaceCommand.js +2 -2
- package/dist-es/commands/UpdateApplicationCommand.js +2 -2
- package/dist-es/commands/UpdateCodeReviewCommand.js +16 -0
- package/dist-es/commands/UpdateFindingCommand.js +2 -2
- package/dist-es/commands/UpdateIntegratedResourcesCommand.js +2 -2
- package/dist-es/commands/UpdatePentestCommand.js +2 -2
- package/dist-es/commands/UpdateTargetDomainCommand.js +2 -2
- package/dist-es/commands/VerifyTargetDomainCommand.js +2 -2
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SecurityAgentServiceException.js +1 -1
- package/dist-es/models/enums.js +26 -26
- package/dist-es/pagination/ListCodeReviewJobTasksPaginator.js +4 -0
- package/dist-es/pagination/ListCodeReviewJobsForCodeReviewPaginator.js +4 -0
- package/dist-es/pagination/ListCodeReviewsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +293 -19
- package/dist-types/SecurityAgent.d.ts +98 -0
- package/dist-types/SecurityAgentClient.d.ts +18 -7
- package/dist-types/commands/AddArtifactCommand.d.ts +6 -4
- package/dist-types/commands/BatchDeleteCodeReviewsCommand.d.ts +87 -0
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetCodeReviewJobTasksCommand.d.ts +108 -0
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +134 -0
- package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +133 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +16 -4
- package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
- package/dist-types/commands/CreateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +167 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/CreateMembershipCommand.d.ts +6 -4
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -4
- package/dist-types/commands/CreateTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteArtifactCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteMembershipCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/commands/GetArtifactCommand.d.ts +6 -4
- package/dist-types/commands/GetIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
- package/dist-types/commands/ListAgentSpacesCommand.d.ts +6 -4
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/commands/ListArtifactsCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +94 -0
- package/dist-types/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +89 -0
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +87 -0
- package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/ListFindingsCommand.d.ts +10 -5
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/commands/ListIntegrationsCommand.d.ts +6 -4
- package/dist-types/commands/ListMembershipsCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTargetDomainsCommand.d.ts +6 -4
- package/dist-types/commands/StartCodeRemediationCommand.d.ts +8 -5
- package/dist-types/commands/StartCodeReviewJobCommand.d.ts +83 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +6 -4
- package/dist-types/commands/StopCodeReviewJobCommand.d.ts +75 -0
- package/dist-types/commands/StopPentestJobCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +168 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +6 -4
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePentestCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SecurityAgentServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +58 -58
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1015 -100
- package/dist-types/pagination/ListCodeReviewJobTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeReviewsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +41 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +208 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +74 -14
- package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDeleteCodeReviewsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetCodeReviewJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetCodeReviewJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetCodeReviewsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeReviewJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeReviewJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +32 -32
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +231 -25
- package/dist-types/ts3.4/pagination/ListCodeReviewJobTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
- package/package.json +13 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListPentests$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListTargetDomains$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StartCodeRemediation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -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 { StartCodeReviewJob$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartCodeReviewJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "StartCodeReviewJob", {})
|
|
13
|
+
.n("SecurityAgentClient", "StartCodeReviewJobCommand")
|
|
14
|
+
.sc(StartCodeReviewJob$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StartPentestJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -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 { StopCodeReviewJob$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopCodeReviewJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "StopCodeReviewJob", {})
|
|
13
|
+
.n("SecurityAgentClient", "StopCodeReviewJobCommand")
|
|
14
|
+
.sc(StopCodeReviewJob$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StopPentestJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateAgentSpace$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateApplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -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 { UpdateCodeReview$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateCodeReviewCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityAgent", "UpdateCodeReview", {})
|
|
13
|
+
.n("SecurityAgentClient", "UpdateCodeReviewCommand")
|
|
14
|
+
.sc(UpdateCodeReview$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateFinding$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateIntegratedResources$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdatePentest$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateTargetDomain$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { VerifyTargetDomain$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export * from "./AddArtifactCommand";
|
|
2
|
+
export * from "./BatchDeleteCodeReviewsCommand";
|
|
2
3
|
export * from "./BatchDeletePentestsCommand";
|
|
3
4
|
export * from "./BatchGetAgentSpacesCommand";
|
|
4
5
|
export * from "./BatchGetArtifactMetadataCommand";
|
|
6
|
+
export * from "./BatchGetCodeReviewJobTasksCommand";
|
|
7
|
+
export * from "./BatchGetCodeReviewJobsCommand";
|
|
8
|
+
export * from "./BatchGetCodeReviewsCommand";
|
|
5
9
|
export * from "./BatchGetFindingsCommand";
|
|
6
10
|
export * from "./BatchGetPentestJobTasksCommand";
|
|
7
11
|
export * from "./BatchGetPentestJobsCommand";
|
|
@@ -9,6 +13,7 @@ export * from "./BatchGetPentestsCommand";
|
|
|
9
13
|
export * from "./BatchGetTargetDomainsCommand";
|
|
10
14
|
export * from "./CreateAgentSpaceCommand";
|
|
11
15
|
export * from "./CreateApplicationCommand";
|
|
16
|
+
export * from "./CreateCodeReviewCommand";
|
|
12
17
|
export * from "./CreateIntegrationCommand";
|
|
13
18
|
export * from "./CreateMembershipCommand";
|
|
14
19
|
export * from "./CreatePentestCommand";
|
|
@@ -26,6 +31,9 @@ export * from "./InitiateProviderRegistrationCommand";
|
|
|
26
31
|
export * from "./ListAgentSpacesCommand";
|
|
27
32
|
export * from "./ListApplicationsCommand";
|
|
28
33
|
export * from "./ListArtifactsCommand";
|
|
34
|
+
export * from "./ListCodeReviewJobTasksCommand";
|
|
35
|
+
export * from "./ListCodeReviewJobsForCodeReviewCommand";
|
|
36
|
+
export * from "./ListCodeReviewsCommand";
|
|
29
37
|
export * from "./ListDiscoveredEndpointsCommand";
|
|
30
38
|
export * from "./ListFindingsCommand";
|
|
31
39
|
export * from "./ListIntegratedResourcesCommand";
|
|
@@ -37,12 +45,15 @@ export * from "./ListPentestsCommand";
|
|
|
37
45
|
export * from "./ListTagsForResourceCommand";
|
|
38
46
|
export * from "./ListTargetDomainsCommand";
|
|
39
47
|
export * from "./StartCodeRemediationCommand";
|
|
48
|
+
export * from "./StartCodeReviewJobCommand";
|
|
40
49
|
export * from "./StartPentestJobCommand";
|
|
50
|
+
export * from "./StopCodeReviewJobCommand";
|
|
41
51
|
export * from "./StopPentestJobCommand";
|
|
42
52
|
export * from "./TagResourceCommand";
|
|
43
53
|
export * from "./UntagResourceCommand";
|
|
44
54
|
export * from "./UpdateAgentSpaceCommand";
|
|
45
55
|
export * from "./UpdateApplicationCommand";
|
|
56
|
+
export * from "./UpdateCodeReviewCommand";
|
|
46
57
|
export * from "./UpdateFindingCommand";
|
|
47
58
|
export * from "./UpdateIntegratedResourcesCommand";
|
|
48
59
|
export * from "./UpdatePentestCommand";
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SecurityAgentServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
package/dist-es/models/enums.js
CHANGED
|
@@ -60,32 +60,6 @@ export const NetworkTrafficRuleEffect = {
|
|
|
60
60
|
export const NetworkTrafficRuleType = {
|
|
61
61
|
URL: "URL",
|
|
62
62
|
};
|
|
63
|
-
export const CodeRemediationTaskStatus = {
|
|
64
|
-
COMPLETED: "COMPLETED",
|
|
65
|
-
FAILED: "FAILED",
|
|
66
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
67
|
-
};
|
|
68
|
-
export const ConfidenceLevel = {
|
|
69
|
-
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
70
|
-
HIGH: "HIGH",
|
|
71
|
-
LOW: "LOW",
|
|
72
|
-
MEDIUM: "MEDIUM",
|
|
73
|
-
UNCONFIRMED: "UNCONFIRMED",
|
|
74
|
-
};
|
|
75
|
-
export const RiskLevel = {
|
|
76
|
-
CRITICAL: "CRITICAL",
|
|
77
|
-
HIGH: "HIGH",
|
|
78
|
-
INFORMATIONAL: "INFORMATIONAL",
|
|
79
|
-
LOW: "LOW",
|
|
80
|
-
MEDIUM: "MEDIUM",
|
|
81
|
-
UNKNOWN: "UNKNOWN",
|
|
82
|
-
};
|
|
83
|
-
export const FindingStatus = {
|
|
84
|
-
ACCEPTED: "ACCEPTED",
|
|
85
|
-
ACTIVE: "ACTIVE",
|
|
86
|
-
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
87
|
-
RESOLVED: "RESOLVED",
|
|
88
|
-
};
|
|
89
63
|
export const ErrorCode = {
|
|
90
64
|
CLIENT_ERROR: "CLIENT_ERROR",
|
|
91
65
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
@@ -127,6 +101,32 @@ export const TaskExecutionStatus = {
|
|
|
127
101
|
export const LogType = {
|
|
128
102
|
CLOUDWATCH: "CLOUDWATCH",
|
|
129
103
|
};
|
|
104
|
+
export const CodeRemediationTaskStatus = {
|
|
105
|
+
COMPLETED: "COMPLETED",
|
|
106
|
+
FAILED: "FAILED",
|
|
107
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
108
|
+
};
|
|
109
|
+
export const ConfidenceLevel = {
|
|
110
|
+
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
111
|
+
HIGH: "HIGH",
|
|
112
|
+
LOW: "LOW",
|
|
113
|
+
MEDIUM: "MEDIUM",
|
|
114
|
+
UNCONFIRMED: "UNCONFIRMED",
|
|
115
|
+
};
|
|
116
|
+
export const RiskLevel = {
|
|
117
|
+
CRITICAL: "CRITICAL",
|
|
118
|
+
HIGH: "HIGH",
|
|
119
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
120
|
+
LOW: "LOW",
|
|
121
|
+
MEDIUM: "MEDIUM",
|
|
122
|
+
UNKNOWN: "UNKNOWN",
|
|
123
|
+
};
|
|
124
|
+
export const FindingStatus = {
|
|
125
|
+
ACCEPTED: "ACCEPTED",
|
|
126
|
+
ACTIVE: "ACTIVE",
|
|
127
|
+
FALSE_POSITIVE: "FALSE_POSITIVE",
|
|
128
|
+
RESOLVED: "RESOLVED",
|
|
129
|
+
};
|
|
130
130
|
export const DNSRecordType = {
|
|
131
131
|
TXT: "TXT",
|
|
132
132
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCodeReviewJobTasksCommand, } from "../commands/ListCodeReviewJobTasksCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListCodeReviewJobTasks = createPaginator(SecurityAgentClient, ListCodeReviewJobTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCodeReviewJobsForCodeReviewCommand, } from "../commands/ListCodeReviewJobsForCodeReviewCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListCodeReviewJobsForCodeReview = createPaginator(SecurityAgentClient, ListCodeReviewJobsForCodeReviewCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCodeReviewsCommand, } from "../commands/ListCodeReviewsCommand";
|
|
3
|
+
import { SecurityAgentClient } from "../SecurityAgentClient";
|
|
4
|
+
export const paginateListCodeReviews = createPaginator(SecurityAgentClient, ListCodeReviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2,6 +2,9 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListAgentSpacesPaginator";
|
|
3
3
|
export * from "./ListApplicationsPaginator";
|
|
4
4
|
export * from "./ListArtifactsPaginator";
|
|
5
|
+
export * from "./ListCodeReviewJobsForCodeReviewPaginator";
|
|
6
|
+
export * from "./ListCodeReviewJobTasksPaginator";
|
|
7
|
+
export * from "./ListCodeReviewsPaginator";
|
|
5
8
|
export * from "./ListDiscoveredEndpointsPaginator";
|
|
6
9
|
export * from "./ListFindingsPaginator";
|
|
7
10
|
export * from "./ListIntegratedResourcesPaginator";
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
-
import {
|
|
4
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
5
8
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
8
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
10
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
11
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
10
|
export const getRuntimeConfig = (config) => {
|
|
13
11
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
|
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
9
|
-
import {
|
|
6
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
13
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
14
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
15
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
12
|
export const getRuntimeConfig = (config) => {
|
|
17
13
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import { NoOpLogger } from "@smithy/
|
|
4
|
-
import { parseUrl } from "@smithy/
|
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
6
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
7
6
|
import { defaultSecurityAgentHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|