Skip to content

AzureDevOpsResourceCapabilities

Source code in docs_src/capo_securityagent/types/azure_dev_ops_resource_capabilities.py
class AzureDevOpsResourceCapabilities(TypedDict, closed=True):
    trigger_filter_groups: NotRequired[
        "capo_securityagent.types.trigger_filter_groups.TriggerFilterGroups"
    ]
    """<p>The filter groups that control which pull request events start an automatic code review when <code>leaveComments</code> is enabled. A review starts when any group matches. If you omit this, a review starts on <code>PULL_REQUEST_READY_FOR_REVIEW</code> events.</p>"""
    leave_comments: NotRequired["bool"]
    """<p>Whether to post code review comments on pull requests.</p>"""
    remediate_code: NotRequired["bool"]
    """<p>Whether to create pull requests with automated fixes.</p>"""

leave_comments instance-attribute

leave_comments: NotRequired[bool]

Whether to post code review comments on pull requests.

remediate_code instance-attribute

remediate_code: NotRequired[bool]

Whether to create pull requests with automated fixes.

trigger_filter_groups instance-attribute

trigger_filter_groups: NotRequired[TriggerFilterGroups]

The filter groups that control which pull request events start an automatic code review when leaveComments is enabled. A review starts when any group matches. If you omit this, a review starts on PULL_REQUEST_READY_FOR_REVIEW events.