PentestJob
¶
Source code in docs_src/capo_securityagent/types/pentest_job.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | |
actors
instance-attribute
¶
actors: NotRequired[ActorList]
The list of actors used during the pentest job.
allowed_domains
instance-attribute
¶
allowed_domains: NotRequired[EndpointList]
The list of domains allowed during the pentest job.
clean_up_strategy
instance-attribute
¶
clean_up_strategy: NotRequired[CleanUpStrategy]
Strategy for cleaning up resources after pentest job completion.
code_remediation_strategy
instance-attribute
¶
code_remediation_strategy: NotRequired[CodeRemediationStrategy]
The code remediation strategy for the pentest job.
created_at
instance-attribute
¶
created_at: NotRequired[datetime]
The date and time the pentest job was created, in UTC format.
disable_managed_skills
instance-attribute
¶
disable_managed_skills: NotRequired[SkillTypeList]
A list of managed skills disabled for this pentest job. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
documents
instance-attribute
¶
documents: NotRequired[DocumentList]
The list of documents providing context for the pentest job.
endpoints
instance-attribute
¶
endpoints: NotRequired[EndpointList]
The list of endpoints being tested in the pentest job.
error_information
instance-attribute
¶
error_information: NotRequired[ErrorInformation]
Error information if the pentest job encountered an error.
exclude_paths
instance-attribute
¶
exclude_paths: NotRequired[EndpointList]
The list of paths excluded from the pentest job.
exclude_risk_types
instance-attribute
¶
exclude_risk_types: NotRequired[RiskTypeList]
The list of risk types excluded from the pentest job.
execution_context
instance-attribute
¶
execution_context: NotRequired[ExecutionContextList]
The execution context messages for the pentest job.
integrated_repositories
instance-attribute
¶
integrated_repositories: NotRequired[IntegratedRepositoryList]
The list of integrated repositories associated with the pentest job.
job_type
instance-attribute
¶
job_type: NotRequired[JobType]
The type of the pentest job. Valid values are FULL, REVALIDATION, and CICD.
log_config
instance-attribute
¶
log_config: NotRequired[CloudWatchLog]
The CloudWatch Logs configuration for the pentest job.
max_task_hours
instance-attribute
¶
max_task_hours: NotRequired[float]
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.
network_traffic_config
instance-attribute
¶
network_traffic_config: NotRequired[NetworkTrafficConfig]
The network traffic configuration for the pentest job.
pentest_id
instance-attribute
¶
pentest_id: NotRequired[str]
The unique identifier of the pentest associated with the job.
pentest_job_id
instance-attribute
¶
pentest_job_id: NotRequired[str]
The unique identifier of the pentest job.
report_destination
instance-attribute
¶
report_destination: NotRequired[ReportDestination]
The destination for publishing scan reports to an integrated document provider.
report_url
instance-attribute
¶
report_url: NotRequired[str]
The URL to view this pentest job's findings report in the console.
scope_changes
instance-attribute
¶
scope_changes: NotRequired[ScopeChangeList]
The code changes that defined the scope of this CI/CD pentest job. Present only for jobs of type CICD.
scope_result
instance-attribute
¶
scope_result: NotRequired[ScopeResult]
The scoping outcome for this CI/CD pentest job. Present only for jobs of type CICD.
selected_finding_ids
instance-attribute
¶
selected_finding_ids: NotRequired[StringList]
The list of finding identifiers selected for revalidation. Present only when jobType is REVALIDATION.
service_role
instance-attribute
¶
service_role: NotRequired[ServiceRole]
The IAM service role used for the pentest job.
source_code
instance-attribute
¶
source_code: NotRequired[SourceCodeRepositoryList]
The list of source code repositories analyzed during the pentest job.
steps
instance-attribute
¶
steps: NotRequired[StepList]
The list of steps in the pentest job execution.
trusted_ca_certificates
instance-attribute
¶
trusted_ca_certificates: NotRequired[TrustedCaCertificateList]
The trust anchors used to validate target endpoint TLS certificates during the pentest job.