Skip to content

GitHubResourceCapabilities

Source code in docs_src/capo_securityagent/types/git_hub_resource_capabilities.py
class GitHubResourceCapabilities(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>Indicates whether the integration can leave comments on pull requests.</p>"""
    remediate_code: NotRequired["bool"]
    """<p>Indicates whether the integration can create code remediation pull requests.</p>"""

leave_comments instance-attribute

leave_comments: NotRequired[bool]

Indicates whether the integration can leave comments on pull requests.

remediate_code instance-attribute

remediate_code: NotRequired[bool]

Indicates whether the integration can create code remediation pull requests.

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.