Pentest
¶
Source code in docs_src/capo_securityagent/types/pentest.py
agent_space_id
instance-attribute
¶
agent_space_id: str
The unique identifier of the agent space that contains the pentest.
cicd_configuration
instance-attribute
¶
cicd_configuration: NotRequired[CiCdConfiguration]
The CI/CD pentesting configuration for this pentest. Present when the pentest is set up to run from a CI/CD pipeline.
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.
created_at
instance-attribute
¶
created_at: NotRequired[datetime]
The date and time the pentest was created, in UTC format.
disable_managed_skills
instance-attribute
¶
disable_managed_skills: NotRequired[SkillTypeList]
A list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
exclude_risk_types
instance-attribute
¶
exclude_risk_types: NotRequired[RiskTypeList]
The list of risk types excluded from the pentest.
log_config
instance-attribute
¶
log_config: NotRequired[CloudWatchLog]
The CloudWatch Logs configuration for the pentest.
max_task_hours
instance-attribute
¶
max_task_hours: NotRequired[float]
The maximum number of billable task hours allowed for jobs started from this pentest. If a job reaches the configured limit, it is gracefully stopped. If not set, jobs run to completion with no budget cap.
network_traffic_config
instance-attribute
¶
network_traffic_config: NotRequired[NetworkTrafficConfig]
The network traffic configuration for the pentest.
report_destination
instance-attribute
¶
report_destination: NotRequired[ReportDestination]
The destination for publishing scan reports to an integrated document provider.
report_filters
instance-attribute
¶
report_filters: NotRequired[ReportFilters]
The report-generation filters applied when the report is exported.
service_role
instance-attribute
¶
service_role: NotRequired[ServiceRole]
The IAM service role used for the pentest.