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_group_push_rule
The gitlab_group_push_rule
table can be used to query information about the rules associated with pushing to projects/repos in a specific group.
However, you must specify a group_id
in the where or join clause.
Examples
Obtain the push rules for a specific group
select id, created_at, commit_message_regex, commit_message_negative_regex, branch_name_regex, deny_delete_tag, member_check, prevent_secrets, author_email_regex, file_name_regex, max_file_size, commit_committer_check, reject_unsigned_commitsfrom gitlab_group_push_rulewhere group_id = 14597683;
Schema for gitlab_group_push_rule
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
author_email_regex | text | The regex that commit authors email address must adhere to. | |
branch_name_regex | text | The regex that a branch name must adhere to. | |
commit_committer_check | boolean | Indicates if committer must have a verified email address. | |
commit_message_negative_regex | text | The regex that a commit message can not adhere to. | |
commit_message_regex | text | The regex that a commit message must adhere to. | |
created_at | timestamp with time zone | Timestamp of when the group push rule was created. | |
deny_delete_tag | boolean | Indicates if tag deletion will be denied. | |
file_name_regex | text | The regex that file names must not adhere to. | |
group_id | bigint | = | The group id - link to gitlab_group.id`. |
id | bigint | The ID of the push rule. | |
max_file_size | bigint | Length of maximum file size (MB). | |
member_check | boolean | Indicates if member checks are performed. | |
prevent_secrets | boolean | Indicates if push should be denied if contains secrets. | |
reject_unsigned_commits | boolean | Indicates if commits not signed by GPG will be rejected. |