@aws-sdk/client-securityagent 3.1021.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/LICENSE +201 -0
- package/README.md +531 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1084 -0
- package/dist-cjs/models/SecurityAgentServiceException.js +12 -0
- package/dist-cjs/models/errors.js +88 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +54 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +1570 -0
- package/dist-es/SecurityAgent.js +133 -0
- package/dist-es/SecurityAgentClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AddArtifactCommand.js +16 -0
- package/dist-es/commands/BatchDeletePentestsCommand.js +16 -0
- package/dist-es/commands/BatchGetAgentSpacesCommand.js +16 -0
- package/dist-es/commands/BatchGetArtifactMetadataCommand.js +16 -0
- package/dist-es/commands/BatchGetFindingsCommand.js +16 -0
- package/dist-es/commands/BatchGetPentestJobTasksCommand.js +16 -0
- package/dist-es/commands/BatchGetPentestJobsCommand.js +16 -0
- package/dist-es/commands/BatchGetPentestsCommand.js +16 -0
- package/dist-es/commands/BatchGetTargetDomainsCommand.js +16 -0
- package/dist-es/commands/CreateAgentSpaceCommand.js +16 -0
- package/dist-es/commands/CreateApplicationCommand.js +16 -0
- package/dist-es/commands/CreateIntegrationCommand.js +16 -0
- package/dist-es/commands/CreateMembershipCommand.js +16 -0
- package/dist-es/commands/CreatePentestCommand.js +16 -0
- package/dist-es/commands/CreateTargetDomainCommand.js +16 -0
- package/dist-es/commands/DeleteAgentSpaceCommand.js +16 -0
- package/dist-es/commands/DeleteApplicationCommand.js +16 -0
- package/dist-es/commands/DeleteArtifactCommand.js +16 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +16 -0
- package/dist-es/commands/DeleteMembershipCommand.js +16 -0
- package/dist-es/commands/DeleteTargetDomainCommand.js +16 -0
- package/dist-es/commands/GetApplicationCommand.js +16 -0
- package/dist-es/commands/GetArtifactCommand.js +16 -0
- package/dist-es/commands/GetIntegrationCommand.js +16 -0
- package/dist-es/commands/InitiateProviderRegistrationCommand.js +16 -0
- package/dist-es/commands/ListAgentSpacesCommand.js +16 -0
- package/dist-es/commands/ListApplicationsCommand.js +16 -0
- package/dist-es/commands/ListArtifactsCommand.js +16 -0
- package/dist-es/commands/ListDiscoveredEndpointsCommand.js +16 -0
- package/dist-es/commands/ListFindingsCommand.js +16 -0
- package/dist-es/commands/ListIntegratedResourcesCommand.js +16 -0
- package/dist-es/commands/ListIntegrationsCommand.js +16 -0
- package/dist-es/commands/ListMembershipsCommand.js +16 -0
- package/dist-es/commands/ListPentestJobTasksCommand.js +16 -0
- package/dist-es/commands/ListPentestJobsForPentestCommand.js +16 -0
- package/dist-es/commands/ListPentestsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/ListTargetDomainsCommand.js +16 -0
- package/dist-es/commands/StartCodeRemediationCommand.js +16 -0
- package/dist-es/commands/StartPentestJobCommand.js +16 -0
- package/dist-es/commands/StopPentestJobCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAgentSpaceCommand.js +16 -0
- package/dist-es/commands/UpdateApplicationCommand.js +16 -0
- package/dist-es/commands/UpdateFindingCommand.js +16 -0
- package/dist-es/commands/UpdateIntegratedResourcesCommand.js +16 -0
- package/dist-es/commands/UpdatePentestCommand.js +16 -0
- package/dist-es/commands/UpdateTargetDomainCommand.js +16 -0
- package/dist-es/commands/VerifyTargetDomainCommand.js +16 -0
- package/dist-es/commands/index.js +50 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/SecurityAgentServiceException.js +8 -0
- package/dist-es/models/enums.js +162 -0
- package/dist-es/models/errors.js +79 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAgentSpacesPaginator.js +4 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
- package/dist-es/pagination/ListArtifactsPaginator.js +4 -0
- package/dist-es/pagination/ListDiscoveredEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListFindingsPaginator.js +4 -0
- package/dist-es/pagination/ListIntegratedResourcesPaginator.js +4 -0
- package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
- package/dist-es/pagination/ListMembershipsPaginator.js +4 -0
- package/dist-es/pagination/ListPentestJobTasksPaginator.js +4 -0
- package/dist-es/pagination/ListPentestJobsForPentestPaginator.js +4 -0
- package/dist-es/pagination/ListPentestsPaginator.js +4 -0
- package/dist-es/pagination/ListTargetDomainsPaginator.js +4 -0
- package/dist-es/pagination/index.js +13 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +49 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1563 -0
- package/dist-types/SecurityAgent.d.ts +449 -0
- package/dist-types/SecurityAgentClient.d.ts +237 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AddArtifactCommand.d.ts +94 -0
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +161 -0
- package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +123 -0
- package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +101 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +111 -0
- package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +109 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +187 -0
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +158 -0
- package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +99 -0
- package/dist-types/commands/CreateAgentSpaceCommand.d.ts +154 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +79 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +106 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +80 -0
- package/dist-types/commands/CreatePentestCommand.d.ts +194 -0
- package/dist-types/commands/CreateTargetDomainCommand.d.ts +94 -0
- package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +74 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +72 -0
- package/dist-types/commands/DeleteArtifactCommand.d.ts +90 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/DeleteMembershipCommand.d.ts +75 -0
- package/dist-types/commands/DeleteTargetDomainCommand.d.ts +74 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +82 -0
- package/dist-types/commands/GetArtifactCommand.d.ts +99 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +96 -0
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +95 -0
- package/dist-types/commands/ListAgentSpacesCommand.d.ts +83 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +83 -0
- package/dist-types/commands/ListArtifactsCommand.d.ts +100 -0
- package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +89 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +97 -0
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +114 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +100 -0
- package/dist-types/commands/ListMembershipsCommand.d.ts +101 -0
- package/dist-types/commands/ListPentestJobTasksCommand.d.ts +92 -0
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +87 -0
- package/dist-types/commands/ListPentestsCommand.d.ts +85 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +76 -0
- package/dist-types/commands/ListTargetDomainsCommand.d.ts +82 -0
- package/dist-types/commands/StartCodeRemediationCommand.d.ts +76 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +81 -0
- package/dist-types/commands/StopPentestJobCommand.d.ts +73 -0
- package/dist-types/commands/TagResourceCommand.d.ts +75 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +75 -0
- package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +150 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +76 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +75 -0
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +109 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +195 -0
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +91 -0
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +79 -0
- package/dist-types/commands/index.d.ts +50 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/SecurityAgentServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +609 -0
- package/dist-types/models/errors.d.ts +93 -0
- package/dist-types/models/models_0.d.ts +3749 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAgentSpacesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListArtifactsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDiscoveredEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntegratedResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMembershipsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPentestJobTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPentestJobsForPentestPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPentestsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTargetDomainsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +225 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +950 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +419 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +50 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +200 -0
- package/dist-types/ts3.4/models/errors.d.ts +46 -0
- package/dist-types/ts3.4/models/models_0.d.ts +977 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAgentSpacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListArtifactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDiscoveredEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntegratedResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPentestJobTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPentestJobsForPentestPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPentestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTargetDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +225 -0
- package/package.json +100 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetAgentSpacesInput, BatchGetAgentSpacesOutput } from "../models/models_0";
|
|
4
|
+
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetAgentSpacesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetAgentSpacesCommandInput extends BatchGetAgentSpacesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetAgentSpacesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetAgentSpacesCommandOutput extends BatchGetAgentSpacesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetAgentSpacesCommand_base: {
|
|
25
|
+
new (input: BatchGetAgentSpacesCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetAgentSpacesCommandInput, BatchGetAgentSpacesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetAgentSpacesCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetAgentSpacesCommandInput, BatchGetAgentSpacesCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves multiple agent spaces in a single request
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, BatchGetAgentSpacesCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, BatchGetAgentSpacesCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // BatchGetAgentSpacesInput
|
|
40
|
+
* agentSpaceIds: [ // AgentSpaceIdList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new BatchGetAgentSpacesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // BatchGetAgentSpacesOutput
|
|
47
|
+
* // agentSpaces: [ // AgentSpaceList
|
|
48
|
+
* // { // AgentSpace
|
|
49
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // awsResources: { // AWSResources
|
|
53
|
+
* // vpcs: [ // VpcConfigs
|
|
54
|
+
* // { // VpcConfig
|
|
55
|
+
* // vpcArn: "STRING_VALUE",
|
|
56
|
+
* // securityGroupArns: [ // SecurityGroupArns
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // subnetArns: [ // SubnetArns
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // logGroups: [ // LogGroupArns
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // s3Buckets: [ // S3BucketArns
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // secretArns: [ // SecretArns
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // lambdaFunctionArns: [ // LambdaFunctionArns
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // iamRoles: [ // IamRoles
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // targetDomainIds: [ // TargetDomainIdList
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // codeReviewSettings: { // CodeReviewSettings
|
|
84
|
+
* // controlsScanning: true || false, // required
|
|
85
|
+
* // generalPurposeScanning: true || false, // required
|
|
86
|
+
* // },
|
|
87
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
88
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
89
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // notFound: [ // AgentSpaceIdList
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param BatchGetAgentSpacesCommandInput - {@link BatchGetAgentSpacesCommandInput}
|
|
100
|
+
* @returns {@link BatchGetAgentSpacesCommandOutput}
|
|
101
|
+
* @see {@link BatchGetAgentSpacesCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link BatchGetAgentSpacesCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link SecurityAgentServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class BatchGetAgentSpacesCommand extends BatchGetAgentSpacesCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: BatchGetAgentSpacesInput;
|
|
116
|
+
output: BatchGetAgentSpacesOutput;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: BatchGetAgentSpacesCommandInput;
|
|
120
|
+
output: BatchGetAgentSpacesCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetArtifactMetadataInput, BatchGetArtifactMetadataOutput } from "../models/models_0";
|
|
4
|
+
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetArtifactMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetArtifactMetadataCommandInput extends BatchGetArtifactMetadataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetArtifactMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetArtifactMetadataCommandOutput extends BatchGetArtifactMetadataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetArtifactMetadataCommand_base: {
|
|
25
|
+
new (input: BatchGetArtifactMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetArtifactMetadataCommandInput, BatchGetArtifactMetadataCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetArtifactMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetArtifactMetadataCommandInput, BatchGetArtifactMetadataCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve the list of artifact metadata for the given agent space
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, BatchGetArtifactMetadataCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, BatchGetArtifactMetadataCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // BatchGetArtifactMetadataInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* artifactIds: [ // ArtifactIds // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new BatchGetArtifactMetadataCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // BatchGetArtifactMetadataOutput
|
|
48
|
+
* // artifactMetadataList: [ // ArtifactMetadataList // required
|
|
49
|
+
* // { // ArtifactMetadataItem
|
|
50
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
51
|
+
* // artifactId: "STRING_VALUE", // required
|
|
52
|
+
* // fileName: "STRING_VALUE", // required
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param BatchGetArtifactMetadataCommandInput - {@link BatchGetArtifactMetadataCommandInput}
|
|
61
|
+
* @returns {@link BatchGetArtifactMetadataCommandOutput}
|
|
62
|
+
* @see {@link BatchGetArtifactMetadataCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link BatchGetArtifactMetadataCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* Request denied due to insufficient permissions
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* Unexpected server error occurred
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* Specified resource was not found
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* Request denied due to throttling
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* A standard error for input validation failures.
|
|
80
|
+
* This should be thrown by services when a member of the input structure
|
|
81
|
+
* falls outside of the modeled or documented constraints.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link SecurityAgentServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class BatchGetArtifactMetadataCommand extends BatchGetArtifactMetadataCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: BatchGetArtifactMetadataInput;
|
|
94
|
+
output: BatchGetArtifactMetadataOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: BatchGetArtifactMetadataCommandInput;
|
|
98
|
+
output: BatchGetArtifactMetadataCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetFindingsInput, BatchGetFindingsOutput } from "../models/models_0";
|
|
4
|
+
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetFindingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetFindingsCommandInput extends BatchGetFindingsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetFindingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetFindingsCommandOutput extends BatchGetFindingsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetFindingsCommand_base: {
|
|
25
|
+
new (input: BatchGetFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves multiple findings in a single request
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, BatchGetFindingsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, BatchGetFindingsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // BatchGetFindingsInput
|
|
40
|
+
* findingIds: [ // FindingIdList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new BatchGetFindingsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // BatchGetFindingsOutput
|
|
48
|
+
* // findings: [ // FindingList
|
|
49
|
+
* // { // Finding
|
|
50
|
+
* // findingId: "STRING_VALUE", // required
|
|
51
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
52
|
+
* // pentestId: "STRING_VALUE",
|
|
53
|
+
* // pentestJobId: "STRING_VALUE",
|
|
54
|
+
* // taskId: "STRING_VALUE",
|
|
55
|
+
* // name: "STRING_VALUE",
|
|
56
|
+
* // description: "STRING_VALUE",
|
|
57
|
+
* // status: "ACTIVE" || "RESOLVED" || "ACCEPTED" || "FALSE_POSITIVE",
|
|
58
|
+
* // riskType: "STRING_VALUE",
|
|
59
|
+
* // riskLevel: "UNKNOWN" || "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
60
|
+
* // riskScore: "STRING_VALUE",
|
|
61
|
+
* // reasoning: "STRING_VALUE",
|
|
62
|
+
* // confidence: "FALSE_POSITIVE" || "UNCONFIRMED" || "LOW" || "MEDIUM" || "HIGH",
|
|
63
|
+
* // attackScript: "STRING_VALUE",
|
|
64
|
+
* // codeRemediationTask: { // CodeRemediationTask
|
|
65
|
+
* // status: "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
66
|
+
* // statusReason: "STRING_VALUE",
|
|
67
|
+
* // taskDetails: [ // CodeRemediationTaskDetailsList
|
|
68
|
+
* // { // CodeRemediationTaskDetails
|
|
69
|
+
* // repoName: "STRING_VALUE",
|
|
70
|
+
* // codeDiffLink: "STRING_VALUE",
|
|
71
|
+
* // pullRequestLink: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // lastUpdatedBy: "STRING_VALUE",
|
|
76
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
77
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // notFound: [ // FindingIdList
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @param BatchGetFindingsCommandInput - {@link BatchGetFindingsCommandInput}
|
|
88
|
+
* @returns {@link BatchGetFindingsCommandOutput}
|
|
89
|
+
* @see {@link BatchGetFindingsCommandInput} for command's `input` shape.
|
|
90
|
+
* @see {@link BatchGetFindingsCommandOutput} for command's `response` shape.
|
|
91
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link SecurityAgentServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class BatchGetFindingsCommand extends BatchGetFindingsCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: BatchGetFindingsInput;
|
|
104
|
+
output: BatchGetFindingsOutput;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: BatchGetFindingsCommandInput;
|
|
108
|
+
output: BatchGetFindingsCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetPentestJobTasksInput, BatchGetPentestJobTasksOutput } from "../models/models_0";
|
|
4
|
+
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetPentestJobTasksCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetPentestJobTasksCommandInput extends BatchGetPentestJobTasksInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetPentestJobTasksCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetPentestJobTasksCommandOutput extends BatchGetPentestJobTasksOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetPentestJobTasksCommand_base: {
|
|
25
|
+
new (input: BatchGetPentestJobTasksCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetPentestJobTasksCommandInput, BatchGetPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetPentestJobTasksCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetPentestJobTasksCommandInput, BatchGetPentestJobTasksCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves multiple tasks for a pentest job in a single request
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, BatchGetPentestJobTasksCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, BatchGetPentestJobTasksCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // BatchGetPentestJobTasksInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* taskIds: [ // TaskIdList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new BatchGetPentestJobTasksCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // BatchGetPentestJobTasksOutput
|
|
48
|
+
* // tasks: [ // TaskList
|
|
49
|
+
* // { // Task
|
|
50
|
+
* // taskId: "STRING_VALUE", // required
|
|
51
|
+
* // pentestId: "STRING_VALUE",
|
|
52
|
+
* // pentestJobId: "STRING_VALUE",
|
|
53
|
+
* // agentSpaceId: "STRING_VALUE",
|
|
54
|
+
* // title: "STRING_VALUE",
|
|
55
|
+
* // description: "STRING_VALUE",
|
|
56
|
+
* // categories: [ // CategoryList
|
|
57
|
+
* // { // Category
|
|
58
|
+
* // name: "STRING_VALUE",
|
|
59
|
+
* // isPrimary: true || false,
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // riskType: "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
|
|
63
|
+
* // targetEndpoint: { // Endpoint
|
|
64
|
+
* // uri: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // executionStatus: "IN_PROGRESS" || "ABORTED" || "COMPLETED" || "INTERNAL_ERROR" || "FAILED",
|
|
67
|
+
* // logsLocation: { // LogLocation
|
|
68
|
+
* // logType: "CLOUDWATCH",
|
|
69
|
+
* // cloudWatchLog: { // CloudWatchLog
|
|
70
|
+
* // logGroup: "STRING_VALUE",
|
|
71
|
+
* // logStream: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
75
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // notFound: [ // TaskIdList
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @param BatchGetPentestJobTasksCommandInput - {@link BatchGetPentestJobTasksCommandInput}
|
|
86
|
+
* @returns {@link BatchGetPentestJobTasksCommandOutput}
|
|
87
|
+
* @see {@link BatchGetPentestJobTasksCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link BatchGetPentestJobTasksCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link SecurityAgentServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class BatchGetPentestJobTasksCommand extends BatchGetPentestJobTasksCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: BatchGetPentestJobTasksInput;
|
|
102
|
+
output: BatchGetPentestJobTasksOutput;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: BatchGetPentestJobTasksCommandInput;
|
|
106
|
+
output: BatchGetPentestJobTasksCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchGetPentestJobsInput, BatchGetPentestJobsOutput } from "../models/models_0";
|
|
4
|
+
import type { SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityAgentClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetPentestJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetPentestJobsCommandInput extends BatchGetPentestJobsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetPentestJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetPentestJobsCommandOutput extends BatchGetPentestJobsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetPentestJobsCommand_base: {
|
|
25
|
+
new (input: BatchGetPentestJobsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetPentestJobsCommandInput, BatchGetPentestJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetPentestJobsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetPentestJobsCommandInput, BatchGetPentestJobsCommandOutput, SecurityAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves multiple pentest jobs in a single request
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityAgentClient, BatchGetPentestJobsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
35
|
+
* // const { SecurityAgentClient, BatchGetPentestJobsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
36
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
37
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
38
|
+
* const client = new SecurityAgentClient(config);
|
|
39
|
+
* const input = { // BatchGetPentestJobsInput
|
|
40
|
+
* pentestJobIds: [ // PentestJobIdList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new BatchGetPentestJobsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // BatchGetPentestJobsOutput
|
|
48
|
+
* // pentestJobs: [ // PentestJobList
|
|
49
|
+
* // { // PentestJob
|
|
50
|
+
* // pentestJobId: "STRING_VALUE",
|
|
51
|
+
* // pentestId: "STRING_VALUE",
|
|
52
|
+
* // title: "STRING_VALUE",
|
|
53
|
+
* // overview: "STRING_VALUE",
|
|
54
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
55
|
+
* // endpoints: [ // EndpointList
|
|
56
|
+
* // { // Endpoint
|
|
57
|
+
* // uri: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // actors: [ // ActorList
|
|
61
|
+
* // { // Actor
|
|
62
|
+
* // identifier: "STRING_VALUE",
|
|
63
|
+
* // uris: [ // UriList
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // authentication: { // Authentication
|
|
67
|
+
* // providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
68
|
+
* // value: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // description: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // documents: [ // DocumentList
|
|
74
|
+
* // { // DocumentInfo
|
|
75
|
+
* // s3Location: "STRING_VALUE",
|
|
76
|
+
* // artifactId: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // sourceCode: [ // SourceCodeRepositoryList
|
|
80
|
+
* // { // SourceCodeRepository
|
|
81
|
+
* // s3Location: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // excludePaths: [
|
|
85
|
+
* // {
|
|
86
|
+
* // uri: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // allowedDomains: [
|
|
90
|
+
* // {
|
|
91
|
+
* // uri: "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // excludeRiskTypes: [ // RiskTypeList
|
|
95
|
+
* // "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
|
|
96
|
+
* // ],
|
|
97
|
+
* // steps: [ // StepList
|
|
98
|
+
* // { // Step
|
|
99
|
+
* // name: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING",
|
|
100
|
+
* // status: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOPPED",
|
|
101
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
102
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // executionContext: [ // ExecutionContextList
|
|
106
|
+
* // { // ExecutionContext
|
|
107
|
+
* // contextType: "ERROR" || "CLIENT_ERROR" || "WARNING" || "INFO",
|
|
108
|
+
* // context: "STRING_VALUE",
|
|
109
|
+
* // timestamp: new Date("TIMESTAMP"),
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // serviceRole: "STRING_VALUE",
|
|
113
|
+
* // logConfig: { // CloudWatchLog
|
|
114
|
+
* // logGroup: "STRING_VALUE",
|
|
115
|
+
* // logStream: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // vpcConfig: { // VpcConfig
|
|
118
|
+
* // vpcArn: "STRING_VALUE",
|
|
119
|
+
* // securityGroupArns: [ // SecurityGroupArns
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // subnetArns: [ // SubnetArns
|
|
123
|
+
* // "STRING_VALUE",
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // networkTrafficConfig: { // NetworkTrafficConfig
|
|
127
|
+
* // rules: [ // NetworkTrafficRuleList
|
|
128
|
+
* // { // NetworkTrafficRule
|
|
129
|
+
* // effect: "ALLOW" || "DENY",
|
|
130
|
+
* // pattern: "STRING_VALUE",
|
|
131
|
+
* // networkTrafficRuleType: "URL",
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // customHeaders: [ // CustomHeaderList
|
|
135
|
+
* // { // CustomHeader
|
|
136
|
+
* // name: "STRING_VALUE",
|
|
137
|
+
* // value: "STRING_VALUE",
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // },
|
|
141
|
+
* // errorInformation: { // ErrorInformation
|
|
142
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER",
|
|
143
|
+
* // message: "STRING_VALUE",
|
|
144
|
+
* // },
|
|
145
|
+
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
146
|
+
* // { // IntegratedRepository
|
|
147
|
+
* // integrationId: "STRING_VALUE", // required
|
|
148
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
152
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
153
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // notFound: [ // PentestJobIdList
|
|
157
|
+
* // "STRING_VALUE",
|
|
158
|
+
* // ],
|
|
159
|
+
* // };
|
|
160
|
+
*
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @param BatchGetPentestJobsCommandInput - {@link BatchGetPentestJobsCommandInput}
|
|
164
|
+
* @returns {@link BatchGetPentestJobsCommandOutput}
|
|
165
|
+
* @see {@link BatchGetPentestJobsCommandInput} for command's `input` shape.
|
|
166
|
+
* @see {@link BatchGetPentestJobsCommandOutput} for command's `response` shape.
|
|
167
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link SecurityAgentServiceException}
|
|
170
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
171
|
+
*
|
|
172
|
+
*
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export declare class BatchGetPentestJobsCommand extends BatchGetPentestJobsCommand_base {
|
|
176
|
+
/** @internal type navigation helper, not in runtime. */
|
|
177
|
+
protected static __types: {
|
|
178
|
+
api: {
|
|
179
|
+
input: BatchGetPentestJobsInput;
|
|
180
|
+
output: BatchGetPentestJobsOutput;
|
|
181
|
+
};
|
|
182
|
+
sdk: {
|
|
183
|
+
input: BatchGetPentestJobsCommandInput;
|
|
184
|
+
output: BatchGetPentestJobsCommandOutput;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}
|