CreatePentestInput
¶
Source code in docs_src/capo_securityagent/types/create_pentest_input.py
agent_space_id
instance-attribute
¶
agent_space_id: str
The unique identifier of the agent space to create the pentest in.
assets
instance-attribute
¶
assets: NotRequired[Assets]
The assets to include in the pentest, such as endpoints, actors, documents, and source code.
cicd_configuration
instance-attribute
¶
cicd_configuration: NotRequired[CiCdConfiguration]
The CI/CD pentesting configuration to apply to the pentest.
code_remediation_strategy
instance-attribute
¶
code_remediation_strategy: NotRequired[CodeRemediationStrategy]
The code remediation strategy for the pentest. Valid values are AUTOMATIC and DISABLED.
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 to exclude 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. Must be a positive number. 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, including custom headers and traffic rules.
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 to use for the pentest.