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

Recommended:

uv tool install .

Or with pipx:

pipx install .

For local development:

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

Prerequisites

Environment variables:

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

Usage

glss \
  --group-path platform \
  --search "kaniko-project/executor:debug" \
  --out kaniko_old_image.xlsx

Running from a checkout still works:

python3 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.0.tar.gz (13.0 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.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitlab_super_search-0.4.0.tar.gz
  • Upload date:
  • Size: 13.0 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.0.tar.gz
Algorithm Hash digest
SHA256 c1bf59e3fc0784ad3a022a3dccdb6d4fcc4320a3e990114753fc90e5ccad0d91
MD5 2fad6a18c6340bdb28dade0f13d739c1
BLAKE2b-256 e4ec7a6c58b7efcaae384175150accbad1e95da2904db0820887bd09c69bfa6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gitlab_super_search-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9cc067df3630a2299cc9a02356cf14c12764638a9229bc7fe2f9b3f613ac23d0
MD5 be3df3259f75c885bcfca5019574a5fe
BLAKE2b-256 ae376974874413ed9abb325f8cdbe28851064659c06a0b0542941ca96258b11c

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