Skip to content

ScopeChange

Source code in docs_src/capo_securityagent/types/scope_change.py
class ScopeChange(TypedDict, closed=True):
    integration_id: "str"
    """<p>The identifier of the integration for the source-code provider that hosts the repository.</p>"""
    provider_resource_id: "str"
    """<p>The provider-specific identifier of the repository the change belongs to.</p>"""
    base_commit_sha: NotRequired["str"]
    """<p>The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.</p>"""
    head_commit_sha: "str"
    """<p>The commit SHA at the tip of the change to be tested.</p>"""
    trigger_run_id: NotRequired["str"]
    """<p>The identifier of the CI/CD pipeline run that triggered this pentest job.</p>"""

base_commit_sha instance-attribute

base_commit_sha: NotRequired[str]

The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.

head_commit_sha instance-attribute

head_commit_sha: str

The commit SHA at the tip of the change to be tested.

integration_id instance-attribute

integration_id: str

The identifier of the integration for the source-code provider that hosts the repository.

provider_resource_id instance-attribute

provider_resource_id: str

The provider-specific identifier of the repository the change belongs to.

trigger_run_id instance-attribute

trigger_run_id: NotRequired[str]

The identifier of the CI/CD pipeline run that triggered this pentest job.