gitlab_applicationgitlab_branchgitlab_commitgitlab_epicgitlab_groupgitlab_group_access_requestgitlab_group_hookgitlab_group_iterationgitlab_group_membergitlab_group_projectgitlab_group_push_rulegitlab_group_subgroupgitlab_group_variablegitlab_hookgitlab_instance_variablegitlab_issuegitlab_merge_requestgitlab_merge_request_changegitlab_my_eventgitlab_my_issuegitlab_my_projectgitlab_projectgitlab_project_access_requestgitlab_project_container_registrygitlab_project_deploymentgitlab_project_iterationgitlab_project_jobgitlab_project_membergitlab_project_pages_domaingitlab_project_pipelinegitlab_project_pipeline_detailgitlab_project_protected_branchgitlab_project_repositorygitlab_project_repository_filegitlab_project_variablegitlab_settinggitlab_snippetgitlab_usergitlab_user_eventgitlab_version
Table: gitlab_user
Obtaining information about Users on the GitLab instance.
Note: When used with the Public GitLab you must specify an
=
qualifier for at least one of the following fields.
id
username
This is to prevent attempting to return ALL users which would result in an error.
Examples
List all users
select *from gitlab_user;
Obtain a list of usernames that are currently blocked
select username, statefrom gitlab_userwhere state = 'blocked';
Obtain a list of GitLab admins
select username, name, state, emailfrom gitlab_userwhere is_admin = true;
Schema for gitlab_user
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
avatar_url | text | The url of the users avatar. | |
bio | text | The biography of the user. | |
bot | boolean | Indicates if user account is a bot. | |
can_create_group | boolean | The user has permissions to create groups. | |
can_create_project | boolean | The user has permissions to create projects | |
color_scheme_id | bigint | The ID of the users chosen color scheme. | |
confirmed_at | timestamp with time zone | The timestamp of user confirmation. | |
created_at | timestamp with time zone | The timestamp when the user was created. | |
current_sign_in_at | timestamp with time zone | The timestamp of users current signed in session. | |
custom_attributes | jsonb | JSON Array of custom attributes held against the user. | |
text | The primary email address of the user. | ||
ext_id | text | The external ID of the user. | |
external | boolean | Is the user an external entity | |
extra_shared_runners_minutes_limit | bigint | Limit in minutes of extra time the user can utilise shared runner resources. | |
id | bigint | = | The ID of the user. |
identities | jsonb | JSON Array of identity information for federated/IdP accounts | |
is_admin | boolean | Is the user an Administrator | |
job_title | text | The users job title. | |
last_activity_on | timestamp with time zone | The date user was last active. | |
last_sign_in_at | timestamp with time zone | The timestamp of users last sign in. | |
text | The LinkedIn account of the user. | ||
location | text | The geographic location of the user. | |
name | text | The name of the user. | |
note | text | The notes against the user. | |
organization | text | The organization of the user. | |
private_profile | boolean | Is the users profile set to private. | |
projects_limit | bigint | The limit of personal projects the user can create. | |
provider | text | The external provider of the user. | |
public_email | text | The public email address of the user. | |
shared_runners_minutes_limit | bigint | Limit in minutes of time the user can utilise shared runner resources. | |
skype | text | The Skype address of the user. | |
state | text | The state of the user active, blocked, etc | |
theme_id | bigint | The ID of the users chosen theme. | |
text | The Twitter handle of the user. | ||
two_factor_enabled | boolean | Has the user enabled 2FA/MFA | |
username | text | = | The login/username of the user. |
using_license_seat | boolean | Is the user utilising a seat/slot on the license. | |
web_url | text | The url for GitLab profile of user | |
website_url | text | The personal website of the user. |