theapsgroup/gitlab

steampipe plugin install theapsgroup/gitlabsteampipe plugin install theapsgroup/gitlab

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_count
from
gitlab_snippet;

.inspect gitlab_snippet

The current logged in users GitLab snippets

NameTypeDescription
author_idbigintThe ID of the author - link to `gitlab_user.id`
author_usernametextThe username of the author - - link to `gitlab_user.username`
created_attimestamp without time zoneTimestamp of the creation of the snippet.
descriptiontextThe description of the snippet.
file_nametextThe file name of the snippet.
idbigintThe ID of the snippet.
raw_urltextThe url to the raw content of the snippet.
titletextThe title of the snippet.
updated_attimestamp without time zoneTimestamp that the snippet was last updated.
web_urltextThe url to the snippet.