steampipe 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;

Schema for gitlab_snippet

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
author_idbigintThe ID of the author - link to `gitlab_user.id`
author_nametextThe display name of the author.
author_usernametextThe username of the author - - link to `gitlab_user.username`
created_attimestamp with time zoneTimestamp of the creation of the snippet.
descriptiontextThe description of the snippet.
file_nametextThe file name of the snippet.
filesjsonbAn array of file paths & urls.
idbigintThe ID of the snippet.
raw_urltextThe url to the raw content of the snippet.
titletextThe title of the snippet.
updated_attimestamp with time zoneTimestamp that the snippet was last updated.
web_urltextThe url to the snippet.