Skip to content

GitLab

GitLab connector using python-gitlab.

Property Value
Key gitlab
Source type saas
Status native
Active by default no
Default cache strategy semantic_first
Capabilities supports_discovery, supports_field_permissions, supports_ingestion

Secret fields should be given as a reference, <field>_ref, such as env://NAME, rather than a literal.

Key Secret
base_url no
group no
project no
token no
token_ref no
ref no
include_code_paths no
max_projects no
max_issues_per_project no
max_mrs_per_project no
max_pipelines_per_project no
token yes; prefer token_ref

Offered when a source is created with default roles. Edit them to fit.

Effect Action Resource type Pattern
deny * * *
Effect Action Resource type Pattern
allow repo.read repo.repository *
allow repo.issue.read repo.issue *
allow repo.pr.read repo.pull_request *
allow repo.code.read repo.path *
allow discovery.search discovery.asset *
allow discovery.asset.read discovery.asset *
Effect Action Resource type Pattern
allow repo.read repo.repository *
allow repo.issue.read repo.issue *
allow repo.pr.read repo.pull_request *
allow discovery.search discovery.asset *
allow discovery.asset.read discovery.asset *