@aws-sdk/client-securityagent 3.1149.0 → 3.1151.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 +199 -61
- 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/enums.js +10 -7
- package/dist-es/schemas/schemas_0.js +163 -53
- package/dist-types/SecurityAgent.d.ts +14 -0
- package/dist-types/SecurityAgentClient.d.ts +4 -2
- 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/CreateIntegrationCommand.d.ts +7 -1
- 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 -2
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -0
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +18 -15
- package/dist-types/models/models_0.d.ts +394 -232
- package/dist-types/models/models_1.d.ts +230 -2
- package/dist-types/schemas/schemas_0.d.ts +15 -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 -2
- 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/enums.d.ts +11 -8
- package/dist-types/ts3.4/models/models_0.d.ts +142 -51
- package/dist-types/ts3.4/models/models_1.d.ts +53 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +3 -3
|
@@ -5,6 +5,8 @@ import { type BatchDeleteCodeReviewsCommandInput, type BatchDeleteCodeReviewsCom
|
|
|
5
5
|
import { type BatchDeletePentestsCommandInput, type BatchDeletePentestsCommandOutput } from "./commands/BatchDeletePentestsCommand";
|
|
6
6
|
import { type BatchDeleteSecurityRequirementsCommandInput, type BatchDeleteSecurityRequirementsCommandOutput } from "./commands/BatchDeleteSecurityRequirementsCommand";
|
|
7
7
|
import { type BatchDeleteThreatModelsCommandInput, type BatchDeleteThreatModelsCommandOutput } from "./commands/BatchDeleteThreatModelsCommand";
|
|
8
|
+
import { type BatchDisassociateFindingIssueCommandInput, type BatchDisassociateFindingIssueCommandOutput } from "./commands/BatchDisassociateFindingIssueCommand";
|
|
9
|
+
import { type BatchExportFindingsCommandInput, type BatchExportFindingsCommandOutput } from "./commands/BatchExportFindingsCommand";
|
|
8
10
|
import { type BatchGetAgentSpacesCommandInput, type BatchGetAgentSpacesCommandOutput } from "./commands/BatchGetAgentSpacesCommand";
|
|
9
11
|
import { type BatchGetArtifactMetadataCommandInput, type BatchGetArtifactMetadataCommandOutput } from "./commands/BatchGetArtifactMetadataCommand";
|
|
10
12
|
import { type BatchGetCodeReviewJobsCommandInput, type BatchGetCodeReviewJobsCommandOutput } from "./commands/BatchGetCodeReviewJobsCommand";
|
|
@@ -137,6 +139,18 @@ export interface SecurityAgent {
|
|
|
137
139
|
batchDeleteThreatModels(args: BatchDeleteThreatModelsCommandInput, options?: SecurityAgentRequestOptions): Promise<BatchDeleteThreatModelsCommandOutput>;
|
|
138
140
|
batchDeleteThreatModels(args: BatchDeleteThreatModelsCommandInput, cb: (err: any, data?: BatchDeleteThreatModelsCommandOutput) => void): void;
|
|
139
141
|
batchDeleteThreatModels(args: BatchDeleteThreatModelsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchDeleteThreatModelsCommandOutput) => void): void;
|
|
142
|
+
/**
|
|
143
|
+
* @see {@link BatchDisassociateFindingIssueCommand}
|
|
144
|
+
*/
|
|
145
|
+
batchDisassociateFindingIssue(args: BatchDisassociateFindingIssueCommandInput, options?: SecurityAgentRequestOptions): Promise<BatchDisassociateFindingIssueCommandOutput>;
|
|
146
|
+
batchDisassociateFindingIssue(args: BatchDisassociateFindingIssueCommandInput, cb: (err: any, data?: BatchDisassociateFindingIssueCommandOutput) => void): void;
|
|
147
|
+
batchDisassociateFindingIssue(args: BatchDisassociateFindingIssueCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchDisassociateFindingIssueCommandOutput) => void): void;
|
|
148
|
+
/**
|
|
149
|
+
* @see {@link BatchExportFindingsCommand}
|
|
150
|
+
*/
|
|
151
|
+
batchExportFindings(args: BatchExportFindingsCommandInput, options?: SecurityAgentRequestOptions): Promise<BatchExportFindingsCommandOutput>;
|
|
152
|
+
batchExportFindings(args: BatchExportFindingsCommandInput, cb: (err: any, data?: BatchExportFindingsCommandOutput) => void): void;
|
|
153
|
+
batchExportFindings(args: BatchExportFindingsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchExportFindingsCommandOutput) => void): void;
|
|
140
154
|
/**
|
|
141
155
|
* @see {@link BatchGetAgentSpacesCommand}
|
|
142
156
|
*/
|
|
@@ -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
|
*/
|
|
@@ -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
|
* // },
|
|
@@ -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",
|
|
@@ -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,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateCodeReviewInput } from "../models/
|
|
3
|
-
import type { UpdateCodeReviewOutput } from "../models/models_1";
|
|
2
|
+
import type { UpdateCodeReviewInput, UpdateCodeReviewOutput } from "../models/models_1";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
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
|
* ],
|
|
@@ -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";
|
|
@@ -442,6 +442,22 @@ export declare const ErrorCode: {
|
|
|
442
442
|
* @public
|
|
443
443
|
*/
|
|
444
444
|
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
445
|
+
/**
|
|
446
|
+
* @public
|
|
447
|
+
* @enum
|
|
448
|
+
*/
|
|
449
|
+
export declare const Provider: {
|
|
450
|
+
readonly AZURE_DEVOPS: "AZURE_DEVOPS";
|
|
451
|
+
readonly BITBUCKET: "BITBUCKET";
|
|
452
|
+
readonly CONFLUENCE: "CONFLUENCE";
|
|
453
|
+
readonly GITHUB: "GITHUB";
|
|
454
|
+
readonly GITLAB: "GITLAB";
|
|
455
|
+
readonly JIRA: "JIRA";
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
*/
|
|
460
|
+
export type Provider = (typeof Provider)[keyof typeof Provider];
|
|
445
461
|
/**
|
|
446
462
|
* @public
|
|
447
463
|
* @enum
|
|
@@ -792,21 +808,6 @@ export declare const GitLabTokenType: {
|
|
|
792
808
|
* @public
|
|
793
809
|
*/
|
|
794
810
|
export type GitLabTokenType = (typeof GitLabTokenType)[keyof typeof GitLabTokenType];
|
|
795
|
-
/**
|
|
796
|
-
* @public
|
|
797
|
-
* @enum
|
|
798
|
-
*/
|
|
799
|
-
export declare const Provider: {
|
|
800
|
-
readonly AZURE_DEVOPS: "AZURE_DEVOPS";
|
|
801
|
-
readonly BITBUCKET: "BITBUCKET";
|
|
802
|
-
readonly CONFLUENCE: "CONFLUENCE";
|
|
803
|
-
readonly GITHUB: "GITHUB";
|
|
804
|
-
readonly GITLAB: "GITLAB";
|
|
805
|
-
};
|
|
806
|
-
/**
|
|
807
|
-
* @public
|
|
808
|
-
*/
|
|
809
|
-
export type Provider = (typeof Provider)[keyof typeof Provider];
|
|
810
811
|
/**
|
|
811
812
|
* @public
|
|
812
813
|
* @enum
|
|
@@ -905,6 +906,7 @@ export type SecurityRequirementPackStatus = (typeof SecurityRequirementPackStatu
|
|
|
905
906
|
*/
|
|
906
907
|
export declare const ProviderType: {
|
|
907
908
|
readonly DOCUMENTATION: "DOCUMENTATION";
|
|
909
|
+
readonly ISSUE_TRACKING: "ISSUE_TRACKING";
|
|
908
910
|
readonly SOURCE_CODE: "SOURCE_CODE";
|
|
909
911
|
};
|
|
910
912
|
/**
|
|
@@ -977,6 +979,7 @@ export type WebhookAction = (typeof WebhookAction)[keyof typeof WebhookAction];
|
|
|
977
979
|
export declare const ResourceType: {
|
|
978
980
|
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
979
981
|
readonly DOCUMENT: "DOCUMENT";
|
|
982
|
+
readonly PROJECT: "PROJECT";
|
|
980
983
|
};
|
|
981
984
|
/**
|
|
982
985
|
* @public
|