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_snippet
The gitlab_snippet
table can be used to query information about snippets owned by the currently authenticated user.
Examples
List all your snippets
select *from gitlab_snippet;
Obtain a count of your snippets
select count(*) as snippet_countfrom gitlab_snippet;
Schema for gitlab_snippet
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
author_id | bigint | The ID of the author - link to `gitlab_user.id` | |
author_name | text | The display name of the author. | |
author_username | text | The username of the author - - link to `gitlab_user.username` | |
created_at | timestamp with time zone | Timestamp of the creation of the snippet. | |
description | text | The description of the snippet. | |
file_name | text | The file name of the snippet. | |
files | jsonb | An array of file paths & urls. | |
id | bigint | The ID of the snippet. | |
raw_url | text | The url to the raw content of the snippet. | |
title | text | The title of the snippet. | |
updated_at | timestamp with time zone | Timestamp that the snippet was last updated. | |
web_url | text | The url to the snippet. |