Skip to content

Create list of gitlab users that have access to projects and subgroups under a top level group

Notifications You must be signed in to change notification settings

tsaxon13/GitlabUserAudit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab User Audit

This script will print out a list of users that have access to a Projects under a top level group.

Requirements:

  • Gitlab API Key/Personal Access Token. This can be set via GITLAB_API_KEY environment variable or you will be prompted for it.
  • top level group ID. This can be set via GITLAB_GROUP_ID environment variable or you will be prompted for it.

Usage:

    $ python3 -m venv .venv
    $ source .venv/bin/activate
    $ pip install -r requirements.txt
    $ GITLAB_API_KEY=<your_api_key> GITLAB_GROUP_ID=<your_group_id> python3 audit.py

This will create or overwrite a file called "audit.xlsx" in the current directory with a list of users, what projects and groups they are assigned to.

About

Create list of gitlab users that have access to projects and subgroups under a top level group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages