@aws-sdk/client-securityagent 3.1141.0 → 3.1143.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 +7 -0
- package/dist-cjs/index.js +181 -60
- package/dist-es/SecurityAgent.js +2 -0
- package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +151 -59
- package/dist-types/SecurityAgent.d.ts +7 -0
- package/dist-types/SecurityAgentClient.d.ts +3 -2
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +18 -1
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +11 -1
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +2 -1
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +5 -1
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -2
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +3 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +10 -1
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -1
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +7 -1
- package/dist-types/commands/UpdateThreatCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +1 -1
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +45 -0
- package/dist-types/models/models_0.d.ts +396 -532
- package/dist-types/models/models_1.d.ts +535 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +17 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +146 -112
- package/dist-types/ts3.4/models/models_1.d.ts +137 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -92,6 +92,7 @@ import type { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } fr
|
|
|
92
92
|
import type { UpdateCodeReviewCommandInput, UpdateCodeReviewCommandOutput } from "./commands/UpdateCodeReviewCommand";
|
|
93
93
|
import type { UpdateFindingCommandInput, UpdateFindingCommandOutput } from "./commands/UpdateFindingCommand";
|
|
94
94
|
import type { UpdateIntegratedResourcesCommandInput, UpdateIntegratedResourcesCommandOutput } from "./commands/UpdateIntegratedResourcesCommand";
|
|
95
|
+
import type { UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput } from "./commands/UpdateIntegrationCommand";
|
|
95
96
|
import type { UpdatePentestCommandInput, UpdatePentestCommandOutput } from "./commands/UpdatePentestCommand";
|
|
96
97
|
import type { UpdatePrivateConnectionCertificateCommandInput, UpdatePrivateConnectionCertificateCommandOutput } from "./commands/UpdatePrivateConnectionCertificateCommand";
|
|
97
98
|
import type { UpdateSecurityRequirementPackCommandInput, UpdateSecurityRequirementPackCommandOutput } from "./commands/UpdateSecurityRequirementPackCommand";
|
|
@@ -105,11 +106,11 @@ export { __Client };
|
|
|
105
106
|
/**
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
|
-
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 | UpdatePentestCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateSecurityRequirementPackCommandInput | UpdateTargetDomainCommandInput | UpdateThreatCommandInput | UpdateThreatModelCommandInput | VerifyTargetDomainCommandInput;
|
|
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;
|
|
109
110
|
/**
|
|
110
111
|
* @public
|
|
111
112
|
*/
|
|
112
|
-
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 | UpdatePentestCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateSecurityRequirementPackCommandOutput | UpdateTargetDomainCommandOutput | UpdateThreatCommandOutput | UpdateThreatModelCommandOutput | VerifyTargetDomainCommandOutput;
|
|
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;
|
|
113
114
|
/**
|
|
114
115
|
* @public
|
|
115
116
|
*/
|
|
@@ -166,6 +166,9 @@ declare const BatchDeletePentestsCommand_base: {
|
|
|
166
166
|
* // annotationNotes: true || false,
|
|
167
167
|
* // complianceReport: true || false,
|
|
168
168
|
* // },
|
|
169
|
+
* // cicdConfiguration: { // CiCdConfiguration
|
|
170
|
+
* // enabled: true || false,
|
|
171
|
+
* // },
|
|
169
172
|
* // createdAt: new Date("TIMESTAMP"),
|
|
170
173
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
171
174
|
* // },
|
|
@@ -167,7 +167,7 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
167
167
|
* // "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
168
168
|
* // ],
|
|
169
169
|
* // maxTaskHours: Number("double"),
|
|
170
|
-
* // jobType: "FULL" || "REVALIDATION",
|
|
170
|
+
* // jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
171
171
|
* // selectedFindingIds: [ // StringList
|
|
172
172
|
* // "STRING_VALUE",
|
|
173
173
|
* // ],
|
|
@@ -177,6 +177,23 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
177
177
|
* // parentId: "STRING_VALUE",
|
|
178
178
|
* // documentId: "STRING_VALUE",
|
|
179
179
|
* // },
|
|
180
|
+
* // reportUrl: "STRING_VALUE",
|
|
181
|
+
* // scopeResult: { // ScopeResult
|
|
182
|
+
* // decision: "IN_SCOPE" || "SCOPED_OUT" || "SCOPE_CONFLICT", // required
|
|
183
|
+
* // reason: "STRING_VALUE", // required
|
|
184
|
+
* // },
|
|
185
|
+
* // scopeChanges: [ // ScopeChangeList
|
|
186
|
+
* // { // ScopeChange
|
|
187
|
+
* // integrationId: "STRING_VALUE", // required
|
|
188
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
189
|
+
* // baseCommitSha: "STRING_VALUE",
|
|
190
|
+
* // headCommitSha: "STRING_VALUE", // required
|
|
191
|
+
* // triggerRunId: "STRING_VALUE",
|
|
192
|
+
* // },
|
|
193
|
+
* // ],
|
|
194
|
+
* // cicdConfiguration: { // CiCdConfiguration
|
|
195
|
+
* // enabled: true || false,
|
|
196
|
+
* // },
|
|
180
197
|
* // createdAt: new Date("TIMESTAMP"),
|
|
181
198
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
182
199
|
* // },
|
|
@@ -166,6 +166,9 @@ declare const BatchGetPentestsCommand_base: {
|
|
|
166
166
|
* // annotationNotes: true || false,
|
|
167
167
|
* // complianceReport: true || false,
|
|
168
168
|
* // },
|
|
169
|
+
* // cicdConfiguration: { // CiCdConfiguration
|
|
170
|
+
* // enabled: true || false,
|
|
171
|
+
* // },
|
|
169
172
|
* // createdAt: new Date("TIMESTAMP"),
|
|
170
173
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
171
174
|
* // },
|
|
@@ -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", // required
|
|
37
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
38
38
|
* input: { // ProviderInput Union: only one key present
|
|
39
39
|
* github: { // GitHubIntegrationInput
|
|
40
40
|
* code: "STRING_VALUE", // required
|
|
@@ -61,6 +61,16 @@ declare const CreateIntegrationCommand_base: {
|
|
|
61
61
|
* state: "STRING_VALUE", // required
|
|
62
62
|
* siteUrl: "STRING_VALUE", // required
|
|
63
63
|
* },
|
|
64
|
+
* azureDevOps: { // AzureDevOpsIntegrationInput
|
|
65
|
+
* code: "STRING_VALUE", // required
|
|
66
|
+
* state: "STRING_VALUE", // required
|
|
67
|
+
* organizationName: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* bitbucketDataCenter: { // BitbucketDataCenterIntegrationInput
|
|
70
|
+
* targetUrl: "STRING_VALUE", // required
|
|
71
|
+
* code: "STRING_VALUE", // required
|
|
72
|
+
* state: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
64
74
|
* },
|
|
65
75
|
* integrationDisplayName: "STRING_VALUE", // required
|
|
66
76
|
* kmsKeyId: "STRING_VALUE",
|
|
@@ -154,6 +154,9 @@ declare const CreatePentestCommand_base: {
|
|
|
154
154
|
* annotationNotes: true || false,
|
|
155
155
|
* complianceReport: true || false,
|
|
156
156
|
* },
|
|
157
|
+
* cicdConfiguration: { // CiCdConfiguration
|
|
158
|
+
* enabled: true || false,
|
|
159
|
+
* },
|
|
157
160
|
* };
|
|
158
161
|
* const command = new CreatePentestCommand(input);
|
|
159
162
|
* const response = await client.send(command);
|
|
@@ -252,6 +255,9 @@ declare const CreatePentestCommand_base: {
|
|
|
252
255
|
* // annotationNotes: true || false,
|
|
253
256
|
* // complianceReport: true || false,
|
|
254
257
|
* // },
|
|
258
|
+
* // cicdConfiguration: { // CiCdConfiguration
|
|
259
|
+
* // enabled: true || false,
|
|
260
|
+
* // },
|
|
255
261
|
* // };
|
|
256
262
|
*
|
|
257
263
|
* ```
|
|
@@ -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", // required
|
|
44
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
45
45
|
* // providerType: "SOURCE_CODE" || "DOCUMENTATION", // required
|
|
46
46
|
* // displayName: "STRING_VALUE",
|
|
47
47
|
* // kmsKeyId: "STRING_VALUE",
|
|
48
48
|
* // targetUrl: "STRING_VALUE",
|
|
49
|
+
* // webhookUrl: "STRING_VALUE",
|
|
49
50
|
* // privateConnectionName: "STRING_VALUE",
|
|
50
51
|
* // };
|
|
51
52
|
*
|
|
@@ -34,7 +34,11 @@ 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", // required
|
|
37
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
38
|
+
* targetUrl: "STRING_VALUE",
|
|
39
|
+
* organizationName: "STRING_VALUE",
|
|
40
|
+
* clientId: "STRING_VALUE",
|
|
41
|
+
* clientSecret: "STRING_VALUE",
|
|
38
42
|
* };
|
|
39
43
|
* const command = new InitiateProviderRegistrationCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
@@ -73,6 +73,14 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
73
73
|
* // title: "STRING_VALUE",
|
|
74
74
|
* // spaceTitle: "STRING_VALUE",
|
|
75
75
|
* // },
|
|
76
|
+
* // azureDevOpsRepository: { // AzureDevOpsRepositoryMetadata
|
|
77
|
+
* // name: "STRING_VALUE", // required
|
|
78
|
+
* // providerResourceId: "STRING_VALUE", // required
|
|
79
|
+
* // organization: "STRING_VALUE", // required
|
|
80
|
+
* // project: "STRING_VALUE",
|
|
81
|
+
* // projectId: "STRING_VALUE",
|
|
82
|
+
* // accessType: "PRIVATE" || "PUBLIC",
|
|
83
|
+
* // },
|
|
76
84
|
* // },
|
|
77
85
|
* // capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
78
86
|
* // github: { // GitHubResourceCapabilities
|
|
@@ -92,6 +100,10 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
92
100
|
* // createDocument: true || false,
|
|
93
101
|
* // updateDocument: true || false,
|
|
94
102
|
* // },
|
|
103
|
+
* // azureDevOps: { // AzureDevOpsResourceCapabilities
|
|
104
|
+
* // leaveComments: true || false,
|
|
105
|
+
* // remediateCode: true || false,
|
|
106
|
+
* // },
|
|
95
107
|
* // },
|
|
96
108
|
* // },
|
|
97
109
|
* // ],
|
|
@@ -35,7 +35,7 @@ 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",
|
|
38
|
+
* provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS",
|
|
39
39
|
* providerType: "SOURCE_CODE" || "DOCUMENTATION",
|
|
40
40
|
* },
|
|
41
41
|
* nextToken: "STRING_VALUE",
|
|
@@ -48,10 +48,11 @@ 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", // required
|
|
51
|
+
* // provider: "GITHUB" || "GITLAB" || "BITBUCKET" || "CONFLUENCE" || "AZURE_DEVOPS", // required
|
|
52
52
|
* // providerType: "SOURCE_CODE" || "DOCUMENTATION", // required
|
|
53
53
|
* // displayName: "STRING_VALUE", // required
|
|
54
54
|
* // targetUrl: "STRING_VALUE",
|
|
55
|
+
* // webhookUrl: "STRING_VALUE",
|
|
55
56
|
* // privateConnectionName: "STRING_VALUE",
|
|
56
57
|
* // },
|
|
57
58
|
* // ],
|
|
@@ -38,6 +38,7 @@ declare const ListPentestJobsForPentestCommand_base: {
|
|
|
38
38
|
* pentestId: "STRING_VALUE", // required
|
|
39
39
|
* agentSpaceId: "STRING_VALUE", // required
|
|
40
40
|
* nextToken: "STRING_VALUE",
|
|
41
|
+
* jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new ListPentestJobsForPentestCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -50,6 +51,8 @@ declare const ListPentestJobsForPentestCommand_base: {
|
|
|
50
51
|
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
51
52
|
* // createdAt: new Date("TIMESTAMP"),
|
|
52
53
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
55
|
+
* // reportUrl: "STRING_VALUE",
|
|
53
56
|
* // },
|
|
54
57
|
* // ],
|
|
55
58
|
* // nextToken: "STRING_VALUE",
|
|
@@ -36,10 +36,19 @@ declare const StartPentestJobCommand_base: {
|
|
|
36
36
|
* const input = { // StartPentestJobInput
|
|
37
37
|
* agentSpaceId: "STRING_VALUE", // required
|
|
38
38
|
* pentestId: "STRING_VALUE", // required
|
|
39
|
-
* jobType: "FULL" || "REVALIDATION",
|
|
39
|
+
* jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
40
40
|
* selectedFindingIds: [ // StringList
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
|
+
* scopeChanges: [ // ScopeChangeList
|
|
44
|
+
* { // ScopeChange
|
|
45
|
+
* integrationId: "STRING_VALUE", // required
|
|
46
|
+
* providerResourceId: "STRING_VALUE", // required
|
|
47
|
+
* baseCommitSha: "STRING_VALUE",
|
|
48
|
+
* headCommitSha: "STRING_VALUE", // required
|
|
49
|
+
* triggerRunId: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
43
52
|
* };
|
|
44
53
|
* const command = new StartPentestJobCommand(input);
|
|
45
54
|
* const response = await client.send(command);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateIntegratedResourcesInput, UpdateIntegratedResourcesOutput } from "../models/
|
|
2
|
+
import type { UpdateIntegratedResourcesInput, UpdateIntegratedResourcesOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -58,6 +58,11 @@ declare const UpdateIntegratedResourcesCommand_base: {
|
|
|
58
58
|
* title: "STRING_VALUE",
|
|
59
59
|
* spaceTitle: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
|
+
* azureDevOpsRepository: { // AzureDevOpsRepositoryResource
|
|
62
|
+
* name: "STRING_VALUE", // required
|
|
63
|
+
* organization: "STRING_VALUE", // required
|
|
64
|
+
* project: "STRING_VALUE",
|
|
65
|
+
* },
|
|
61
66
|
* },
|
|
62
67
|
* capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
63
68
|
* github: { // GitHubResourceCapabilities
|
|
@@ -77,6 +82,10 @@ declare const UpdateIntegratedResourcesCommand_base: {
|
|
|
77
82
|
* createDocument: true || false,
|
|
78
83
|
* updateDocument: true || false,
|
|
79
84
|
* },
|
|
85
|
+
* azureDevOps: { // AzureDevOpsResourceCapabilities
|
|
86
|
+
* leaveComments: true || false,
|
|
87
|
+
* remediateCode: true || false,
|
|
88
|
+
* },
|
|
80
89
|
* },
|
|
81
90
|
* },
|
|
82
91
|
* ],
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateIntegrationInput, UpdateIntegrationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateIntegrationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateIntegrationCommandInput extends UpdateIntegrationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateIntegrationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateIntegrationCommandOutput extends UpdateIntegrationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateIntegrationCommand_base: {
|
|
22
|
+
new (input: UpdateIntegrationCommandInput): import("@smithy/core/client").CommandImpl<UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateIntegrationCommandInput): import("@smithy/core/client").CommandImpl<UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates an integration's webhook, or rotates the HMAC signing secret of an existing one. The secret is returned only once, in this response, and cannot be retrieved again.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityAgentClient, UpdateIntegrationCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
32
|
+
* // const { SecurityAgentClient, UpdateIntegrationCommand } = 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 = { // UpdateIntegrationInput
|
|
37
|
+
* integrationId: "STRING_VALUE", // required
|
|
38
|
+
* webhookAction: "CREATE_IF_ABSENT" || "ROTATE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UpdateIntegrationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateIntegrationOutput
|
|
43
|
+
* // integrationId: "STRING_VALUE", // required
|
|
44
|
+
* // webhookUrl: "STRING_VALUE",
|
|
45
|
+
* // secret: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param UpdateIntegrationCommandInput - {@link UpdateIntegrationCommandInput}
|
|
51
|
+
* @returns {@link UpdateIntegrationCommandOutput}
|
|
52
|
+
* @see {@link UpdateIntegrationCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link UpdateIntegrationCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>An unexpected error occurred during the processing of your request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <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>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SecurityAgentServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class UpdateIntegrationCommand extends UpdateIntegrationCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: UpdateIntegrationInput;
|
|
85
|
+
output: UpdateIntegrationOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: UpdateIntegrationCommandInput;
|
|
89
|
+
output: UpdateIntegrationCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdatePentestInput, UpdatePentestOutput } from "../models/
|
|
2
|
+
import type { UpdatePentestInput, UpdatePentestOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -155,6 +155,9 @@ declare const UpdatePentestCommand_base: {
|
|
|
155
155
|
* annotationNotes: true || false,
|
|
156
156
|
* complianceReport: true || false,
|
|
157
157
|
* },
|
|
158
|
+
* cicdConfiguration: { // CiCdConfiguration
|
|
159
|
+
* enabled: true || false,
|
|
160
|
+
* },
|
|
158
161
|
* };
|
|
159
162
|
* const command = new UpdatePentestCommand(input);
|
|
160
163
|
* const response = await client.send(command);
|
|
@@ -253,6 +256,9 @@ declare const UpdatePentestCommand_base: {
|
|
|
253
256
|
* // annotationNotes: true || false,
|
|
254
257
|
* // complianceReport: true || false,
|
|
255
258
|
* // },
|
|
259
|
+
* // cicdConfiguration: { // CiCdConfiguration
|
|
260
|
+
* // enabled: true || false,
|
|
261
|
+
* // },
|
|
256
262
|
* // };
|
|
257
263
|
*
|
|
258
264
|
* ```
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateThreatModelInput, UpdateThreatModelOutput } from "../models/
|
|
2
|
+
import type { UpdateThreatModelInput, UpdateThreatModelOutput } 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 { VerifyTargetDomainInput, VerifyTargetDomainOutput } from "../models/
|
|
2
|
+
import type { VerifyTargetDomainInput, VerifyTargetDomainOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -84,6 +84,7 @@ export * from "./UpdateApplicationCommand";
|
|
|
84
84
|
export * from "./UpdateCodeReviewCommand";
|
|
85
85
|
export * from "./UpdateFindingCommand";
|
|
86
86
|
export * from "./UpdateIntegratedResourcesCommand";
|
|
87
|
+
export * from "./UpdateIntegrationCommand";
|
|
87
88
|
export * from "./UpdatePentestCommand";
|
|
88
89
|
export * from "./UpdatePrivateConnectionCertificateCommand";
|
|
89
90
|
export * from "./UpdateSecurityRequirementPackCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,4 +15,5 @@ export * from "./schemas/schemas_0";
|
|
|
15
15
|
export * from "./models/enums";
|
|
16
16
|
export * from "./models/errors";
|
|
17
17
|
export * from "./models/models_0";
|
|
18
|
+
export * from "./models/models_1";
|
|
18
19
|
export { SecurityAgentServiceException } from "./models/SecurityAgentServiceException";
|
|
@@ -541,6 +541,10 @@ export type ValidationStatus = (typeof ValidationStatus)[keyof typeof Validation
|
|
|
541
541
|
* @enum
|
|
542
542
|
*/
|
|
543
543
|
export declare const JobType: {
|
|
544
|
+
/**
|
|
545
|
+
* <p>A CI/CD pentest job that tests only the code changes in a single pipeline run, as determined by the scope changes supplied when the job is started.</p>
|
|
546
|
+
*/
|
|
547
|
+
readonly CICD: "CICD";
|
|
544
548
|
/**
|
|
545
549
|
* <p>A full pentest job that executes all phases including scanning, managed execution, and guided exploration.</p>
|
|
546
550
|
*/
|
|
@@ -554,6 +558,28 @@ export declare const JobType: {
|
|
|
554
558
|
* @public
|
|
555
559
|
*/
|
|
556
560
|
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
561
|
+
/**
|
|
562
|
+
* @public
|
|
563
|
+
* @enum
|
|
564
|
+
*/
|
|
565
|
+
export declare const ScopeDecision: {
|
|
566
|
+
/**
|
|
567
|
+
* <p>The code changes are in scope and are tested by the pentest job.</p>
|
|
568
|
+
*/
|
|
569
|
+
readonly IN_SCOPE: "IN_SCOPE";
|
|
570
|
+
/**
|
|
571
|
+
* <p>The code changes are out of scope and are not tested. No pentest is run for the changes.</p>
|
|
572
|
+
*/
|
|
573
|
+
readonly SCOPED_OUT: "SCOPED_OUT";
|
|
574
|
+
/**
|
|
575
|
+
* <p>The code changes could not be conclusively scoped because of a conflict in the scoping inputs.</p>
|
|
576
|
+
*/
|
|
577
|
+
readonly SCOPE_CONFLICT: "SCOPE_CONFLICT";
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
export type ScopeDecision = (typeof ScopeDecision)[keyof typeof ScopeDecision];
|
|
557
583
|
/**
|
|
558
584
|
* @public
|
|
559
585
|
* @enum
|
|
@@ -695,6 +721,7 @@ export type GitLabTokenType = (typeof GitLabTokenType)[keyof typeof GitLabTokenT
|
|
|
695
721
|
* @enum
|
|
696
722
|
*/
|
|
697
723
|
export declare const Provider: {
|
|
724
|
+
readonly AZURE_DEVOPS: "AZURE_DEVOPS";
|
|
698
725
|
readonly BITBUCKET: "BITBUCKET";
|
|
699
726
|
readonly CONFLUENCE: "CONFLUENCE";
|
|
700
727
|
readonly GITHUB: "GITHUB";
|
|
@@ -849,6 +876,24 @@ export declare const SecurityRequirementArtifactFormat: {
|
|
|
849
876
|
* @public
|
|
850
877
|
*/
|
|
851
878
|
export type SecurityRequirementArtifactFormat = (typeof SecurityRequirementArtifactFormat)[keyof typeof SecurityRequirementArtifactFormat];
|
|
879
|
+
/**
|
|
880
|
+
* @public
|
|
881
|
+
* @enum
|
|
882
|
+
*/
|
|
883
|
+
export declare const WebhookAction: {
|
|
884
|
+
/**
|
|
885
|
+
* <p>Create the webhook if one does not already exist. Returns the payload URL and the signing secret.</p>
|
|
886
|
+
*/
|
|
887
|
+
readonly CREATE_IF_ABSENT: "CREATE_IF_ABSENT";
|
|
888
|
+
/**
|
|
889
|
+
* <p>Generate a new signing secret for the existing webhook, keeping the same payload URL. Returns the new secret.</p>
|
|
890
|
+
*/
|
|
891
|
+
readonly ROTATE: "ROTATE";
|
|
892
|
+
};
|
|
893
|
+
/**
|
|
894
|
+
* @public
|
|
895
|
+
*/
|
|
896
|
+
export type WebhookAction = (typeof WebhookAction)[keyof typeof WebhookAction];
|
|
852
897
|
/**
|
|
853
898
|
* @public
|
|
854
899
|
* @enum
|