Skip to content

CodeRepositoryMetadata

Source code in docs_src/capo_inspector2/types/code_repository_metadata.py
class CodeRepositoryMetadata(TypedDict, closed=True):
    project_name: "str"
    """<p>The name of the project in the code repository.</p>"""
    integration_arn: NotRequired[
        "capo_inspector2.types.code_repository_integration_arn.CodeRepositoryIntegrationArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the code security integration associated with the repository.</p>"""
    provider_type: "str"
    """<p>The type of repository provider (such as GitHub, GitLab, etc.).</p>"""
    provider_type_visibility: "str"
    """<p>The visibility setting of the repository (public or private).</p>"""
    last_scanned_commit_id: NotRequired["capo_inspector2.types.commit_id.CommitId"]
    """<p>The ID of the last commit that was scanned in the repository.</p>"""
    scan_configuration: NotRequired[
        "capo_inspector2.types.project_code_security_scan_configuration.ProjectCodeSecurityScanConfiguration"
    ]
    """<p>The scan configuration settings applied to the code repository.</p>"""
    on_demand_scan: NotRequired[
        "capo_inspector2.types.code_repository_on_demand_scan.CodeRepositoryOnDemandScan"
    ]
    """<p>Information about on-demand scans performed on the repository.</p>"""

integration_arn instance-attribute

integration_arn: NotRequired[CodeRepositoryIntegrationArn]

The Amazon Resource Name (ARN) of the code security integration associated with the repository.

last_scanned_commit_id instance-attribute

last_scanned_commit_id: NotRequired[CommitId]

The ID of the last commit that was scanned in the repository.

on_demand_scan instance-attribute

on_demand_scan: NotRequired[CodeRepositoryOnDemandScan]

Information about on-demand scans performed on the repository.

project_name instance-attribute

project_name: str

The name of the project in the code repository.

provider_type instance-attribute

provider_type: str

The type of repository provider (such as GitHub, GitLab, etc.).

provider_type_visibility instance-attribute

provider_type_visibility: str

The visibility setting of the repository (public or private).

scan_configuration instance-attribute

scan_configuration: NotRequired[ProjectCodeSecurityScanConfiguration]

The scan configuration settings applied to the code repository.