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

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

Running from a checkout still works:

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitlab_super_search-0.3.1.tar.gz
  • Upload date:
  • Size: 12.9 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.3.1.tar.gz
Algorithm Hash digest
SHA256 387679c2e86a52b2dff6dd57e622594eebfa41234780e52dc79ffc734ee83f15
MD5 c9eae42faa2b465a4efa72be6f91cf74
BLAKE2b-256 669bacabdfca14fbd423948ee71ed3908205ac5a0d67c9ac73ef2edcc69a3c66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gitlab_super_search-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12a470bd6307d8edf2b09bb96922dd92e3b91c1f391c569462b5f8d8c345b1d1
MD5 b0b1ee8d5e8dd699666705055d254d37
BLAKE2b-256 117d18b04754e679211fc006869008f3c2fc358b9018965a4a3aed98792a998b

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