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_merge_request_change
The gitlab_merge_request_change
table can be used to view all changes associated with a single merge request.
However, you must specify both an iid
of a merge request as well as it's project_id
in the where or join clause.
Examples
Obtain all changes associated to a specific merge request
select old_path, new_path, a_mode, b_mode, diff, new_file, renamed_file, deleted_filefrom gitlab_merge_request_changewhere iid = 123 and project_id = 42;
Schema for gitlab_merge_request_change
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
a_mode | text | The a mode associated with the change. | |
b_mode | text | The b mode associated with the change. | |
deleted_file | boolean | Indicates if the file has been deleted. | |
diff | text | The change diff. | |
iid | bigint | = | Internal ID of the merge request to which the change belongs. |
new_file | boolean | Indicates if it is a new file added. | |
new_path | text | New path of the file. | |
old_path | text | Old path of the file. | |
project_id | bigint | = | ID of the project to which the merge request belongs. |
renamed_file | boolean | Indicates if the file has been renamed. |