

# PentestJob

Represents a pentest job, which is an execution instance of a pentest. A pentest job progresses through preflight, static analysis, pentest, and finalizing steps.

## Contents
<a name="API_PentestJob_Contents"></a>

 ** actors **   <a name="securityagent-Type-PentestJob-actors"></a>
The list of actors used during the pentest job.  
Type: Array of [Actor](API_Actor.md) objects  
Required: No

 ** allowedDomains **   <a name="securityagent-Type-PentestJob-allowedDomains"></a>
The list of domains allowed during the pentest job.  
Type: Array of [Endpoint](API_Endpoint.md) objects  
Required: No

 ** cicdConfiguration **   <a name="securityagent-Type-PentestJob-cicdConfiguration"></a>
The configuration that enables a pentest to run as part of a CI/CD pipeline, scoped to the code changes in each pipeline run.  
Type: [CiCdConfiguration](API_CiCdConfiguration.md) object  
Required: No

 ** cleanUpStrategy **   <a name="securityagent-Type-PentestJob-cleanUpStrategy"></a>
Strategy for cleaning up resources after pentest job completion.  
Type: String  
Valid Values: `BEST_EFFORT_DELETE | RETAIN_ALL`   
Required: No

 ** clientCertificates **   <a name="securityagent-Type-PentestJob-clientCertificates"></a>
The client certificates for mutual TLS (mTLS) authentication to target hosts during the pentest job.  
Type: Array of [ClientCertificate](API_ClientCertificate.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 10 items.  
Required: No

 ** codeRemediationStrategy **   <a name="securityagent-Type-PentestJob-codeRemediationStrategy"></a>
The code remediation strategy for the pentest job.  
Type: String  
Valid Values: `AUTOMATIC | DISABLED`   
Required: No

 ** createdAt **   <a name="securityagent-Type-PentestJob-createdAt"></a>
The date and time the pentest job was created, in UTC format.  
Type: Timestamp  
Required: No

 ** disableManagedSkills **   <a name="securityagent-Type-PentestJob-disableManagedSkills"></a>
A list of managed skills disabled for this pentest job. Valid values include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.  
Type: Array of strings  
Valid Values: `FINDING_PERSONALIZATION | LOGIN_OPTIMIZATION`   
Required: No

 ** documents **   <a name="securityagent-Type-PentestJob-documents"></a>
The list of documents providing context for the pentest job.  
Type: Array of [DocumentInfo](API_DocumentInfo.md) objects  
Required: No

 ** endpoints **   <a name="securityagent-Type-PentestJob-endpoints"></a>
The list of endpoints being tested in the pentest job.  
Type: Array of [Endpoint](API_Endpoint.md) objects  
Required: No

 ** errorInformation **   <a name="securityagent-Type-PentestJob-errorInformation"></a>
Error information if the pentest job encountered an error.  
Type: [ErrorInformation](API_ErrorInformation.md) object  
Required: No

 ** excludePaths **   <a name="securityagent-Type-PentestJob-excludePaths"></a>
The list of paths excluded from the pentest job.  
Type: Array of [Endpoint](API_Endpoint.md) objects  
Required: No

 ** excludeRiskTypes **   <a name="securityagent-Type-PentestJob-excludeRiskTypes"></a>
The list of risk types excluded from the pentest job.  
Type: Array of strings  
Valid Values: `CROSS_SITE_SCRIPTING | DEFAULT_CREDENTIALS | INSECURE_DIRECT_OBJECT_REFERENCE | PRIVILEGE_ESCALATION | SERVER_SIDE_TEMPLATE_INJECTION | COMMAND_INJECTION | CODE_INJECTION | SQL_INJECTION | ARBITRARY_FILE_UPLOAD | INSECURE_DESERIALIZATION | LOCAL_FILE_INCLUSION | INFORMATION_DISCLOSURE | PATH_TRAVERSAL | SERVER_SIDE_REQUEST_FORGERY | JSON_WEB_TOKEN_VULNERABILITIES | XML_EXTERNAL_ENTITY | FILE_DELETION | OTHER | GRAPHQL_VULNERABILITIES | BUSINESS_LOGIC_VULNERABILITIES | CRYPTOGRAPHIC_VULNERABILITIES | DENIAL_OF_SERVICE | FILE_ACCESS | FILE_CREATION | DATABASE_MODIFICATION | DATABASE_ACCESS | OUTBOUND_SERVICE_REQUEST | UNKNOWN`   
Required: No

 ** executionContext **   <a name="securityagent-Type-PentestJob-executionContext"></a>
The execution context messages for the pentest job.  
Type: Array of [ExecutionContext](API_ExecutionContext.md) objects  
Required: No

 ** integratedRepositories **   <a name="securityagent-Type-PentestJob-integratedRepositories"></a>
The list of integrated repositories associated with the pentest job.  
Type: Array of [IntegratedRepository](API_IntegratedRepository.md) objects  
Required: No

 ** jobType **   <a name="securityagent-Type-PentestJob-jobType"></a>
The type of the pentest job. Valid values are FULL, REVALIDATION, and CICD.  
Type: String  
Valid Values: `FULL | REVALIDATION | CICD`   
Required: No

 ** logConfig **   <a name="securityagent-Type-PentestJob-logConfig"></a>
The CloudWatch Logs configuration for the pentest job.  
Type: [CloudWatchLog](API_CloudWatchLog.md) object  
Required: No

 ** maxTaskHours **   <a name="securityagent-Type-PentestJob-maxTaskHours"></a>
The maximum number of billable task hours allowed for this pentest job. If the cumulative task hours reach this limit, the job is gracefully stopped.  
Type: Double  
Required: No

 ** networkTrafficConfig **   <a name="securityagent-Type-PentestJob-networkTrafficConfig"></a>
The network traffic configuration for the pentest job.  
Type: [NetworkTrafficConfig](API_NetworkTrafficConfig.md) object  
Required: No

 ** overview **   <a name="securityagent-Type-PentestJob-overview"></a>
An overview of the pentest job results.  
Type: String  
Required: No

 ** pentestId **   <a name="securityagent-Type-PentestJob-pentestId"></a>
The unique identifier of the pentest associated with the job.  
Type: String  
Required: No

 ** pentestJobId **   <a name="securityagent-Type-PentestJob-pentestJobId"></a>
The unique identifier of the pentest job.  
Type: String  
Required: No

 ** reportDestination **   <a name="securityagent-Type-PentestJob-reportDestination"></a>
The destination for publishing scan reports to an integrated document provider.  
Type: [ReportDestination](API_ReportDestination.md) object  
Required: No

 ** reportUrl **   <a name="securityagent-Type-PentestJob-reportUrl"></a>
The URL to view this pentest job's findings report in the console.  
Type: String  
Required: No

 ** scopeChanges **   <a name="securityagent-Type-PentestJob-scopeChanges"></a>
The code changes that defined the scope of this CI/CD pentest job. Present only for jobs of type CICD.  
Type: Array of [ScopeChange](API_ScopeChange.md) objects  
Required: No

 ** scopeResult **   <a name="securityagent-Type-PentestJob-scopeResult"></a>
The scoping outcome for this CI/CD pentest job. Present only for jobs of type CICD.  
Type: [ScopeResult](API_ScopeResult.md) object  
Required: No

 ** selectedFindingIds **   <a name="securityagent-Type-PentestJob-selectedFindingIds"></a>
The list of finding identifiers selected for revalidation. Present only when jobType is REVALIDATION.  
Type: Array of strings  
Required: No

 ** serviceRole **   <a name="securityagent-Type-PentestJob-serviceRole"></a>
The IAM service role used for the pentest job.  
Type: String  
Required: No

 ** sourceCode **   <a name="securityagent-Type-PentestJob-sourceCode"></a>
The list of source code repositories analyzed during the pentest job.  
Type: Array of [SourceCodeRepository](API_SourceCodeRepository.md) objects  
Required: No

 ** status **   <a name="securityagent-Type-PentestJob-status"></a>
The current status of the pentest job.  
Type: String  
Valid Values: `IN_PROGRESS | STOPPING | STOPPED | PAUSING | PAUSED | FAILED | COMPLETED`   
Required: No

 ** steps **   <a name="securityagent-Type-PentestJob-steps"></a>
The list of steps in the pentest job execution.  
Type: Array of [Step](API_Step.md) objects  
Required: No

 ** testScope **   <a name="securityagent-Type-PentestJob-testScope"></a>
The category of application a pentest targets.  
Type: [TestScope](API_TestScope.md) object  
Required: No

 ** title **   <a name="securityagent-Type-PentestJob-title"></a>
The title of the pentest job.  
Type: String  
Required: No

 ** trustedCaCertificates **   <a name="securityagent-Type-PentestJob-trustedCaCertificates"></a>
The trust anchors used to validate target endpoint TLS certificates during the pentest job.  
Type: Array of [TrustedCaCertificate](API_TrustedCaCertificate.md) objects  
Required: No

 ** updatedAt **   <a name="securityagent-Type-PentestJob-updatedAt"></a>
The date and time the pentest job was last updated, in UTC format.  
Type: Timestamp  
Required: No

 ** version **   <a name="securityagent-Type-PentestJob-version"></a>
The version of the pentest job. The version increases each time the job is resumed. This value is absent for jobs created before versions were recorded.  
Type: String  
Required: No

 ** vpcConfig **   <a name="securityagent-Type-PentestJob-vpcConfig"></a>
The VPC configuration for the pentest job.  
Type: [VpcConfig](API_VpcConfig.md) object  
Required: No

## See Also
<a name="API_PentestJob_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/securityagent-2025-09-06/PentestJob) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityagent-2025-09-06/PentestJob) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityagent-2025-09-06/PentestJob) 