Skip to content

GitLabIntegrationInput

Source code in docs_src/capo_securityagent/types/git_lab_integration_input.py
class GitLabIntegrationInput(TypedDict, closed=True):
    access_token: "capo_securityagent.types.access_token.AccessToken"
    """<p>The GitLab access token used to authenticate. This can be a personal access token or a group access token.</p>"""
    target_url: NotRequired["capo_securityagent.types.target_url.TargetUrl"]
    """<p>The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).</p>"""
    token_type: "capo_securityagent.types.git_lab_token_type.GitLabTokenType"
    """<p>The type of GitLab access token provided in accessToken.</p>"""
    group_id: NotRequired["str"]
    """<p>The identifier of the GitLab group. Required when tokenType is group and ignored for personal tokens.</p>"""

access_token instance-attribute

access_token: AccessToken

The GitLab access token used to authenticate. This can be a personal access token or a group access token.

group_id instance-attribute

group_id: NotRequired[str]

The identifier of the GitLab group. Required when tokenType is group and ignored for personal tokens.

target_url instance-attribute

target_url: NotRequired[TargetUrl]

The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).

token_type instance-attribute

token_type: GitLabTokenType

The type of GitLab access token provided in accessToken.