Skip to content

CodeReview

Source code in docs_src/capo_securityagent/types/code_review.py
class CodeReview(TypedDict, closed=True):
    code_review_id: "str"
    """<p>The unique identifier of the code review.</p>"""
    agent_space_id: "str"
    """<p>The unique identifier of the agent space that contains the code review.</p>"""
    title: "str"
    """<p>The title of the code review.</p>"""
    assets: "capo_securityagent.types.assets.Assets"
    """<p>The assets included in the code review.</p>"""
    service_role: NotRequired["capo_securityagent.types.service_role.ServiceRole"]
    """<p>The IAM service role used for the code review.</p>"""
    log_config: NotRequired["capo_securityagent.types.cloud_watch_log.CloudWatchLog"]
    """<p>The CloudWatch Logs configuration for the code review.</p>"""
    code_remediation_strategy: NotRequired[
        "capo_securityagent.types.code_remediation_strategy.CodeRemediationStrategy"
    ]
    """<p>The code remediation strategy for the code review.</p>"""
    validation_mode: NotRequired[
        "capo_securityagent.types.validation_mode.ValidationMode"
    ]
    """<p>The validation mode for the code review. Valid values are SIMULATED and DISABLED.</p>"""
    max_task_hours: NotRequired["float"]
    """<p>The maximum number of billable task hours allowed for jobs started from this code review. If a job reaches the configured limit, it is gracefully stopped. If not set, jobs run to completion with no budget cap.</p>"""
    report_destination: NotRequired[
        "capo_securityagent.types.report_destination.ReportDestination"
    ]
    """<p>The destination for publishing scan reports to an integrated document provider.</p>"""
    report_filters: NotRequired["capo_securityagent.types.report_filters.ReportFilters"]
    """<p>The report-generation filters applied when the report is exported.</p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The date and time the code review was created, in UTC format.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>The date and time the code review was last updated, in UTC format.</p>"""

agent_space_id instance-attribute

agent_space_id: str

The unique identifier of the agent space that contains the code review.

assets instance-attribute

assets: Assets

The assets included in the code review.

code_remediation_strategy instance-attribute

code_remediation_strategy: NotRequired[CodeRemediationStrategy]

The code remediation strategy for the code review.

code_review_id instance-attribute

code_review_id: str

The unique identifier of the code review.

created_at instance-attribute

created_at: NotRequired[datetime]

The date and time the code review was created, in UTC format.

log_config instance-attribute

log_config: NotRequired[CloudWatchLog]

The CloudWatch Logs configuration for the code review.

max_task_hours instance-attribute

max_task_hours: NotRequired[float]

The maximum number of billable task hours allowed for jobs started from this code review. If a job reaches the configured limit, it is gracefully stopped. If not set, jobs run to completion with no budget cap.

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 code review.

title instance-attribute

title: str

The title of the code review.

updated_at instance-attribute

updated_at: NotRequired[datetime]

The date and time the code review was last updated, in UTC format.

validation_mode instance-attribute

validation_mode: NotRequired[ValidationMode]

The validation mode for the code review. Valid values are SIMULATED and DISABLED.