@aws-sdk/client-securityagent 3.1045.0 → 3.1046.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +308 -143
- package/dist-cjs/models/SecurityAgentServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +299 -24
- package/dist-es/SecurityAgent.js +29 -1
- package/dist-es/SecurityAgentClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AddArtifactCommand.js +2 -2
- package/dist-es/commands/BatchDeleteCodeReviewsCommand.js +16 -0
- package/dist-es/commands/BatchDeletePentestsCommand.js +2 -2
- package/dist-es/commands/BatchGetAgentSpacesCommand.js +2 -2
- package/dist-es/commands/BatchGetArtifactMetadataCommand.js +2 -2
- package/dist-es/commands/BatchGetCodeReviewJobTasksCommand.js +16 -0
- package/dist-es/commands/BatchGetCodeReviewJobsCommand.js +16 -0
- package/dist-es/commands/BatchGetCodeReviewsCommand.js +16 -0
- package/dist-es/commands/BatchGetFindingsCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestJobTasksCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestJobsCommand.js +2 -2
- package/dist-es/commands/BatchGetPentestsCommand.js +2 -2
- package/dist-es/commands/BatchGetTargetDomainsCommand.js +2 -2
- package/dist-es/commands/CreateAgentSpaceCommand.js +2 -2
- package/dist-es/commands/CreateApplicationCommand.js +2 -2
- package/dist-es/commands/CreateCodeReviewCommand.js +16 -0
- package/dist-es/commands/CreateIntegrationCommand.js +2 -2
- package/dist-es/commands/CreateMembershipCommand.js +2 -2
- package/dist-es/commands/CreatePentestCommand.js +2 -2
- package/dist-es/commands/CreateTargetDomainCommand.js +2 -2
- package/dist-es/commands/DeleteAgentSpaceCommand.js +2 -2
- package/dist-es/commands/DeleteApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteArtifactCommand.js +2 -2
- package/dist-es/commands/DeleteIntegrationCommand.js +2 -2
- package/dist-es/commands/DeleteMembershipCommand.js +2 -2
- package/dist-es/commands/DeleteTargetDomainCommand.js +2 -2
- package/dist-es/commands/GetApplicationCommand.js +2 -2
- package/dist-es/commands/GetArtifactCommand.js +2 -2
- package/dist-es/commands/GetIntegrationCommand.js +2 -2
- package/dist-es/commands/InitiateProviderRegistrationCommand.js +2 -2
- package/dist-es/commands/ListAgentSpacesCommand.js +2 -2
- package/dist-es/commands/ListApplicationsCommand.js +2 -2
- package/dist-es/commands/ListArtifactsCommand.js +2 -2
- package/dist-es/commands/ListCodeReviewJobTasksCommand.js +16 -0
- package/dist-es/commands/ListCodeReviewJobsForCodeReviewCommand.js +16 -0
- package/dist-es/commands/ListCodeReviewsCommand.js +16 -0
- package/dist-es/commands/ListDiscoveredEndpointsCommand.js +2 -2
- package/dist-es/commands/ListFindingsCommand.js +2 -2
- package/dist-es/commands/ListIntegratedResourcesCommand.js +2 -2
- package/dist-es/commands/ListIntegrationsCommand.js +2 -2
- package/dist-es/commands/ListMembershipsCommand.js +2 -2
- package/dist-es/commands/ListPentestJobTasksCommand.js +2 -2
- package/dist-es/commands/ListPentestJobsForPentestCommand.js +2 -2
- package/dist-es/commands/ListPentestsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTargetDomainsCommand.js +2 -2
- package/dist-es/commands/StartCodeRemediationCommand.js +2 -2
- package/dist-es/commands/StartCodeReviewJobCommand.js +16 -0
- package/dist-es/commands/StartPentestJobCommand.js +2 -2
- package/dist-es/commands/StopCodeReviewJobCommand.js +16 -0
- package/dist-es/commands/StopPentestJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAgentSpaceCommand.js +2 -2
- package/dist-es/commands/UpdateApplicationCommand.js +2 -2
- package/dist-es/commands/UpdateCodeReviewCommand.js +16 -0
- package/dist-es/commands/UpdateFindingCommand.js +2 -2
- package/dist-es/commands/UpdateIntegratedResourcesCommand.js +2 -2
- package/dist-es/commands/UpdatePentestCommand.js +2 -2
- package/dist-es/commands/UpdateTargetDomainCommand.js +2 -2
- package/dist-es/commands/VerifyTargetDomainCommand.js +2 -2
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SecurityAgentServiceException.js +1 -1
- package/dist-es/models/enums.js +26 -26
- package/dist-es/pagination/ListCodeReviewJobTasksPaginator.js +4 -0
- package/dist-es/pagination/ListCodeReviewJobsForCodeReviewPaginator.js +4 -0
- package/dist-es/pagination/ListCodeReviewsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +293 -19
- package/dist-types/SecurityAgent.d.ts +98 -0
- package/dist-types/SecurityAgentClient.d.ts +18 -7
- package/dist-types/commands/AddArtifactCommand.d.ts +6 -4
- package/dist-types/commands/BatchDeleteCodeReviewsCommand.d.ts +87 -0
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetCodeReviewJobTasksCommand.d.ts +108 -0
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +134 -0
- package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +133 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +16 -4
- package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
- package/dist-types/commands/CreateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +167 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/CreateMembershipCommand.d.ts +6 -4
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -4
- package/dist-types/commands/CreateTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteArtifactCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteMembershipCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/commands/GetArtifactCommand.d.ts +6 -4
- package/dist-types/commands/GetIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
- package/dist-types/commands/ListAgentSpacesCommand.d.ts +6 -4
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/commands/ListArtifactsCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeReviewJobTasksCommand.d.ts +94 -0
- package/dist-types/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +89 -0
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +87 -0
- package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/ListFindingsCommand.d.ts +10 -5
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/commands/ListIntegrationsCommand.d.ts +6 -4
- package/dist-types/commands/ListMembershipsCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
- package/dist-types/commands/ListPentestsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTargetDomainsCommand.d.ts +6 -4
- package/dist-types/commands/StartCodeRemediationCommand.d.ts +8 -5
- package/dist-types/commands/StartCodeReviewJobCommand.d.ts +83 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +6 -4
- package/dist-types/commands/StopCodeReviewJobCommand.d.ts +75 -0
- package/dist-types/commands/StopPentestJobCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +168 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +6 -4
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePentestCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SecurityAgentServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +58 -58
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1015 -100
- package/dist-types/pagination/ListCodeReviewJobTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeReviewsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +41 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +208 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +74 -14
- package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDeleteCodeReviewsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetCodeReviewJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetCodeReviewJobsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetCodeReviewsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeReviewJobTasksCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeReviewJobCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +32 -32
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +231 -25
- package/dist-types/ts3.4/pagination/ListCodeReviewJobTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeReviewJobsForCodeReviewPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
- package/package.json +13 -34
|
@@ -837,6 +837,54 @@ export interface Assets {
|
|
|
837
837
|
*/
|
|
838
838
|
integratedRepositories?: IntegratedRepository[] | undefined;
|
|
839
839
|
}
|
|
840
|
+
/**
|
|
841
|
+
* <p>Input for deleting multiple code reviews.</p>
|
|
842
|
+
* @public
|
|
843
|
+
*/
|
|
844
|
+
export interface BatchDeleteCodeReviewsInput {
|
|
845
|
+
/**
|
|
846
|
+
* <p>The list of code review identifiers to delete.</p>
|
|
847
|
+
* @public
|
|
848
|
+
*/
|
|
849
|
+
codeReviewIds: string[] | undefined;
|
|
850
|
+
/**
|
|
851
|
+
* <p>The unique identifier of the agent space that contains the code reviews to delete.</p>
|
|
852
|
+
* @public
|
|
853
|
+
*/
|
|
854
|
+
agentSpaceId: string | undefined;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* <p>Contains information about a code review that failed to delete.</p>
|
|
858
|
+
* @public
|
|
859
|
+
*/
|
|
860
|
+
export interface DeleteCodeReviewFailure {
|
|
861
|
+
/**
|
|
862
|
+
* <p>The unique identifier of the code review that failed to delete.</p>
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
codeReviewId?: string | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* <p>The reason the code review failed to delete.</p>
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
870
|
+
reason?: string | undefined;
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* <p>Output for the BatchDeleteCodeReviews operation.</p>
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
876
|
+
export interface BatchDeleteCodeReviewsOutput {
|
|
877
|
+
/**
|
|
878
|
+
* <p>The list of identifiers of the code reviews that were successfully deleted.</p>
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
deleted?: string[] | undefined;
|
|
882
|
+
/**
|
|
883
|
+
* <p>The list of code reviews that failed to delete, including the reason for each failure.</p>
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
failed?: DeleteCodeReviewFailure[] | undefined;
|
|
887
|
+
}
|
|
840
888
|
/**
|
|
841
889
|
* <p>Input for deleting multiple pentests.</p>
|
|
842
890
|
* @public
|
|
@@ -1045,6 +1093,400 @@ export interface BatchGetArtifactMetadataOutput {
|
|
|
1045
1093
|
*/
|
|
1046
1094
|
artifactMetadataList: ArtifactMetadataItem[] | undefined;
|
|
1047
1095
|
}
|
|
1096
|
+
/**
|
|
1097
|
+
* <p>Input for BatchGetCodeReviewJobs operation.</p>
|
|
1098
|
+
* @public
|
|
1099
|
+
*/
|
|
1100
|
+
export interface BatchGetCodeReviewJobsInput {
|
|
1101
|
+
/**
|
|
1102
|
+
* <p>The list of code review job identifiers to retrieve.</p>
|
|
1103
|
+
* @public
|
|
1104
|
+
*/
|
|
1105
|
+
codeReviewJobIds: string[] | undefined;
|
|
1106
|
+
/**
|
|
1107
|
+
* <p>The unique identifier of the agent space that contains the code review jobs.</p>
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
agentSpaceId: string | undefined;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>Contains error information for a pentest job that encountered an error.</p>
|
|
1114
|
+
* @public
|
|
1115
|
+
*/
|
|
1116
|
+
export interface ErrorInformation {
|
|
1117
|
+
/**
|
|
1118
|
+
* <p>The error code. Valid values include CLIENT_ERROR, INTERNAL_ERROR, and STOPPED_BY_USER.</p>
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
code?: ErrorCode | undefined;
|
|
1122
|
+
/**
|
|
1123
|
+
* <p>A message describing the error.</p>
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
1126
|
+
message?: string | undefined;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* <p>Contains contextual information about the execution of a pentest job, such as errors, warnings, or informational messages.</p>
|
|
1130
|
+
* @public
|
|
1131
|
+
*/
|
|
1132
|
+
export interface ExecutionContext {
|
|
1133
|
+
/**
|
|
1134
|
+
* <p>The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.</p>
|
|
1135
|
+
* @public
|
|
1136
|
+
*/
|
|
1137
|
+
contextType?: ContextType | undefined;
|
|
1138
|
+
/**
|
|
1139
|
+
* <p>The context message.</p>
|
|
1140
|
+
* @public
|
|
1141
|
+
*/
|
|
1142
|
+
context?: string | undefined;
|
|
1143
|
+
/**
|
|
1144
|
+
* <p>The date and time the context was recorded, in UTC format.</p>
|
|
1145
|
+
* @public
|
|
1146
|
+
*/
|
|
1147
|
+
timestamp?: Date | undefined;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>Represents a step in the pentest job execution pipeline. Steps include preflight, static analysis, pentest, and finalizing.</p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
export interface Step {
|
|
1154
|
+
/**
|
|
1155
|
+
* <p>The name of the step. Valid values include PREFLIGHT, STATIC_ANALYSIS, PENTEST, and FINALIZING.</p>
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
name?: StepName | undefined;
|
|
1159
|
+
/**
|
|
1160
|
+
* <p>The current status of the step.</p>
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
status?: StepStatus | undefined;
|
|
1164
|
+
/**
|
|
1165
|
+
* <p>The date and time the step was created, in UTC format.</p>
|
|
1166
|
+
* @public
|
|
1167
|
+
*/
|
|
1168
|
+
createdAt?: Date | undefined;
|
|
1169
|
+
/**
|
|
1170
|
+
* <p>The date and time the step was last updated, in UTC format.</p>
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
updatedAt?: Date | undefined;
|
|
1174
|
+
}
|
|
1175
|
+
/**
|
|
1176
|
+
* <p>Represents a code review job, which is an execution instance of a code review. A code review job progresses through preflight, static analysis, and finalizing steps.</p>
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1179
|
+
export interface CodeReviewJob {
|
|
1180
|
+
/**
|
|
1181
|
+
* <p>The unique identifier of the code review job.</p>
|
|
1182
|
+
* @public
|
|
1183
|
+
*/
|
|
1184
|
+
codeReviewJobId?: string | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* <p>The unique identifier of the code review associated with the job.</p>
|
|
1187
|
+
* @public
|
|
1188
|
+
*/
|
|
1189
|
+
codeReviewId?: string | undefined;
|
|
1190
|
+
/**
|
|
1191
|
+
* <p>The title of the code review job.</p>
|
|
1192
|
+
* @public
|
|
1193
|
+
*/
|
|
1194
|
+
title?: string | undefined;
|
|
1195
|
+
/**
|
|
1196
|
+
* <p>An overview of the code review job results.</p>
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1199
|
+
overview?: string | undefined;
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>The current status of the code review job.</p>
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
status?: JobStatus | undefined;
|
|
1205
|
+
/**
|
|
1206
|
+
* <p>The list of documents providing context for the code review job.</p>
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
documents?: DocumentInfo[] | undefined;
|
|
1210
|
+
/**
|
|
1211
|
+
* <p>The list of source code repositories analyzed during the code review job.</p>
|
|
1212
|
+
* @public
|
|
1213
|
+
*/
|
|
1214
|
+
sourceCode?: SourceCodeRepository[] | undefined;
|
|
1215
|
+
/**
|
|
1216
|
+
* <p>The list of steps in the code review job execution.</p>
|
|
1217
|
+
* @public
|
|
1218
|
+
*/
|
|
1219
|
+
steps?: Step[] | undefined;
|
|
1220
|
+
/**
|
|
1221
|
+
* <p>The execution context messages for the code review job.</p>
|
|
1222
|
+
* @public
|
|
1223
|
+
*/
|
|
1224
|
+
executionContext?: ExecutionContext[] | undefined;
|
|
1225
|
+
/**
|
|
1226
|
+
* <p>The IAM service role used for the code review job.</p>
|
|
1227
|
+
* @public
|
|
1228
|
+
*/
|
|
1229
|
+
serviceRole?: string | undefined;
|
|
1230
|
+
/**
|
|
1231
|
+
* <p>The CloudWatch Logs configuration for the code review job.</p>
|
|
1232
|
+
* @public
|
|
1233
|
+
*/
|
|
1234
|
+
logConfig?: CloudWatchLog | undefined;
|
|
1235
|
+
/**
|
|
1236
|
+
* <p>Error information if the code review job encountered an error.</p>
|
|
1237
|
+
* @public
|
|
1238
|
+
*/
|
|
1239
|
+
errorInformation?: ErrorInformation | undefined;
|
|
1240
|
+
/**
|
|
1241
|
+
* <p>The list of integrated repositories associated with the code review job.</p>
|
|
1242
|
+
* @public
|
|
1243
|
+
*/
|
|
1244
|
+
integratedRepositories?: IntegratedRepository[] | undefined;
|
|
1245
|
+
/**
|
|
1246
|
+
* <p>The code remediation strategy for the code review job.</p>
|
|
1247
|
+
* @public
|
|
1248
|
+
*/
|
|
1249
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
1250
|
+
/**
|
|
1251
|
+
* <p>The date and time the code review job was created, in UTC format.</p>
|
|
1252
|
+
* @public
|
|
1253
|
+
*/
|
|
1254
|
+
createdAt?: Date | undefined;
|
|
1255
|
+
/**
|
|
1256
|
+
* <p>The date and time the code review job was last updated, in UTC format.</p>
|
|
1257
|
+
* @public
|
|
1258
|
+
*/
|
|
1259
|
+
updatedAt?: Date | undefined;
|
|
1260
|
+
}
|
|
1261
|
+
/**
|
|
1262
|
+
* <p>Output for the BatchGetCodeReviewJobs operation.</p>
|
|
1263
|
+
* @public
|
|
1264
|
+
*/
|
|
1265
|
+
export interface BatchGetCodeReviewJobsOutput {
|
|
1266
|
+
/**
|
|
1267
|
+
* <p>The list of code review jobs that were found.</p>
|
|
1268
|
+
* @public
|
|
1269
|
+
*/
|
|
1270
|
+
codeReviewJobs?: CodeReviewJob[] | undefined;
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>The list of code review job identifiers that were not found.</p>
|
|
1273
|
+
* @public
|
|
1274
|
+
*/
|
|
1275
|
+
notFound?: string[] | undefined;
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* <p>Input for retrieving multiple tasks associated with a code review job.</p>
|
|
1279
|
+
* @public
|
|
1280
|
+
*/
|
|
1281
|
+
export interface BatchGetCodeReviewJobTasksInput {
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>The unique identifier of the agent space that contains the tasks.</p>
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
agentSpaceId: string | undefined;
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>The list of task identifiers to retrieve.</p>
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
codeReviewJobTaskIds: string[] | undefined;
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* <p>Represents a category assigned to a security testing task.</p>
|
|
1295
|
+
* @public
|
|
1296
|
+
*/
|
|
1297
|
+
export interface Category {
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>The name of the category.</p>
|
|
1300
|
+
* @public
|
|
1301
|
+
*/
|
|
1302
|
+
name?: string | undefined;
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>Indicates whether this is the primary category for the task.</p>
|
|
1305
|
+
* @public
|
|
1306
|
+
*/
|
|
1307
|
+
isPrimary?: boolean | undefined;
|
|
1308
|
+
}
|
|
1309
|
+
/**
|
|
1310
|
+
* <p>The log location for a task, specifying where task execution logs are stored.</p>
|
|
1311
|
+
* @public
|
|
1312
|
+
*/
|
|
1313
|
+
export interface LogLocation {
|
|
1314
|
+
/**
|
|
1315
|
+
* <p>The type of log storage. Currently, only CLOUDWATCH is supported.</p>
|
|
1316
|
+
* @public
|
|
1317
|
+
*/
|
|
1318
|
+
logType?: LogType | undefined;
|
|
1319
|
+
/**
|
|
1320
|
+
* <p>The CloudWatch Logs location for the task logs.</p>
|
|
1321
|
+
* @public
|
|
1322
|
+
*/
|
|
1323
|
+
cloudWatchLog?: CloudWatchLog | undefined;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* <p>Represents an individual security test task within a code review job. Each task targets a specific risk type and executes independently.</p>
|
|
1327
|
+
* @public
|
|
1328
|
+
*/
|
|
1329
|
+
export interface CodeReviewJobTask {
|
|
1330
|
+
/**
|
|
1331
|
+
* <p>The unique identifier of the task.</p>
|
|
1332
|
+
* @public
|
|
1333
|
+
*/
|
|
1334
|
+
taskId: string | undefined;
|
|
1335
|
+
/**
|
|
1336
|
+
* <p>The unique identifier of the code review associated with the task.</p>
|
|
1337
|
+
* @public
|
|
1338
|
+
*/
|
|
1339
|
+
codeReviewId?: string | undefined;
|
|
1340
|
+
/**
|
|
1341
|
+
* <p>The unique identifier of the code review job that contains the task.</p>
|
|
1342
|
+
* @public
|
|
1343
|
+
*/
|
|
1344
|
+
codeReviewJobId?: string | undefined;
|
|
1345
|
+
/**
|
|
1346
|
+
* <p>The unique identifier of the agent space.</p>
|
|
1347
|
+
* @public
|
|
1348
|
+
*/
|
|
1349
|
+
agentSpaceId?: string | undefined;
|
|
1350
|
+
/**
|
|
1351
|
+
* <p>The title of the task.</p>
|
|
1352
|
+
* @public
|
|
1353
|
+
*/
|
|
1354
|
+
title?: string | undefined;
|
|
1355
|
+
/**
|
|
1356
|
+
* <p>A description of the task.</p>
|
|
1357
|
+
* @public
|
|
1358
|
+
*/
|
|
1359
|
+
description?: string | undefined;
|
|
1360
|
+
/**
|
|
1361
|
+
* <p>The list of categories assigned to the task.</p>
|
|
1362
|
+
* @public
|
|
1363
|
+
*/
|
|
1364
|
+
categories?: Category[] | undefined;
|
|
1365
|
+
/**
|
|
1366
|
+
* <p>The type of security risk the task is testing for.</p>
|
|
1367
|
+
* @public
|
|
1368
|
+
*/
|
|
1369
|
+
riskType?: RiskType | undefined;
|
|
1370
|
+
/**
|
|
1371
|
+
* <p>The current execution status of the task.</p>
|
|
1372
|
+
* @public
|
|
1373
|
+
*/
|
|
1374
|
+
executionStatus?: TaskExecutionStatus | undefined;
|
|
1375
|
+
/**
|
|
1376
|
+
* <p>The location of the task execution logs.</p>
|
|
1377
|
+
* @public
|
|
1378
|
+
*/
|
|
1379
|
+
logsLocation?: LogLocation | undefined;
|
|
1380
|
+
/**
|
|
1381
|
+
* <p>The date and time the task was created, in UTC format.</p>
|
|
1382
|
+
* @public
|
|
1383
|
+
*/
|
|
1384
|
+
createdAt?: Date | undefined;
|
|
1385
|
+
/**
|
|
1386
|
+
* <p>The date and time the task was last updated, in UTC format.</p>
|
|
1387
|
+
* @public
|
|
1388
|
+
*/
|
|
1389
|
+
updatedAt?: Date | undefined;
|
|
1390
|
+
}
|
|
1391
|
+
/**
|
|
1392
|
+
* <p>Output for the BatchGetCodeReviewJobTasks operation.</p>
|
|
1393
|
+
* @public
|
|
1394
|
+
*/
|
|
1395
|
+
export interface BatchGetCodeReviewJobTasksOutput {
|
|
1396
|
+
/**
|
|
1397
|
+
* <p>The list of code review job tasks that were found.</p>
|
|
1398
|
+
* @public
|
|
1399
|
+
*/
|
|
1400
|
+
codeReviewJobTasks?: CodeReviewJobTask[] | undefined;
|
|
1401
|
+
/**
|
|
1402
|
+
* <p>The list of task identifiers that were not found.</p>
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
notFound?: string[] | undefined;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* <p>Input for retrieving multiple code reviews by their IDs.</p>
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
export interface BatchGetCodeReviewsInput {
|
|
1412
|
+
/**
|
|
1413
|
+
* <p>The list of code review identifiers to retrieve.</p>
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1416
|
+
codeReviewIds: string[] | undefined;
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>The unique identifier of the agent space that contains the code reviews.</p>
|
|
1419
|
+
* @public
|
|
1420
|
+
*/
|
|
1421
|
+
agentSpaceId: string | undefined;
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* <p>Represents a code review configuration that defines the parameters for automated security-focused code analysis, including target assets and logging configuration.</p>
|
|
1425
|
+
* @public
|
|
1426
|
+
*/
|
|
1427
|
+
export interface CodeReview {
|
|
1428
|
+
/**
|
|
1429
|
+
* <p>The unique identifier of the code review.</p>
|
|
1430
|
+
* @public
|
|
1431
|
+
*/
|
|
1432
|
+
codeReviewId: string | undefined;
|
|
1433
|
+
/**
|
|
1434
|
+
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
1435
|
+
* @public
|
|
1436
|
+
*/
|
|
1437
|
+
agentSpaceId: string | undefined;
|
|
1438
|
+
/**
|
|
1439
|
+
* <p>The title of the code review.</p>
|
|
1440
|
+
* @public
|
|
1441
|
+
*/
|
|
1442
|
+
title: string | undefined;
|
|
1443
|
+
/**
|
|
1444
|
+
* <p>The assets included in the code review.</p>
|
|
1445
|
+
* @public
|
|
1446
|
+
*/
|
|
1447
|
+
assets: Assets | undefined;
|
|
1448
|
+
/**
|
|
1449
|
+
* <p>The IAM service role used for the code review.</p>
|
|
1450
|
+
* @public
|
|
1451
|
+
*/
|
|
1452
|
+
serviceRole?: string | undefined;
|
|
1453
|
+
/**
|
|
1454
|
+
* <p>The CloudWatch Logs configuration for the code review.</p>
|
|
1455
|
+
* @public
|
|
1456
|
+
*/
|
|
1457
|
+
logConfig?: CloudWatchLog | undefined;
|
|
1458
|
+
/**
|
|
1459
|
+
* <p>The code remediation strategy for the code review.</p>
|
|
1460
|
+
* @public
|
|
1461
|
+
*/
|
|
1462
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
1463
|
+
/**
|
|
1464
|
+
* <p>The date and time the code review was created, in UTC format.</p>
|
|
1465
|
+
* @public
|
|
1466
|
+
*/
|
|
1467
|
+
createdAt?: Date | undefined;
|
|
1468
|
+
/**
|
|
1469
|
+
* <p>The date and time the code review was last updated, in UTC format.</p>
|
|
1470
|
+
* @public
|
|
1471
|
+
*/
|
|
1472
|
+
updatedAt?: Date | undefined;
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* <p>Output for the BatchGetCodeReviews operation.</p>
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
export interface BatchGetCodeReviewsOutput {
|
|
1479
|
+
/**
|
|
1480
|
+
* <p>The list of code reviews that were found.</p>
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
codeReviews?: CodeReview[] | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The list of code review identifiers that were not found.</p>
|
|
1486
|
+
* @public
|
|
1487
|
+
*/
|
|
1488
|
+
notFound?: string[] | undefined;
|
|
1489
|
+
}
|
|
1048
1490
|
/**
|
|
1049
1491
|
* <p>Input for BatchGetFindings operation.</p>
|
|
1050
1492
|
* @public
|
|
@@ -1061,6 +1503,32 @@ export interface BatchGetFindingsInput {
|
|
|
1061
1503
|
*/
|
|
1062
1504
|
agentSpaceId: string | undefined;
|
|
1063
1505
|
}
|
|
1506
|
+
/**
|
|
1507
|
+
* <p>Represents a location in source code associated with a security finding.</p>
|
|
1508
|
+
* @public
|
|
1509
|
+
*/
|
|
1510
|
+
export interface CodeLocation {
|
|
1511
|
+
/**
|
|
1512
|
+
* <p>The absolute path to the file containing the code location.</p>
|
|
1513
|
+
* @public
|
|
1514
|
+
*/
|
|
1515
|
+
filePath: string | undefined;
|
|
1516
|
+
/**
|
|
1517
|
+
* <p>The starting line number of the code location.</p>
|
|
1518
|
+
* @public
|
|
1519
|
+
*/
|
|
1520
|
+
lineStart?: number | undefined;
|
|
1521
|
+
/**
|
|
1522
|
+
* <p>The ending line number of the code location.</p>
|
|
1523
|
+
* @public
|
|
1524
|
+
*/
|
|
1525
|
+
lineEnd?: number | undefined;
|
|
1526
|
+
/**
|
|
1527
|
+
* <p>The role of this location in the vulnerability, such as source or sink.</p>
|
|
1528
|
+
* @public
|
|
1529
|
+
*/
|
|
1530
|
+
label?: string | undefined;
|
|
1531
|
+
}
|
|
1064
1532
|
/**
|
|
1065
1533
|
* <p>Contains details about a code remediation task, including links to the code diff and pull request.</p>
|
|
1066
1534
|
* @public
|
|
@@ -1128,6 +1596,16 @@ export interface Finding {
|
|
|
1128
1596
|
* @public
|
|
1129
1597
|
*/
|
|
1130
1598
|
pentestJobId?: string | undefined;
|
|
1599
|
+
/**
|
|
1600
|
+
* <p>The unique identifier of the code review associated with the finding.</p>
|
|
1601
|
+
* @public
|
|
1602
|
+
*/
|
|
1603
|
+
codeReviewId?: string | undefined;
|
|
1604
|
+
/**
|
|
1605
|
+
* <p>The unique identifier of the code review job that produced the finding.</p>
|
|
1606
|
+
* @public
|
|
1607
|
+
*/
|
|
1608
|
+
codeReviewJobId?: string | undefined;
|
|
1131
1609
|
/**
|
|
1132
1610
|
* <p>The unique identifier of the task that produced the finding.</p>
|
|
1133
1611
|
* @public
|
|
@@ -1188,6 +1666,11 @@ export interface Finding {
|
|
|
1188
1666
|
* @public
|
|
1189
1667
|
*/
|
|
1190
1668
|
lastUpdatedBy?: string | undefined;
|
|
1669
|
+
/**
|
|
1670
|
+
* <p>The file locations involved in the vulnerability, as reported by the code scanner.</p>
|
|
1671
|
+
* @public
|
|
1672
|
+
*/
|
|
1673
|
+
codeLocations?: CodeLocation[] | undefined;
|
|
1191
1674
|
/**
|
|
1192
1675
|
* <p>The date and time the finding was created, in UTC format.</p>
|
|
1193
1676
|
* @public
|
|
@@ -1231,69 +1714,6 @@ export interface BatchGetPentestJobsInput {
|
|
|
1231
1714
|
*/
|
|
1232
1715
|
agentSpaceId: string | undefined;
|
|
1233
1716
|
}
|
|
1234
|
-
/**
|
|
1235
|
-
* <p>Contains error information for a pentest job that encountered an error.</p>
|
|
1236
|
-
* @public
|
|
1237
|
-
*/
|
|
1238
|
-
export interface ErrorInformation {
|
|
1239
|
-
/**
|
|
1240
|
-
* <p>The error code. Valid values include CLIENT_ERROR, INTERNAL_ERROR, and STOPPED_BY_USER.</p>
|
|
1241
|
-
* @public
|
|
1242
|
-
*/
|
|
1243
|
-
code?: ErrorCode | undefined;
|
|
1244
|
-
/**
|
|
1245
|
-
* <p>A message describing the error.</p>
|
|
1246
|
-
* @public
|
|
1247
|
-
*/
|
|
1248
|
-
message?: string | undefined;
|
|
1249
|
-
}
|
|
1250
|
-
/**
|
|
1251
|
-
* <p>Contains contextual information about the execution of a pentest job, such as errors, warnings, or informational messages.</p>
|
|
1252
|
-
* @public
|
|
1253
|
-
*/
|
|
1254
|
-
export interface ExecutionContext {
|
|
1255
|
-
/**
|
|
1256
|
-
* <p>The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.</p>
|
|
1257
|
-
* @public
|
|
1258
|
-
*/
|
|
1259
|
-
contextType?: ContextType | undefined;
|
|
1260
|
-
/**
|
|
1261
|
-
* <p>The context message.</p>
|
|
1262
|
-
* @public
|
|
1263
|
-
*/
|
|
1264
|
-
context?: string | undefined;
|
|
1265
|
-
/**
|
|
1266
|
-
* <p>The date and time the context was recorded, in UTC format.</p>
|
|
1267
|
-
* @public
|
|
1268
|
-
*/
|
|
1269
|
-
timestamp?: Date | undefined;
|
|
1270
|
-
}
|
|
1271
|
-
/**
|
|
1272
|
-
* <p>Represents a step in the pentest job execution pipeline. Steps include preflight, static analysis, pentest, and finalizing.</p>
|
|
1273
|
-
* @public
|
|
1274
|
-
*/
|
|
1275
|
-
export interface Step {
|
|
1276
|
-
/**
|
|
1277
|
-
* <p>The name of the step. Valid values include PREFLIGHT, STATIC_ANALYSIS, PENTEST, and FINALIZING.</p>
|
|
1278
|
-
* @public
|
|
1279
|
-
*/
|
|
1280
|
-
name?: StepName | undefined;
|
|
1281
|
-
/**
|
|
1282
|
-
* <p>The current status of the step.</p>
|
|
1283
|
-
* @public
|
|
1284
|
-
*/
|
|
1285
|
-
status?: StepStatus | undefined;
|
|
1286
|
-
/**
|
|
1287
|
-
* <p>The date and time the step was created, in UTC format.</p>
|
|
1288
|
-
* @public
|
|
1289
|
-
*/
|
|
1290
|
-
createdAt?: Date | undefined;
|
|
1291
|
-
/**
|
|
1292
|
-
* <p>The date and time the step was last updated, in UTC format.</p>
|
|
1293
|
-
* @public
|
|
1294
|
-
*/
|
|
1295
|
-
updatedAt?: Date | undefined;
|
|
1296
|
-
}
|
|
1297
1717
|
/**
|
|
1298
1718
|
* <p>Represents a pentest job, which is an execution instance of a pentest. A pentest job progresses through preflight, static analysis, pentest, and finalizing steps.</p>
|
|
1299
1719
|
* @public
|
|
@@ -1447,38 +1867,6 @@ export interface BatchGetPentestJobTasksInput {
|
|
|
1447
1867
|
*/
|
|
1448
1868
|
taskIds: string[] | undefined;
|
|
1449
1869
|
}
|
|
1450
|
-
/**
|
|
1451
|
-
* <p>Represents a category assigned to a security testing task.</p>
|
|
1452
|
-
* @public
|
|
1453
|
-
*/
|
|
1454
|
-
export interface Category {
|
|
1455
|
-
/**
|
|
1456
|
-
* <p>The name of the category.</p>
|
|
1457
|
-
* @public
|
|
1458
|
-
*/
|
|
1459
|
-
name?: string | undefined;
|
|
1460
|
-
/**
|
|
1461
|
-
* <p>Indicates whether this is the primary category for the task.</p>
|
|
1462
|
-
* @public
|
|
1463
|
-
*/
|
|
1464
|
-
isPrimary?: boolean | undefined;
|
|
1465
|
-
}
|
|
1466
|
-
/**
|
|
1467
|
-
* <p>The log location for a task, specifying where task execution logs are stored.</p>
|
|
1468
|
-
* @public
|
|
1469
|
-
*/
|
|
1470
|
-
export interface LogLocation {
|
|
1471
|
-
/**
|
|
1472
|
-
* <p>The type of log storage. Currently, only CLOUDWATCH is supported.</p>
|
|
1473
|
-
* @public
|
|
1474
|
-
*/
|
|
1475
|
-
logType?: LogType | undefined;
|
|
1476
|
-
/**
|
|
1477
|
-
* <p>The CloudWatch Logs location for the task logs.</p>
|
|
1478
|
-
* @public
|
|
1479
|
-
*/
|
|
1480
|
-
cloudWatchLog?: CloudWatchLog | undefined;
|
|
1481
|
-
}
|
|
1482
1870
|
/**
|
|
1483
1871
|
* <p>Represents an individual security test task within a pentest job. Each task targets a specific risk type or endpoint and executes independently.</p>
|
|
1484
1872
|
* @public
|
|
@@ -1719,10 +2107,215 @@ export interface BatchGetTargetDomainsOutput {
|
|
|
1719
2107
|
*/
|
|
1720
2108
|
targetDomains?: TargetDomain[] | undefined;
|
|
1721
2109
|
/**
|
|
1722
|
-
* <p>The list of target domain identifiers that were not found.</p>
|
|
2110
|
+
* <p>The list of target domain identifiers that were not found.</p>
|
|
2111
|
+
* @public
|
|
2112
|
+
*/
|
|
2113
|
+
notFound?: string[] | undefined;
|
|
2114
|
+
}
|
|
2115
|
+
/**
|
|
2116
|
+
* <p>Contains summary information about a code review job.</p>
|
|
2117
|
+
* @public
|
|
2118
|
+
*/
|
|
2119
|
+
export interface CodeReviewJobSummary {
|
|
2120
|
+
/**
|
|
2121
|
+
* <p>The unique identifier of the code review job.</p>
|
|
2122
|
+
* @public
|
|
2123
|
+
*/
|
|
2124
|
+
codeReviewJobId: string | undefined;
|
|
2125
|
+
/**
|
|
2126
|
+
* <p>The unique identifier of the code review associated with the job.</p>
|
|
2127
|
+
* @public
|
|
2128
|
+
*/
|
|
2129
|
+
codeReviewId: string | undefined;
|
|
2130
|
+
/**
|
|
2131
|
+
* <p>The title of the code review job.</p>
|
|
2132
|
+
* @public
|
|
2133
|
+
*/
|
|
2134
|
+
title?: string | undefined;
|
|
2135
|
+
/**
|
|
2136
|
+
* <p>The current status of the code review job.</p>
|
|
2137
|
+
* @public
|
|
2138
|
+
*/
|
|
2139
|
+
status?: JobStatus | undefined;
|
|
2140
|
+
/**
|
|
2141
|
+
* <p>The date and time the code review job was created, in UTC format.</p>
|
|
2142
|
+
* @public
|
|
2143
|
+
*/
|
|
2144
|
+
createdAt?: Date | undefined;
|
|
2145
|
+
/**
|
|
2146
|
+
* <p>The date and time the code review job was last updated, in UTC format.</p>
|
|
2147
|
+
* @public
|
|
2148
|
+
*/
|
|
2149
|
+
updatedAt?: Date | undefined;
|
|
2150
|
+
}
|
|
2151
|
+
/**
|
|
2152
|
+
* <p>Contains summary information about a code review job task.</p>
|
|
2153
|
+
* @public
|
|
2154
|
+
*/
|
|
2155
|
+
export interface CodeReviewJobTaskSummary {
|
|
2156
|
+
/**
|
|
2157
|
+
* <p>The unique identifier of the task.</p>
|
|
2158
|
+
* @public
|
|
2159
|
+
*/
|
|
2160
|
+
taskId: string | undefined;
|
|
2161
|
+
/**
|
|
2162
|
+
* <p>The unique identifier of the code review associated with the task.</p>
|
|
2163
|
+
* @public
|
|
2164
|
+
*/
|
|
2165
|
+
codeReviewId?: string | undefined;
|
|
2166
|
+
/**
|
|
2167
|
+
* <p>The unique identifier of the code review job that contains the task.</p>
|
|
2168
|
+
* @public
|
|
2169
|
+
*/
|
|
2170
|
+
codeReviewJobId?: string | undefined;
|
|
2171
|
+
/**
|
|
2172
|
+
* <p>The unique identifier of the agent space.</p>
|
|
2173
|
+
* @public
|
|
2174
|
+
*/
|
|
2175
|
+
agentSpaceId?: string | undefined;
|
|
2176
|
+
/**
|
|
2177
|
+
* <p>The title of the task.</p>
|
|
2178
|
+
* @public
|
|
2179
|
+
*/
|
|
2180
|
+
title?: string | undefined;
|
|
2181
|
+
/**
|
|
2182
|
+
* <p>The type of security risk the task is testing for.</p>
|
|
2183
|
+
* @public
|
|
2184
|
+
*/
|
|
2185
|
+
riskType?: RiskType | undefined;
|
|
2186
|
+
/**
|
|
2187
|
+
* <p>The current execution status of the task.</p>
|
|
2188
|
+
* @public
|
|
2189
|
+
*/
|
|
2190
|
+
executionStatus?: TaskExecutionStatus | undefined;
|
|
2191
|
+
/**
|
|
2192
|
+
* <p>The date and time the task was created, in UTC format.</p>
|
|
2193
|
+
* @public
|
|
2194
|
+
*/
|
|
2195
|
+
createdAt?: Date | undefined;
|
|
2196
|
+
/**
|
|
2197
|
+
* <p>The date and time the task was last updated, in UTC format.</p>
|
|
2198
|
+
* @public
|
|
2199
|
+
*/
|
|
2200
|
+
updatedAt?: Date | undefined;
|
|
2201
|
+
}
|
|
2202
|
+
/**
|
|
2203
|
+
* <p>Contains summary information about a code review.</p>
|
|
2204
|
+
* @public
|
|
2205
|
+
*/
|
|
2206
|
+
export interface CodeReviewSummary {
|
|
2207
|
+
/**
|
|
2208
|
+
* <p>The unique identifier of the code review.</p>
|
|
2209
|
+
* @public
|
|
2210
|
+
*/
|
|
2211
|
+
codeReviewId: string | undefined;
|
|
2212
|
+
/**
|
|
2213
|
+
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
2214
|
+
* @public
|
|
2215
|
+
*/
|
|
2216
|
+
agentSpaceId: string | undefined;
|
|
2217
|
+
/**
|
|
2218
|
+
* <p>The title of the code review.</p>
|
|
2219
|
+
* @public
|
|
2220
|
+
*/
|
|
2221
|
+
title: string | undefined;
|
|
2222
|
+
/**
|
|
2223
|
+
* <p>The date and time the code review was created, in UTC format.</p>
|
|
2224
|
+
* @public
|
|
2225
|
+
*/
|
|
2226
|
+
createdAt?: Date | undefined;
|
|
2227
|
+
/**
|
|
2228
|
+
* <p>The date and time the code review was last updated, in UTC format.</p>
|
|
2229
|
+
* @public
|
|
2230
|
+
*/
|
|
2231
|
+
updatedAt?: Date | undefined;
|
|
2232
|
+
}
|
|
2233
|
+
/**
|
|
2234
|
+
* <p>Input for creating a new code review.</p>
|
|
2235
|
+
* @public
|
|
2236
|
+
*/
|
|
2237
|
+
export interface CreateCodeReviewInput {
|
|
2238
|
+
/**
|
|
2239
|
+
* <p>The title of the code review.</p>
|
|
2240
|
+
* @public
|
|
2241
|
+
*/
|
|
2242
|
+
title: string | undefined;
|
|
2243
|
+
/**
|
|
2244
|
+
* <p>The unique identifier of the agent space to create the code review in.</p>
|
|
2245
|
+
* @public
|
|
2246
|
+
*/
|
|
2247
|
+
agentSpaceId: string | undefined;
|
|
2248
|
+
/**
|
|
2249
|
+
* <p>The assets to include in the code review, such as documents and source code.</p>
|
|
2250
|
+
* @public
|
|
2251
|
+
*/
|
|
2252
|
+
assets: Assets | undefined;
|
|
2253
|
+
/**
|
|
2254
|
+
* <p>The IAM service role to use for the code review.</p>
|
|
2255
|
+
* @public
|
|
2256
|
+
*/
|
|
2257
|
+
serviceRole?: string | undefined;
|
|
2258
|
+
/**
|
|
2259
|
+
* <p>The CloudWatch Logs configuration for the code review.</p>
|
|
2260
|
+
* @public
|
|
2261
|
+
*/
|
|
2262
|
+
logConfig?: CloudWatchLog | undefined;
|
|
2263
|
+
/**
|
|
2264
|
+
* <p>The code remediation strategy for the code review. Valid values are AUTOMATIC and DISABLED.</p>
|
|
2265
|
+
* @public
|
|
2266
|
+
*/
|
|
2267
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
2268
|
+
}
|
|
2269
|
+
/**
|
|
2270
|
+
* <p>Output for the CreateCodeReview operation.</p>
|
|
2271
|
+
* @public
|
|
2272
|
+
*/
|
|
2273
|
+
export interface CreateCodeReviewOutput {
|
|
2274
|
+
/**
|
|
2275
|
+
* <p>The unique identifier of the created code review.</p>
|
|
2276
|
+
* @public
|
|
2277
|
+
*/
|
|
2278
|
+
codeReviewId: string | undefined;
|
|
2279
|
+
/**
|
|
2280
|
+
* <p>The title of the code review.</p>
|
|
2281
|
+
* @public
|
|
2282
|
+
*/
|
|
2283
|
+
title?: string | undefined;
|
|
2284
|
+
/**
|
|
2285
|
+
* <p>The date and time the code review was created, in UTC format.</p>
|
|
2286
|
+
* @public
|
|
2287
|
+
*/
|
|
2288
|
+
createdAt?: Date | undefined;
|
|
2289
|
+
/**
|
|
2290
|
+
* <p>The date and time the code review was last updated, in UTC format.</p>
|
|
2291
|
+
* @public
|
|
2292
|
+
*/
|
|
2293
|
+
updatedAt?: Date | undefined;
|
|
2294
|
+
/**
|
|
2295
|
+
* <p>The assets included in the code review.</p>
|
|
2296
|
+
* @public
|
|
2297
|
+
*/
|
|
2298
|
+
assets?: Assets | undefined;
|
|
2299
|
+
/**
|
|
2300
|
+
* <p>The IAM service role used for the code review.</p>
|
|
2301
|
+
* @public
|
|
2302
|
+
*/
|
|
2303
|
+
serviceRole?: string | undefined;
|
|
2304
|
+
/**
|
|
2305
|
+
* <p>The CloudWatch Logs configuration for the code review.</p>
|
|
2306
|
+
* @public
|
|
2307
|
+
*/
|
|
2308
|
+
logConfig?: CloudWatchLog | undefined;
|
|
2309
|
+
/**
|
|
2310
|
+
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
2311
|
+
* @public
|
|
2312
|
+
*/
|
|
2313
|
+
agentSpaceId?: string | undefined;
|
|
2314
|
+
/**
|
|
2315
|
+
* <p>The code remediation strategy for the code review.</p>
|
|
1723
2316
|
* @public
|
|
1724
2317
|
*/
|
|
1725
|
-
|
|
2318
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
1726
2319
|
}
|
|
1727
2320
|
/**
|
|
1728
2321
|
* <p>The input required to create a GitHub integration, including the OAuth authorization code and CSRF state.</p>
|
|
@@ -2218,6 +2811,16 @@ export interface FindingSummary {
|
|
|
2218
2811
|
* @public
|
|
2219
2812
|
*/
|
|
2220
2813
|
pentestJobId?: string | undefined;
|
|
2814
|
+
/**
|
|
2815
|
+
* <p>The unique identifier of the code review associated with the finding.</p>
|
|
2816
|
+
* @public
|
|
2817
|
+
*/
|
|
2818
|
+
codeReviewId?: string | undefined;
|
|
2819
|
+
/**
|
|
2820
|
+
* <p>The unique identifier of the code review job that produced the finding.</p>
|
|
2821
|
+
* @public
|
|
2822
|
+
*/
|
|
2823
|
+
codeReviewJobId?: string | undefined;
|
|
2221
2824
|
/**
|
|
2222
2825
|
* <p>The name of the finding.</p>
|
|
2223
2826
|
* @public
|
|
@@ -2709,6 +3312,137 @@ export interface ListArtifactsOutput {
|
|
|
2709
3312
|
*/
|
|
2710
3313
|
nextToken?: string | undefined;
|
|
2711
3314
|
}
|
|
3315
|
+
/**
|
|
3316
|
+
* <p>Input for ListCodeReviewJobsForCodeReview operation.</p>
|
|
3317
|
+
* @public
|
|
3318
|
+
*/
|
|
3319
|
+
export interface ListCodeReviewJobsForCodeReviewInput {
|
|
3320
|
+
/**
|
|
3321
|
+
* <p>The maximum number of results to return in a single call.</p>
|
|
3322
|
+
* @public
|
|
3323
|
+
*/
|
|
3324
|
+
maxResults?: number | undefined;
|
|
3325
|
+
/**
|
|
3326
|
+
* <p>The unique identifier of the code review to list jobs for.</p>
|
|
3327
|
+
* @public
|
|
3328
|
+
*/
|
|
3329
|
+
codeReviewId: string | undefined;
|
|
3330
|
+
/**
|
|
3331
|
+
* <p>The unique identifier of the agent space.</p>
|
|
3332
|
+
* @public
|
|
3333
|
+
*/
|
|
3334
|
+
agentSpaceId: string | undefined;
|
|
3335
|
+
/**
|
|
3336
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
3337
|
+
* @public
|
|
3338
|
+
*/
|
|
3339
|
+
nextToken?: string | undefined;
|
|
3340
|
+
}
|
|
3341
|
+
/**
|
|
3342
|
+
* <p>Output for the ListCodeReviewJobsForCodeReview operation.</p>
|
|
3343
|
+
* @public
|
|
3344
|
+
*/
|
|
3345
|
+
export interface ListCodeReviewJobsForCodeReviewOutput {
|
|
3346
|
+
/**
|
|
3347
|
+
* <p>The list of code review job summaries.</p>
|
|
3348
|
+
* @public
|
|
3349
|
+
*/
|
|
3350
|
+
codeReviewJobSummaries?: CodeReviewJobSummary[] | undefined;
|
|
3351
|
+
/**
|
|
3352
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
3353
|
+
* @public
|
|
3354
|
+
*/
|
|
3355
|
+
nextToken?: string | undefined;
|
|
3356
|
+
}
|
|
3357
|
+
/**
|
|
3358
|
+
* <p>Input for listing tasks associated with a code review job.</p>
|
|
3359
|
+
* @public
|
|
3360
|
+
*/
|
|
3361
|
+
export interface ListCodeReviewJobTasksInput {
|
|
3362
|
+
/**
|
|
3363
|
+
* <p>The unique identifier of the agent space.</p>
|
|
3364
|
+
* @public
|
|
3365
|
+
*/
|
|
3366
|
+
agentSpaceId: string | undefined;
|
|
3367
|
+
/**
|
|
3368
|
+
* <p>The maximum number of results to return in a single call.</p>
|
|
3369
|
+
* @public
|
|
3370
|
+
*/
|
|
3371
|
+
maxResults?: number | undefined;
|
|
3372
|
+
/**
|
|
3373
|
+
* <p>The unique identifier of the code review job to list tasks for.</p>
|
|
3374
|
+
* @public
|
|
3375
|
+
*/
|
|
3376
|
+
codeReviewJobId?: string | undefined;
|
|
3377
|
+
/**
|
|
3378
|
+
* <p>Filter tasks by step name.</p>
|
|
3379
|
+
* @public
|
|
3380
|
+
*/
|
|
3381
|
+
stepName?: StepName | undefined;
|
|
3382
|
+
/**
|
|
3383
|
+
* <p>Filter tasks by category name.</p>
|
|
3384
|
+
* @public
|
|
3385
|
+
*/
|
|
3386
|
+
categoryName?: string | undefined;
|
|
3387
|
+
/**
|
|
3388
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
3389
|
+
* @public
|
|
3390
|
+
*/
|
|
3391
|
+
nextToken?: string | undefined;
|
|
3392
|
+
}
|
|
3393
|
+
/**
|
|
3394
|
+
* <p>Output for the ListCodeReviewJobTasks operation.</p>
|
|
3395
|
+
* @public
|
|
3396
|
+
*/
|
|
3397
|
+
export interface ListCodeReviewJobTasksOutput {
|
|
3398
|
+
/**
|
|
3399
|
+
* <p>The list of code review job task summaries.</p>
|
|
3400
|
+
* @public
|
|
3401
|
+
*/
|
|
3402
|
+
codeReviewJobTaskSummaries?: CodeReviewJobTaskSummary[] | undefined;
|
|
3403
|
+
/**
|
|
3404
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
3405
|
+
* @public
|
|
3406
|
+
*/
|
|
3407
|
+
nextToken?: string | undefined;
|
|
3408
|
+
}
|
|
3409
|
+
/**
|
|
3410
|
+
* <p>Input for listing code reviews with optional filtering.</p>
|
|
3411
|
+
* @public
|
|
3412
|
+
*/
|
|
3413
|
+
export interface ListCodeReviewsInput {
|
|
3414
|
+
/**
|
|
3415
|
+
* <p>The maximum number of results to return in a single call.</p>
|
|
3416
|
+
* @public
|
|
3417
|
+
*/
|
|
3418
|
+
maxResults?: number | undefined;
|
|
3419
|
+
/**
|
|
3420
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
3421
|
+
* @public
|
|
3422
|
+
*/
|
|
3423
|
+
nextToken?: string | undefined;
|
|
3424
|
+
/**
|
|
3425
|
+
* <p>The unique identifier of the agent space to list code reviews for.</p>
|
|
3426
|
+
* @public
|
|
3427
|
+
*/
|
|
3428
|
+
agentSpaceId: string | undefined;
|
|
3429
|
+
}
|
|
3430
|
+
/**
|
|
3431
|
+
* <p>Output for the ListCodeReviews operation.</p>
|
|
3432
|
+
* @public
|
|
3433
|
+
*/
|
|
3434
|
+
export interface ListCodeReviewsOutput {
|
|
3435
|
+
/**
|
|
3436
|
+
* <p>The list of code review summaries.</p>
|
|
3437
|
+
* @public
|
|
3438
|
+
*/
|
|
3439
|
+
codeReviewSummaries?: CodeReviewSummary[] | undefined;
|
|
3440
|
+
/**
|
|
3441
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
3442
|
+
* @public
|
|
3443
|
+
*/
|
|
3444
|
+
nextToken?: string | undefined;
|
|
3445
|
+
}
|
|
2712
3446
|
/**
|
|
2713
3447
|
* <p>Input for ListDiscoveredEndpoints operation.</p>
|
|
2714
3448
|
* @public
|
|
@@ -2770,7 +3504,12 @@ export interface ListFindingsInput {
|
|
|
2770
3504
|
* <p>The unique identifier of the pentest job to list findings for.</p>
|
|
2771
3505
|
* @public
|
|
2772
3506
|
*/
|
|
2773
|
-
pentestJobId
|
|
3507
|
+
pentestJobId?: string | undefined;
|
|
3508
|
+
/**
|
|
3509
|
+
* <p>The unique identifier of the code review job to list findings for. Mutually exclusive with pentestJobId.</p>
|
|
3510
|
+
* @public
|
|
3511
|
+
*/
|
|
3512
|
+
codeReviewJobId?: string | undefined;
|
|
2774
3513
|
/**
|
|
2775
3514
|
* <p>The unique identifier of the agent space.</p>
|
|
2776
3515
|
* @public
|
|
@@ -3355,10 +4094,15 @@ export interface StartCodeRemediationInput {
|
|
|
3355
4094
|
*/
|
|
3356
4095
|
agentSpaceId: string | undefined;
|
|
3357
4096
|
/**
|
|
3358
|
-
* <p>The unique identifier of the pentest job that produced the findings
|
|
4097
|
+
* <p>The unique identifier of the pentest job that produced the findings. Mutually exclusive with <code>codeReviewJobId</code>.</p>
|
|
3359
4098
|
* @public
|
|
3360
4099
|
*/
|
|
3361
|
-
pentestJobId
|
|
4100
|
+
pentestJobId?: string | undefined;
|
|
4101
|
+
/**
|
|
4102
|
+
* <p>The unique identifier of the code review job that produced the findings. Mutually exclusive with <code>pentestJobId</code>.</p>
|
|
4103
|
+
* @public
|
|
4104
|
+
*/
|
|
4105
|
+
codeReviewJobId?: string | undefined;
|
|
3362
4106
|
/**
|
|
3363
4107
|
* <p>The list of finding identifiers to initiate code remediation for.</p>
|
|
3364
4108
|
* @public
|
|
@@ -3371,6 +4115,63 @@ export interface StartCodeRemediationInput {
|
|
|
3371
4115
|
*/
|
|
3372
4116
|
export interface StartCodeRemediationOutput {
|
|
3373
4117
|
}
|
|
4118
|
+
/**
|
|
4119
|
+
* <p>Input for starting the execution of a code review.</p>
|
|
4120
|
+
* @public
|
|
4121
|
+
*/
|
|
4122
|
+
export interface StartCodeReviewJobInput {
|
|
4123
|
+
/**
|
|
4124
|
+
* <p>The unique identifier of the agent space.</p>
|
|
4125
|
+
* @public
|
|
4126
|
+
*/
|
|
4127
|
+
agentSpaceId: string | undefined;
|
|
4128
|
+
/**
|
|
4129
|
+
* <p>The unique identifier of the code review to start a job for.</p>
|
|
4130
|
+
* @public
|
|
4131
|
+
*/
|
|
4132
|
+
codeReviewId: string | undefined;
|
|
4133
|
+
}
|
|
4134
|
+
/**
|
|
4135
|
+
* <p>Output for the StartCodeReviewJob operation.</p>
|
|
4136
|
+
* @public
|
|
4137
|
+
*/
|
|
4138
|
+
export interface StartCodeReviewJobOutput {
|
|
4139
|
+
/**
|
|
4140
|
+
* <p>The title of the code review job.</p>
|
|
4141
|
+
* @public
|
|
4142
|
+
*/
|
|
4143
|
+
title?: string | undefined;
|
|
4144
|
+
/**
|
|
4145
|
+
* <p>The current status of the code review job.</p>
|
|
4146
|
+
* @public
|
|
4147
|
+
*/
|
|
4148
|
+
status?: JobStatus | undefined;
|
|
4149
|
+
/**
|
|
4150
|
+
* <p>The date and time the code review job was created, in UTC format.</p>
|
|
4151
|
+
* @public
|
|
4152
|
+
*/
|
|
4153
|
+
createdAt?: Date | undefined;
|
|
4154
|
+
/**
|
|
4155
|
+
* <p>The date and time the code review job was last updated, in UTC format.</p>
|
|
4156
|
+
* @public
|
|
4157
|
+
*/
|
|
4158
|
+
updatedAt?: Date | undefined;
|
|
4159
|
+
/**
|
|
4160
|
+
* <p>The unique identifier of the code review.</p>
|
|
4161
|
+
* @public
|
|
4162
|
+
*/
|
|
4163
|
+
codeReviewId: string | undefined;
|
|
4164
|
+
/**
|
|
4165
|
+
* <p>The unique identifier of the started code review job.</p>
|
|
4166
|
+
* @public
|
|
4167
|
+
*/
|
|
4168
|
+
codeReviewJobId: string | undefined;
|
|
4169
|
+
/**
|
|
4170
|
+
* <p>The unique identifier of the agent space.</p>
|
|
4171
|
+
* @public
|
|
4172
|
+
*/
|
|
4173
|
+
agentSpaceId?: string | undefined;
|
|
4174
|
+
}
|
|
3374
4175
|
/**
|
|
3375
4176
|
* <p>Input for starting the execution of a pentest.</p>
|
|
3376
4177
|
* @public
|
|
@@ -3428,6 +4229,28 @@ export interface StartPentestJobOutput {
|
|
|
3428
4229
|
*/
|
|
3429
4230
|
agentSpaceId?: string | undefined;
|
|
3430
4231
|
}
|
|
4232
|
+
/**
|
|
4233
|
+
* <p>Input for stopping the execution of a code review job.</p>
|
|
4234
|
+
* @public
|
|
4235
|
+
*/
|
|
4236
|
+
export interface StopCodeReviewJobInput {
|
|
4237
|
+
/**
|
|
4238
|
+
* <p>The unique identifier of the agent space.</p>
|
|
4239
|
+
* @public
|
|
4240
|
+
*/
|
|
4241
|
+
agentSpaceId: string | undefined;
|
|
4242
|
+
/**
|
|
4243
|
+
* <p>The unique identifier of the code review job to stop.</p>
|
|
4244
|
+
* @public
|
|
4245
|
+
*/
|
|
4246
|
+
codeReviewJobId: string | undefined;
|
|
4247
|
+
}
|
|
4248
|
+
/**
|
|
4249
|
+
* <p>Output for the StopCodeReviewJob operation.</p>
|
|
4250
|
+
* @public
|
|
4251
|
+
*/
|
|
4252
|
+
export interface StopCodeReviewJobOutput {
|
|
4253
|
+
}
|
|
3431
4254
|
/**
|
|
3432
4255
|
* <p>Input for stopping the execution of a pentest.</p>
|
|
3433
4256
|
* @public
|
|
@@ -3551,6 +4374,98 @@ export interface UntagResourceInput {
|
|
|
3551
4374
|
*/
|
|
3552
4375
|
export interface UntagResourceOutput {
|
|
3553
4376
|
}
|
|
4377
|
+
/**
|
|
4378
|
+
* <p>Input for updating an existing code review.</p>
|
|
4379
|
+
* @public
|
|
4380
|
+
*/
|
|
4381
|
+
export interface UpdateCodeReviewInput {
|
|
4382
|
+
/**
|
|
4383
|
+
* <p>The unique identifier of the code review to update.</p>
|
|
4384
|
+
* @public
|
|
4385
|
+
*/
|
|
4386
|
+
codeReviewId: string | undefined;
|
|
4387
|
+
/**
|
|
4388
|
+
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
4389
|
+
* @public
|
|
4390
|
+
*/
|
|
4391
|
+
agentSpaceId: string | undefined;
|
|
4392
|
+
/**
|
|
4393
|
+
* <p>The updated title of the code review.</p>
|
|
4394
|
+
* @public
|
|
4395
|
+
*/
|
|
4396
|
+
title?: string | undefined;
|
|
4397
|
+
/**
|
|
4398
|
+
* <p>The updated assets for the code review.</p>
|
|
4399
|
+
* @public
|
|
4400
|
+
*/
|
|
4401
|
+
assets?: Assets | undefined;
|
|
4402
|
+
/**
|
|
4403
|
+
* <p>The updated IAM service role for the code review.</p>
|
|
4404
|
+
* @public
|
|
4405
|
+
*/
|
|
4406
|
+
serviceRole?: string | undefined;
|
|
4407
|
+
/**
|
|
4408
|
+
* <p>The updated CloudWatch Logs configuration for the code review.</p>
|
|
4409
|
+
* @public
|
|
4410
|
+
*/
|
|
4411
|
+
logConfig?: CloudWatchLog | undefined;
|
|
4412
|
+
/**
|
|
4413
|
+
* <p>The updated code remediation strategy for the code review.</p>
|
|
4414
|
+
* @public
|
|
4415
|
+
*/
|
|
4416
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
4417
|
+
}
|
|
4418
|
+
/**
|
|
4419
|
+
* <p>Output for the UpdateCodeReview operation.</p>
|
|
4420
|
+
* @public
|
|
4421
|
+
*/
|
|
4422
|
+
export interface UpdateCodeReviewOutput {
|
|
4423
|
+
/**
|
|
4424
|
+
* <p>The unique identifier of the code review.</p>
|
|
4425
|
+
* @public
|
|
4426
|
+
*/
|
|
4427
|
+
codeReviewId: string | undefined;
|
|
4428
|
+
/**
|
|
4429
|
+
* <p>The title of the code review.</p>
|
|
4430
|
+
* @public
|
|
4431
|
+
*/
|
|
4432
|
+
title?: string | undefined;
|
|
4433
|
+
/**
|
|
4434
|
+
* <p>The date and time the code review was created, in UTC format.</p>
|
|
4435
|
+
* @public
|
|
4436
|
+
*/
|
|
4437
|
+
createdAt?: Date | undefined;
|
|
4438
|
+
/**
|
|
4439
|
+
* <p>The date and time the code review was last updated, in UTC format.</p>
|
|
4440
|
+
* @public
|
|
4441
|
+
*/
|
|
4442
|
+
updatedAt?: Date | undefined;
|
|
4443
|
+
/**
|
|
4444
|
+
* <p>The assets included in the code review.</p>
|
|
4445
|
+
* @public
|
|
4446
|
+
*/
|
|
4447
|
+
assets?: Assets | undefined;
|
|
4448
|
+
/**
|
|
4449
|
+
* <p>The IAM service role used for the code review.</p>
|
|
4450
|
+
* @public
|
|
4451
|
+
*/
|
|
4452
|
+
serviceRole?: string | undefined;
|
|
4453
|
+
/**
|
|
4454
|
+
* <p>The CloudWatch Logs configuration for the code review.</p>
|
|
4455
|
+
* @public
|
|
4456
|
+
*/
|
|
4457
|
+
logConfig?: CloudWatchLog | undefined;
|
|
4458
|
+
/**
|
|
4459
|
+
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
4460
|
+
* @public
|
|
4461
|
+
*/
|
|
4462
|
+
agentSpaceId?: string | undefined;
|
|
4463
|
+
/**
|
|
4464
|
+
* <p>The code remediation strategy for the code review.</p>
|
|
4465
|
+
* @public
|
|
4466
|
+
*/
|
|
4467
|
+
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
4468
|
+
}
|
|
3554
4469
|
/**
|
|
3555
4470
|
* <p>Input for updating an existing security finding.</p>
|
|
3556
4471
|
* @public
|