Support GitLab fine-grained access token scopes instead of requiring full api
#43874
yasp-pland
started this conversation in
Suggest an Idea
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The GitLab platform module currently requires a token with the
apiscope:apiis GitLab's most permissive scope — it grants full read/write access to every API endpoint the user can reach (admin endpoints, group settings, package registry pushes, runner registration, etc.). For organizations with security policies that mandate least-privilege tokens, this is a non-starter, and forces teams to either:Since last year, GitLab will now switch to fine-grained Personal/Project Access Token permissions (https://about.gitlab.com/blog/fine-grained-job-tokens-ga/) covering individual resources.
Proposed change
CI_JOB_TOKEN(update gitlab-bot-security documentation with focus on gitlab's ci_job_token's new abilities #34320)References
Beta Was this translation helpful? Give feedback.
All reactions