@aws-sdk/client-securityagent 3.1148.0 → 3.1150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist-cjs/index.js +232 -73
- package/dist-es/SecurityAgent.js +4 -0
- package/dist-es/commands/BatchDisassociateFindingIssueCommand.js +4 -0
- package/dist-es/commands/BatchExportFindingsCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/SecurityAgentServiceException.js +1 -0
- package/dist-es/models/enums.js +14 -7
- package/dist-es/models/errors.js +7 -0
- package/dist-es/schemas/schemas_0.js +182 -65
- package/dist-types/SecurityAgent.d.ts +14 -0
- package/dist-types/SecurityAgentClient.d.ts +4 -2
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
- package/dist-types/commands/BatchDisassociateFindingIssueCommand.d.ts +103 -0
- package/dist-types/commands/BatchExportFindingsCommand.d.ts +121 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +9 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +7 -1
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +3 -2
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -1
- package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -4
- package/dist-types/commands/StopCodeReviewJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPentestJobCommand.d.ts +1 -1
- package/dist-types/commands/StopThreatModelJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +6 -0
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/SecurityAgentServiceException.d.ts +1 -0
- package/dist-types/models/enums.d.ts +36 -15
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +436 -314
- package/dist-types/models/models_1.d.ts +311 -2
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +34 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchDisassociateFindingIssueCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchExportFindingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +16 -8
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +150 -66
- package/dist-types/ts3.4/models/models_1.d.ts +72 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +4 -4
|
@@ -12,6 +12,8 @@ import type { BatchDeleteCodeReviewsCommandInput, BatchDeleteCodeReviewsCommandO
|
|
|
12
12
|
import type { BatchDeletePentestsCommandInput, BatchDeletePentestsCommandOutput } from "./commands/BatchDeletePentestsCommand";
|
|
13
13
|
import type { BatchDeleteSecurityRequirementsCommandInput, BatchDeleteSecurityRequirementsCommandOutput } from "./commands/BatchDeleteSecurityRequirementsCommand";
|
|
14
14
|
import type { BatchDeleteThreatModelsCommandInput, BatchDeleteThreatModelsCommandOutput } from "./commands/BatchDeleteThreatModelsCommand";
|
|
15
|
+
import type { BatchDisassociateFindingIssueCommandInput, BatchDisassociateFindingIssueCommandOutput } from "./commands/BatchDisassociateFindingIssueCommand";
|
|
16
|
+
import type { BatchExportFindingsCommandInput, BatchExportFindingsCommandOutput } from "./commands/BatchExportFindingsCommand";
|
|
15
17
|
import type { BatchGetAgentSpacesCommandInput, BatchGetAgentSpacesCommandOutput } from "./commands/BatchGetAgentSpacesCommand";
|
|
16
18
|
import type { BatchGetArtifactMetadataCommandInput, BatchGetArtifactMetadataCommandOutput } from "./commands/BatchGetArtifactMetadataCommand";
|
|
17
19
|
import type { BatchGetCodeReviewJobsCommandInput, BatchGetCodeReviewJobsCommandOutput } from "./commands/BatchGetCodeReviewJobsCommand";
|
|
@@ -106,11 +108,11 @@ export { __Client };
|
|
|
106
108
|
/**
|
|
107
109
|
* @public
|
|
108
110
|
*/
|
|
109
|
-
export type ServiceInputTypes = AddArtifactCommandInput | BatchCreateSecurityRequirementsCommandInput | BatchDeleteCodeReviewsCommandInput | BatchDeletePentestsCommandInput | BatchDeleteSecurityRequirementsCommandInput | BatchDeleteThreatModelsCommandInput | BatchGetAgentSpacesCommandInput | BatchGetArtifactMetadataCommandInput | BatchGetCodeReviewJobTasksCommandInput | BatchGetCodeReviewJobsCommandInput | BatchGetCodeReviewsCommandInput | BatchGetFindingsCommandInput | BatchGetPentestJobTasksCommandInput | BatchGetPentestJobsCommandInput | BatchGetPentestsCommandInput | BatchGetSecurityRequirementsCommandInput | BatchGetTargetDomainsCommandInput | BatchGetThreatModelJobTasksCommandInput | BatchGetThreatModelJobsCommandInput | BatchGetThreatModelsCommandInput | BatchGetThreatsCommandInput | BatchUpdateSecurityRequirementsCommandInput | CreateAgentSpaceCommandInput | CreateApplicationCommandInput | CreateCodeReviewCommandInput | CreateIntegrationCommandInput | CreateMembershipCommandInput | CreatePentestCommandInput | CreatePrivateConnectionCommandInput | CreateSecurityRequirementPackCommandInput | CreateTargetDomainCommandInput | CreateThreatCommandInput | CreateThreatModelCommandInput | DeleteAgentSpaceCommandInput | DeleteApplicationCommandInput | DeleteArtifactCommandInput | DeleteIntegrationCommandInput | DeleteMembershipCommandInput | DeletePrivateConnectionCommandInput | DeleteSecurityRequirementPackCommandInput | DeleteTargetDomainCommandInput | DescribePrivateConnectionCommandInput | GetApplicationCommandInput | GetArtifactCommandInput | GetIntegrationCommandInput | GetSecurityRequirementPackCommandInput | ImportSecurityRequirementsCommandInput | InitiateProviderRegistrationCommandInput | ListActorMessagesCommandInput | ListAgentSpacesCommandInput | ListApplicationsCommandInput | ListArtifactsCommandInput | ListCodeReviewJobTasksCommandInput | ListCodeReviewJobsForCodeReviewCommandInput | ListCodeReviewsCommandInput | ListDiscoveredEndpointsCommandInput | ListFindingsCommandInput | ListIntegratedResourcesCommandInput | ListIntegrationsCommandInput | ListMembershipsCommandInput | ListPentestJobTasksCommandInput | ListPentestJobsForPentestCommandInput | ListPentestsCommandInput | ListPrivateConnectionsCommandInput | ListSecurityRequirementPacksCommandInput | ListSecurityRequirementsCommandInput | ListTagsForResourceCommandInput | ListTargetDomainsCommandInput | ListThreatModelJobTasksCommandInput | ListThreatModelJobsCommandInput | ListThreatModelsCommandInput | ListThreatsCommandInput | StartCodeRemediationCommandInput | StartCodeReviewJobCommandInput | StartPentestJobCommandInput | StartThreatModelJobCommandInput | StopCodeReviewJobCommandInput | StopPentestJobCommandInput | StopThreatModelJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateApplicationCommandInput | UpdateCodeReviewCommandInput | UpdateFindingCommandInput | UpdateIntegratedResourcesCommandInput | UpdateIntegrationCommandInput | UpdatePentestCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateSecurityRequirementPackCommandInput | UpdateTargetDomainCommandInput | UpdateThreatCommandInput | UpdateThreatModelCommandInput | VerifyTargetDomainCommandInput;
|
|
111
|
+
export type ServiceInputTypes = AddArtifactCommandInput | BatchCreateSecurityRequirementsCommandInput | BatchDeleteCodeReviewsCommandInput | BatchDeletePentestsCommandInput | BatchDeleteSecurityRequirementsCommandInput | BatchDeleteThreatModelsCommandInput | BatchDisassociateFindingIssueCommandInput | BatchExportFindingsCommandInput | BatchGetAgentSpacesCommandInput | BatchGetArtifactMetadataCommandInput | BatchGetCodeReviewJobTasksCommandInput | BatchGetCodeReviewJobsCommandInput | BatchGetCodeReviewsCommandInput | BatchGetFindingsCommandInput | BatchGetPentestJobTasksCommandInput | BatchGetPentestJobsCommandInput | BatchGetPentestsCommandInput | BatchGetSecurityRequirementsCommandInput | BatchGetTargetDomainsCommandInput | BatchGetThreatModelJobTasksCommandInput | BatchGetThreatModelJobsCommandInput | BatchGetThreatModelsCommandInput | BatchGetThreatsCommandInput | BatchUpdateSecurityRequirementsCommandInput | CreateAgentSpaceCommandInput | CreateApplicationCommandInput | CreateCodeReviewCommandInput | CreateIntegrationCommandInput | CreateMembershipCommandInput | CreatePentestCommandInput | CreatePrivateConnectionCommandInput | CreateSecurityRequirementPackCommandInput | CreateTargetDomainCommandInput | CreateThreatCommandInput | CreateThreatModelCommandInput | DeleteAgentSpaceCommandInput | DeleteApplicationCommandInput | DeleteArtifactCommandInput | DeleteIntegrationCommandInput | DeleteMembershipCommandInput | DeletePrivateConnectionCommandInput | DeleteSecurityRequirementPackCommandInput | DeleteTargetDomainCommandInput | DescribePrivateConnectionCommandInput | GetApplicationCommandInput | GetArtifactCommandInput | GetIntegrationCommandInput | GetSecurityRequirementPackCommandInput | ImportSecurityRequirementsCommandInput | InitiateProviderRegistrationCommandInput | ListActorMessagesCommandInput | ListAgentSpacesCommandInput | ListApplicationsCommandInput | ListArtifactsCommandInput | ListCodeReviewJobTasksCommandInput | ListCodeReviewJobsForCodeReviewCommandInput | ListCodeReviewsCommandInput | ListDiscoveredEndpointsCommandInput | ListFindingsCommandInput | ListIntegratedResourcesCommandInput | ListIntegrationsCommandInput | ListMembershipsCommandInput | ListPentestJobTasksCommandInput | ListPentestJobsForPentestCommandInput | ListPentestsCommandInput | ListPrivateConnectionsCommandInput | ListSecurityRequirementPacksCommandInput | ListSecurityRequirementsCommandInput | ListTagsForResourceCommandInput | ListTargetDomainsCommandInput | ListThreatModelJobTasksCommandInput | ListThreatModelJobsCommandInput | ListThreatModelsCommandInput | ListThreatsCommandInput | StartCodeRemediationCommandInput | StartCodeReviewJobCommandInput | StartPentestJobCommandInput | StartThreatModelJobCommandInput | StopCodeReviewJobCommandInput | StopPentestJobCommandInput | StopThreatModelJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateApplicationCommandInput | UpdateCodeReviewCommandInput | UpdateFindingCommandInput | UpdateIntegratedResourcesCommandInput | UpdateIntegrationCommandInput | UpdatePentestCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateSecurityRequirementPackCommandInput | UpdateTargetDomainCommandInput | UpdateThreatCommandInput | UpdateThreatModelCommandInput | VerifyTargetDomainCommandInput;
|
|
110
112
|
/**
|
|
111
113
|
* @public
|
|
112
114
|
*/
|
|
113
|
-
export type ServiceOutputTypes = AddArtifactCommandOutput | BatchCreateSecurityRequirementsCommandOutput | BatchDeleteCodeReviewsCommandOutput | BatchDeletePentestsCommandOutput | BatchDeleteSecurityRequirementsCommandOutput | BatchDeleteThreatModelsCommandOutput | BatchGetAgentSpacesCommandOutput | BatchGetArtifactMetadataCommandOutput | BatchGetCodeReviewJobTasksCommandOutput | BatchGetCodeReviewJobsCommandOutput | BatchGetCodeReviewsCommandOutput | BatchGetFindingsCommandOutput | BatchGetPentestJobTasksCommandOutput | BatchGetPentestJobsCommandOutput | BatchGetPentestsCommandOutput | BatchGetSecurityRequirementsCommandOutput | BatchGetTargetDomainsCommandOutput | BatchGetThreatModelJobTasksCommandOutput | BatchGetThreatModelJobsCommandOutput | BatchGetThreatModelsCommandOutput | BatchGetThreatsCommandOutput | BatchUpdateSecurityRequirementsCommandOutput | CreateAgentSpaceCommandOutput | CreateApplicationCommandOutput | CreateCodeReviewCommandOutput | CreateIntegrationCommandOutput | CreateMembershipCommandOutput | CreatePentestCommandOutput | CreatePrivateConnectionCommandOutput | CreateSecurityRequirementPackCommandOutput | CreateTargetDomainCommandOutput | CreateThreatCommandOutput | CreateThreatModelCommandOutput | DeleteAgentSpaceCommandOutput | DeleteApplicationCommandOutput | DeleteArtifactCommandOutput | DeleteIntegrationCommandOutput | DeleteMembershipCommandOutput | DeletePrivateConnectionCommandOutput | DeleteSecurityRequirementPackCommandOutput | DeleteTargetDomainCommandOutput | DescribePrivateConnectionCommandOutput | GetApplicationCommandOutput | GetArtifactCommandOutput | GetIntegrationCommandOutput | GetSecurityRequirementPackCommandOutput | ImportSecurityRequirementsCommandOutput | InitiateProviderRegistrationCommandOutput | ListActorMessagesCommandOutput | ListAgentSpacesCommandOutput | ListApplicationsCommandOutput | ListArtifactsCommandOutput | ListCodeReviewJobTasksCommandOutput | ListCodeReviewJobsForCodeReviewCommandOutput | ListCodeReviewsCommandOutput | ListDiscoveredEndpointsCommandOutput | ListFindingsCommandOutput | ListIntegratedResourcesCommandOutput | ListIntegrationsCommandOutput | ListMembershipsCommandOutput | ListPentestJobTasksCommandOutput | ListPentestJobsForPentestCommandOutput | ListPentestsCommandOutput | ListPrivateConnectionsCommandOutput | ListSecurityRequirementPacksCommandOutput | ListSecurityRequirementsCommandOutput | ListTagsForResourceCommandOutput | ListTargetDomainsCommandOutput | ListThreatModelJobTasksCommandOutput | ListThreatModelJobsCommandOutput | ListThreatModelsCommandOutput | ListThreatsCommandOutput | StartCodeRemediationCommandOutput | StartCodeReviewJobCommandOutput | StartPentestJobCommandOutput | StartThreatModelJobCommandOutput | StopCodeReviewJobCommandOutput | StopPentestJobCommandOutput | StopThreatModelJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateApplicationCommandOutput | UpdateCodeReviewCommandOutput | UpdateFindingCommandOutput | UpdateIntegratedResourcesCommandOutput | UpdateIntegrationCommandOutput | UpdatePentestCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateSecurityRequirementPackCommandOutput | UpdateTargetDomainCommandOutput | UpdateThreatCommandOutput | UpdateThreatModelCommandOutput | VerifyTargetDomainCommandOutput;
|
|
115
|
+
export type ServiceOutputTypes = AddArtifactCommandOutput | BatchCreateSecurityRequirementsCommandOutput | BatchDeleteCodeReviewsCommandOutput | BatchDeletePentestsCommandOutput | BatchDeleteSecurityRequirementsCommandOutput | BatchDeleteThreatModelsCommandOutput | BatchDisassociateFindingIssueCommandOutput | BatchExportFindingsCommandOutput | BatchGetAgentSpacesCommandOutput | BatchGetArtifactMetadataCommandOutput | BatchGetCodeReviewJobTasksCommandOutput | BatchGetCodeReviewJobsCommandOutput | BatchGetCodeReviewsCommandOutput | BatchGetFindingsCommandOutput | BatchGetPentestJobTasksCommandOutput | BatchGetPentestJobsCommandOutput | BatchGetPentestsCommandOutput | BatchGetSecurityRequirementsCommandOutput | BatchGetTargetDomainsCommandOutput | BatchGetThreatModelJobTasksCommandOutput | BatchGetThreatModelJobsCommandOutput | BatchGetThreatModelsCommandOutput | BatchGetThreatsCommandOutput | BatchUpdateSecurityRequirementsCommandOutput | CreateAgentSpaceCommandOutput | CreateApplicationCommandOutput | CreateCodeReviewCommandOutput | CreateIntegrationCommandOutput | CreateMembershipCommandOutput | CreatePentestCommandOutput | CreatePrivateConnectionCommandOutput | CreateSecurityRequirementPackCommandOutput | CreateTargetDomainCommandOutput | CreateThreatCommandOutput | CreateThreatModelCommandOutput | DeleteAgentSpaceCommandOutput | DeleteApplicationCommandOutput | DeleteArtifactCommandOutput | DeleteIntegrationCommandOutput | DeleteMembershipCommandOutput | DeletePrivateConnectionCommandOutput | DeleteSecurityRequirementPackCommandOutput | DeleteTargetDomainCommandOutput | DescribePrivateConnectionCommandOutput | GetApplicationCommandOutput | GetArtifactCommandOutput | GetIntegrationCommandOutput | GetSecurityRequirementPackCommandOutput | ImportSecurityRequirementsCommandOutput | InitiateProviderRegistrationCommandOutput | ListActorMessagesCommandOutput | ListAgentSpacesCommandOutput | ListApplicationsCommandOutput | ListArtifactsCommandOutput | ListCodeReviewJobTasksCommandOutput | ListCodeReviewJobsForCodeReviewCommandOutput | ListCodeReviewsCommandOutput | ListDiscoveredEndpointsCommandOutput | ListFindingsCommandOutput | ListIntegratedResourcesCommandOutput | ListIntegrationsCommandOutput | ListMembershipsCommandOutput | ListPentestJobTasksCommandOutput | ListPentestJobsForPentestCommandOutput | ListPentestsCommandOutput | ListPrivateConnectionsCommandOutput | ListSecurityRequirementPacksCommandOutput | ListSecurityRequirementsCommandOutput | ListTagsForResourceCommandOutput | ListTargetDomainsCommandOutput | ListThreatModelJobTasksCommandOutput | ListThreatModelJobsCommandOutput | ListThreatModelsCommandOutput | ListThreatsCommandOutput | StartCodeRemediationCommandOutput | StartCodeReviewJobCommandOutput | StartPentestJobCommandOutput | StartThreatModelJobCommandOutput | StopCodeReviewJobCommandOutput | StopPentestJobCommandOutput | StopThreatModelJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateApplicationCommandOutput | UpdateCodeReviewCommandOutput | UpdateFindingCommandOutput | UpdateIntegratedResourcesCommandOutput | UpdateIntegrationCommandOutput | UpdatePentestCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateSecurityRequirementPackCommandOutput | UpdateTargetDomainCommandOutput | UpdateThreatCommandOutput | UpdateThreatModelCommandOutput | VerifyTargetDomainCommandOutput;
|
|
114
116
|
/**
|
|
115
117
|
* @public
|
|
116
118
|
*/
|
|
@@ -169,6 +169,9 @@ declare const BatchDeletePentestsCommand_base: {
|
|
|
169
169
|
* // cicdConfiguration: { // CiCdConfiguration
|
|
170
170
|
* // enabled: true || false,
|
|
171
171
|
* // },
|
|
172
|
+
* // testScope: { // TestScope
|
|
173
|
+
* // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
174
|
+
* // },
|
|
172
175
|
* // createdAt: new Date("TIMESTAMP"),
|
|
173
176
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
174
177
|
* // },
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { BatchDisassociateFindingIssueInput, BatchDisassociateFindingIssueOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link BatchDisassociateFindingIssueCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface BatchDisassociateFindingIssueCommandInput extends BatchDisassociateFindingIssueInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link BatchDisassociateFindingIssueCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface BatchDisassociateFindingIssueCommandOutput extends BatchDisassociateFindingIssueOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const BatchDisassociateFindingIssueCommand_base: {
|
|
22
|
+
new (input: BatchDisassociateFindingIssueCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateFindingIssueCommandInput, BatchDisassociateFindingIssueCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchDisassociateFindingIssueCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateFindingIssueCommandInput, BatchDisassociateFindingIssueCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Disassociates a batch of findings from their linked issues.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityAgentClient, BatchDisassociateFindingIssueCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
32
|
+
* // const { SecurityAgentClient, BatchDisassociateFindingIssueCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
33
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
34
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
35
|
+
* const client = new SecurityAgentClient(config);
|
|
36
|
+
* const input = { // BatchDisassociateFindingIssueInput
|
|
37
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
38
|
+
* pentestJobId: "STRING_VALUE",
|
|
39
|
+
* codeReviewJobId: "STRING_VALUE",
|
|
40
|
+
* findingIds: [ // FindingIdList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new BatchDisassociateFindingIssueCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // BatchDisassociateFindingIssueOutput
|
|
47
|
+
* // errors: [ // BatchDisassociateFindingIssueErrors // required
|
|
48
|
+
* // { // BatchDisassociateFindingIssueError
|
|
49
|
+
* // findingId: "STRING_VALUE", // required
|
|
50
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER", // required
|
|
51
|
+
* // message: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param BatchDisassociateFindingIssueCommandInput - {@link BatchDisassociateFindingIssueCommandInput}
|
|
59
|
+
* @returns {@link BatchDisassociateFindingIssueCommandOutput}
|
|
60
|
+
* @see {@link BatchDisassociateFindingIssueCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link BatchDisassociateFindingIssueCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
77
|
+
* <p>The request exceeds a service quota. Review your current usage and request a quota increase if needed.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link SecurityAgentServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class BatchDisassociateFindingIssueCommand extends BatchDisassociateFindingIssueCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: BatchDisassociateFindingIssueInput;
|
|
96
|
+
output: BatchDisassociateFindingIssueOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: BatchDisassociateFindingIssueCommandInput;
|
|
100
|
+
output: BatchDisassociateFindingIssueCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { BatchExportFindingsInput, BatchExportFindingsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link BatchExportFindingsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface BatchExportFindingsCommandInput extends BatchExportFindingsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link BatchExportFindingsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface BatchExportFindingsCommandOutput extends BatchExportFindingsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const BatchExportFindingsCommand_base: {
|
|
22
|
+
new (input: BatchExportFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchExportFindingsCommandInput, BatchExportFindingsCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchExportFindingsCommandInput): import("@smithy/core/client").CommandImpl<BatchExportFindingsCommandInput, BatchExportFindingsCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Exports a batch of findings to the connected issue tracker as issues.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityAgentClient, BatchExportFindingsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
32
|
+
* // const { SecurityAgentClient, BatchExportFindingsCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
33
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
34
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
35
|
+
* const client = new SecurityAgentClient(config);
|
|
36
|
+
* const input = { // BatchExportFindingsInput
|
|
37
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
38
|
+
* pentestJobId: "STRING_VALUE",
|
|
39
|
+
* codeReviewJobId: "STRING_VALUE",
|
|
40
|
+
* issueDestination: { // IssueDestination
|
|
41
|
+
* integrationId: "STRING_VALUE", // required
|
|
42
|
+
* projectKey: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* findingIds: [ // FindingIdList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchExportFindingsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchExportFindingsOutput
|
|
51
|
+
* // results: [ // BatchExportFindingResultList // required
|
|
52
|
+
* // { // BatchExportFindingResult
|
|
53
|
+
* // findingId: "STRING_VALUE", // required
|
|
54
|
+
* // linkedIssue: { // LinkedIssue
|
|
55
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS" || "JIRA",
|
|
56
|
+
* // integrationId: "STRING_VALUE",
|
|
57
|
+
* // projectKey: "STRING_VALUE",
|
|
58
|
+
* // issueKey: "STRING_VALUE",
|
|
59
|
+
* // issueId: "STRING_VALUE",
|
|
60
|
+
* // issueUrl: "STRING_VALUE",
|
|
61
|
+
* // siteUrl: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // errors: [ // BatchExportFindingErrorList // required
|
|
66
|
+
* // { // BatchExportFindingError
|
|
67
|
+
* // findingId: "STRING_VALUE", // required
|
|
68
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER", // required
|
|
69
|
+
* // message: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param BatchExportFindingsCommandInput - {@link BatchExportFindingsCommandInput}
|
|
77
|
+
* @returns {@link BatchExportFindingsCommandOutput}
|
|
78
|
+
* @see {@link BatchExportFindingsCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link BatchExportFindingsCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ConflictException} (client fault)
|
|
86
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
95
|
+
* <p>The request exceeds a service quota. Review your current usage and request a quota increase if needed.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
98
|
+
* <p>The request was denied due to request throttling.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ValidationException} (client fault)
|
|
101
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link SecurityAgentServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class BatchExportFindingsCommand extends BatchExportFindingsCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: BatchExportFindingsInput;
|
|
114
|
+
output: BatchExportFindingsOutput;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: BatchExportFindingsCommandInput;
|
|
118
|
+
output: BatchExportFindingsCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -99,6 +99,15 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
99
99
|
* // "STRING_VALUE",
|
|
100
100
|
* // ],
|
|
101
101
|
* // originalFindingId: "STRING_VALUE",
|
|
102
|
+
* // linkedIssue: { // LinkedIssue
|
|
103
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS" || "JIRA",
|
|
104
|
+
* // integrationId: "STRING_VALUE",
|
|
105
|
+
* // projectKey: "STRING_VALUE",
|
|
106
|
+
* // issueKey: "STRING_VALUE",
|
|
107
|
+
* // issueId: "STRING_VALUE",
|
|
108
|
+
* // issueUrl: "STRING_VALUE",
|
|
109
|
+
* // siteUrl: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
102
111
|
* // createdAt: new Date("TIMESTAMP"),
|
|
103
112
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
104
113
|
* // },
|
|
@@ -194,6 +194,9 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
194
194
|
* // cicdConfiguration: { // CiCdConfiguration
|
|
195
195
|
* // enabled: true || false,
|
|
196
196
|
* // },
|
|
197
|
+
* // testScope: { // TestScope
|
|
198
|
+
* // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
199
|
+
* // },
|
|
197
200
|
* // createdAt: new Date("TIMESTAMP"),
|
|
198
201
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
199
202
|
* // },
|
|
@@ -169,6 +169,9 @@ declare const BatchGetPentestsCommand_base: {
|
|
|
169
169
|
* // cicdConfiguration: { // CiCdConfiguration
|
|
170
170
|
* // enabled: true || false,
|
|
171
171
|
* // },
|
|
172
|
+
* // testScope: { // TestScope
|
|
173
|
+
* // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
174
|
+
* // },
|
|
172
175
|
* // createdAt: new Date("TIMESTAMP"),
|
|
173
176
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
174
177
|
* // },
|
|
@@ -34,7 +34,7 @@ declare const CreateIntegrationCommand_base: {
|
|
|
34
34
|
* const config = {}; // type is SecurityAgentClientConfig
|
|
35
35
|
* const client = new SecurityAgentClient(config);
|
|
36
36
|
* const input = { // CreateIntegrationInput
|
|
37
|
-
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
37
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS" || "JIRA", // required
|
|
38
38
|
* input: { // ProviderInput Union: only one key present
|
|
39
39
|
* github: { // GitHubIntegrationInput
|
|
40
40
|
* code: "STRING_VALUE", // required
|
|
@@ -71,6 +71,12 @@ declare const CreateIntegrationCommand_base: {
|
|
|
71
71
|
* code: "STRING_VALUE", // required
|
|
72
72
|
* state: "STRING_VALUE", // required
|
|
73
73
|
* },
|
|
74
|
+
* jira: { // JiraIntegrationInput
|
|
75
|
+
* installationId: "STRING_VALUE", // required
|
|
76
|
+
* code: "STRING_VALUE", // required
|
|
77
|
+
* state: "STRING_VALUE", // required
|
|
78
|
+
* siteUrl: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
74
80
|
* },
|
|
75
81
|
* integrationDisplayName: "STRING_VALUE", // required
|
|
76
82
|
* kmsKeyId: "STRING_VALUE",
|
|
@@ -157,6 +157,9 @@ declare const CreatePentestCommand_base: {
|
|
|
157
157
|
* cicdConfiguration: { // CiCdConfiguration
|
|
158
158
|
* enabled: true || false,
|
|
159
159
|
* },
|
|
160
|
+
* testScope: { // TestScope
|
|
161
|
+
* type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
162
|
+
* },
|
|
160
163
|
* };
|
|
161
164
|
* const command = new CreatePentestCommand(input);
|
|
162
165
|
* const response = await client.send(command);
|
|
@@ -258,6 +261,9 @@ declare const CreatePentestCommand_base: {
|
|
|
258
261
|
* // cicdConfiguration: { // CiCdConfiguration
|
|
259
262
|
* // enabled: true || false,
|
|
260
263
|
* // },
|
|
264
|
+
* // testScope: { // TestScope
|
|
265
|
+
* // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
266
|
+
* // },
|
|
261
267
|
* // };
|
|
262
268
|
*
|
|
263
269
|
* ```
|
|
@@ -41,11 +41,12 @@ declare const GetIntegrationCommand_base: {
|
|
|
41
41
|
* // { // GetIntegrationOutput
|
|
42
42
|
* // integrationId: "STRING_VALUE", // required
|
|
43
43
|
* // installationId: "STRING_VALUE", // required
|
|
44
|
-
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
45
|
-
* // providerType: "SOURCE_CODE" || "DOCUMENTATION", // required
|
|
44
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS" || "JIRA", // required
|
|
45
|
+
* // providerType: "SOURCE_CODE" || "DOCUMENTATION" || "ISSUE_TRACKING", // required
|
|
46
46
|
* // displayName: "STRING_VALUE",
|
|
47
47
|
* // kmsKeyId: "STRING_VALUE",
|
|
48
48
|
* // targetUrl: "STRING_VALUE",
|
|
49
|
+
* // siteUrl: "STRING_VALUE",
|
|
49
50
|
* // webhookUrl: "STRING_VALUE",
|
|
50
51
|
* // privateConnectionName: "STRING_VALUE",
|
|
51
52
|
* // };
|
|
@@ -34,7 +34,7 @@ declare const InitiateProviderRegistrationCommand_base: {
|
|
|
34
34
|
* const config = {}; // type is SecurityAgentClientConfig
|
|
35
35
|
* const client = new SecurityAgentClient(config);
|
|
36
36
|
* const input = { // InitiateProviderRegistrationInput
|
|
37
|
-
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
37
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS" || "JIRA", // required
|
|
38
38
|
* targetUrl: "STRING_VALUE",
|
|
39
39
|
* organizationName: "STRING_VALUE",
|
|
40
40
|
* clientId: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
36
36
|
* const input = { // ListIntegratedResourcesInput
|
|
37
37
|
* agentSpaceId: "STRING_VALUE", // required
|
|
38
38
|
* integrationId: "STRING_VALUE",
|
|
39
|
-
* resourceType: "CODE_REPOSITORY" || "DOCUMENT",
|
|
39
|
+
* resourceType: "CODE_REPOSITORY" || "DOCUMENT" || "PROJECT",
|
|
40
40
|
* nextToken: "STRING_VALUE",
|
|
41
41
|
* maxResults: Number("int"),
|
|
42
42
|
* };
|
|
@@ -81,6 +81,13 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
81
81
|
* // projectId: "STRING_VALUE",
|
|
82
82
|
* // accessType: "PRIVATE" || "PUBLIC",
|
|
83
83
|
* // },
|
|
84
|
+
* // jiraProject: { // JiraProjectMetadata
|
|
85
|
+
* // name: "STRING_VALUE", // required
|
|
86
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
87
|
+
* // projectKey: "STRING_VALUE", // required
|
|
88
|
+
* // projectId: "STRING_VALUE", // required
|
|
89
|
+
* // projectName: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
84
91
|
* // },
|
|
85
92
|
* // capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
86
93
|
* // github: { // GitHubResourceCapabilities
|
|
@@ -168,6 +175,10 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
168
175
|
* // leaveComments: true || false,
|
|
169
176
|
* // remediateCode: true || false,
|
|
170
177
|
* // },
|
|
178
|
+
* // jira: { // JiraResourceCapabilities
|
|
179
|
+
* // createIssue: true || false,
|
|
180
|
+
* // commentIssue: true || false,
|
|
181
|
+
* // },
|
|
171
182
|
* // },
|
|
172
183
|
* // },
|
|
173
184
|
* // ],
|
|
@@ -35,8 +35,8 @@ declare const ListIntegrationsCommand_base: {
|
|
|
35
35
|
* const client = new SecurityAgentClient(config);
|
|
36
36
|
* const input = { // ListIntegrationsInput
|
|
37
37
|
* filter: { // IntegrationFilter Union: only one key present
|
|
38
|
-
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS",
|
|
39
|
-
* providerType: "SOURCE_CODE" || "DOCUMENTATION",
|
|
38
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS" || "JIRA",
|
|
39
|
+
* providerType: "SOURCE_CODE" || "DOCUMENTATION" || "ISSUE_TRACKING",
|
|
40
40
|
* },
|
|
41
41
|
* nextToken: "STRING_VALUE",
|
|
42
42
|
* maxResults: Number("int"),
|
|
@@ -48,8 +48,8 @@ declare const ListIntegrationsCommand_base: {
|
|
|
48
48
|
* // { // IntegrationSummary
|
|
49
49
|
* // integrationId: "STRING_VALUE", // required
|
|
50
50
|
* // installationId: "STRING_VALUE", // required
|
|
51
|
-
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
52
|
-
* // providerType: "SOURCE_CODE" || "DOCUMENTATION", // required
|
|
51
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS" || "JIRA", // required
|
|
52
|
+
* // providerType: "SOURCE_CODE" || "DOCUMENTATION" || "ISSUE_TRACKING", // required
|
|
53
53
|
* // displayName: "STRING_VALUE", // required
|
|
54
54
|
* // targetUrl: "STRING_VALUE",
|
|
55
55
|
* // webhookUrl: "STRING_VALUE",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopCodeReviewJobInput, StopCodeReviewJobOutput } from "../models/
|
|
2
|
+
import type { StopCodeReviewJobInput, StopCodeReviewJobOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopThreatModelJobInput, StopThreatModelJobOutput } from "../models/
|
|
2
|
+
import type { StopThreatModelJobInput, StopThreatModelJobOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateCodeReviewInput, UpdateCodeReviewOutput } from "../models/
|
|
2
|
+
import type { UpdateCodeReviewInput, UpdateCodeReviewOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -63,6 +63,12 @@ declare const UpdateIntegratedResourcesCommand_base: {
|
|
|
63
63
|
* organization: "STRING_VALUE", // required
|
|
64
64
|
* project: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
|
+
* jiraProject: { // JiraProjectResource
|
|
67
|
+
* name: "STRING_VALUE", // required
|
|
68
|
+
* projectKey: "STRING_VALUE", // required
|
|
69
|
+
* projectId: "STRING_VALUE", // required
|
|
70
|
+
* projectName: "STRING_VALUE",
|
|
71
|
+
* },
|
|
66
72
|
* },
|
|
67
73
|
* capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
68
74
|
* github: { // GitHubResourceCapabilities
|
|
@@ -150,6 +156,10 @@ declare const UpdateIntegratedResourcesCommand_base: {
|
|
|
150
156
|
* leaveComments: true || false,
|
|
151
157
|
* remediateCode: true || false,
|
|
152
158
|
* },
|
|
159
|
+
* jira: { // JiraResourceCapabilities
|
|
160
|
+
* createIssue: true || false,
|
|
161
|
+
* commentIssue: true || false,
|
|
162
|
+
* },
|
|
153
163
|
* },
|
|
154
164
|
* },
|
|
155
165
|
* ],
|
|
@@ -158,6 +158,9 @@ declare const UpdatePentestCommand_base: {
|
|
|
158
158
|
* cicdConfiguration: { // CiCdConfiguration
|
|
159
159
|
* enabled: true || false,
|
|
160
160
|
* },
|
|
161
|
+
* testScope: { // TestScope
|
|
162
|
+
* type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
163
|
+
* },
|
|
161
164
|
* };
|
|
162
165
|
* const command = new UpdatePentestCommand(input);
|
|
163
166
|
* const response = await client.send(command);
|
|
@@ -259,6 +262,9 @@ declare const UpdatePentestCommand_base: {
|
|
|
259
262
|
* // cicdConfiguration: { // CiCdConfiguration
|
|
260
263
|
* // enabled: true || false,
|
|
261
264
|
* // },
|
|
265
|
+
* // testScope: { // TestScope
|
|
266
|
+
* // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
267
|
+
* // },
|
|
262
268
|
* // };
|
|
263
269
|
*
|
|
264
270
|
* ```
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateTargetDomainInput, UpdateTargetDomainOutput } from "../models/
|
|
2
|
+
import type { UpdateTargetDomainInput, UpdateTargetDomainOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -4,6 +4,8 @@ export * from "./BatchDeleteCodeReviewsCommand";
|
|
|
4
4
|
export * from "./BatchDeletePentestsCommand";
|
|
5
5
|
export * from "./BatchDeleteSecurityRequirementsCommand";
|
|
6
6
|
export * from "./BatchDeleteThreatModelsCommand";
|
|
7
|
+
export * from "./BatchDisassociateFindingIssueCommand";
|
|
8
|
+
export * from "./BatchExportFindingsCommand";
|
|
7
9
|
export * from "./BatchGetAgentSpacesCommand";
|
|
8
10
|
export * from "./BatchGetArtifactMetadataCommand";
|
|
9
11
|
export * from "./BatchGetCodeReviewJobTasksCommand";
|