Skip to main content

Search code patterns across GitLab groups and export audit results.

Project description

GitLab Super Search

GitLab Super Search banner

Search for patterns across every project in a GitLab group and export matching files to Excel. YAML is searched by default, with presets and custom extension filters available when needed.

Installation

With uv (recommended):

uv tool install gitlab-super-search

Or with pip:

pip install gitlab-super-search

For local development:

python -m venv .venv
. .venv/bin/activate
python -m pip install -e .

Prerequisites

Environment variables:

export GITLAB_URL="https://gitlab.example.com"
export GITLAB_TOKEN="glpat-xxxx"

Usage

glss \
  --group-path platform/k8s-manifests \
  --search "image: nginx" \
  --preset kubernetes \
  --out nginx_images.xlsx

Running from a checkout still works:

python glss.py --help

Presets

Preset Extensions
Kubernetes kubernetes .yaml, .yml, .json
Terraform terraform .tf, .tfvars, .hcl
GitLab CI ci .yaml, .yml, .json, .toml
Docker containers .yaml, .yml, .json, Dockerfile

Use presets with --preset <name>.

Custom extensions

  • --extensions json,xml : search only the listed extensions.
  • --extensions all : search all indexed file types.

--preset and --extensions cannot be used together.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitlab_super_search-0.4.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitlab_super_search-0.4.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file gitlab_super_search-0.4.1.tar.gz.

File metadata

  • Download URL: gitlab_super_search-0.4.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gitlab_super_search-0.4.1.tar.gz
Algorithm Hash digest
SHA256 920082e38a8472a2e2b2ee802115b0fb10efb3f33450d065fbe624ba34614881
MD5 7719336832ff611640c3ef60ba8160a1
BLAKE2b-256 a66c84cf606f830746a1ed954427a12f3f65feb0a06b5c14f2105273e89d5e7c

See more details on using hashes here.

File details

Details for the file gitlab_super_search-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gitlab_super_search-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 065c23caa4645bab432618711c06933b253984bacb28e590701f1fe4904c56e7
MD5 f9af4626dceb8f2280aadd7d1c2f1365
BLAKE2b-256 0474b2a72156505c0b38b550f2b2191e99c1daf1ac8ba60093e191ff3719662f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page