Skip to main content

Command-line client for gULP

Project description

🚀 gulp-cli

A modern, powerful command-line interface for gULP — manage forensic document ingestion, querying, enrichment, and collaboration entirely from your terminal.

✨ What can you do?

  • 🔐 Authentication — secure login with token persistence
  • 📥 Ingestion — ingest files (single/batch/wildcard), optionally compressed before upload, with concurrent uploads
  • 🔍 Querying — raw OpenSearch queries, Sigma rules, external plugins
  • 🏷️ Enrichment — enrich documents, tag/untag, update fields
  • 👥 User Management — create users, manage permissions (admin only)
  • 📋 Operations — create/list/manage operations and contexts
  • 🔌 Plugins — list/upload/download plugins and mapping files
  • 🗺️ Enhance Maps — map document fields (e.g., gulp.event_code) to glyph/color per plugin
  • 🖼️ Glyphs — create/list/update/delete custom glyphs
  • 🧩 Dynamic Extensions — load custom CLI commands from internal or user extension folders
  • 📊 Stats — monitor ingestion and query requests
  • 🎯 Collaboration — manage notes, links, highlights

All with beautiful terminal output, automatic tab completion, and async-first design.


🚀 Quick Start

Installation

# from pip
pip install gulp-cli

# or install local portable-build tooling
pip install 'gulp-cli[portable]'

# or, for the latest development version:
python3 -m venv ./.venv
source ./.venv/bin/activate
git clone https://github.com/mentat-is/gulp-cli
cd gulp-cli && pip install -e .

# Verify installation
gulp-cli --help
gulp-version

Portable Bundles

For offline use from a USB stick, prefer the OS-specific portable bundles built with PyInstaller instead of pip install.

  • Each target OS needs its own bundle: Linux, Windows, macOS Intel, macOS Apple Silicon.
  • Portable bundles keep config and external extensions in a local data/ directory next to the executable.
  • You can override that location with GULP_CLI_HOME or --config-dir.

See Portable Usage for the layout, local build command, and CI artifact details.

Basic Usage

for the cli to work, set "ws_ignore_missing": true (should be default in the v1.6.51 backend, though ...) in your gulp_cfg.json to prevent the backend from halting operations when the CLI disconnects its websocket after sending an async request!

# Login to your gULP instance
gulp-cli auth login --url http://localhost:8080 --username admin --password admin

# Check who you are
gulp-cli auth whoami

# List operations
gulp-cli operation list

# Ingest files with wildcard (per-file progress is on by default; use --no-show-per-file-progress to hide it)
gulp-cli ingest file my_operation win_evtx 'samples/win_evtx/*.evtx'

# Query documents
gulp-cli query raw my_operation --q '{"query":{"match_all":{}}}'

📚 Documentation


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

gulp_cli-1.1.10.tar.gz (105.2 kB view details)

Uploaded Source

Built Distribution

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

gulp_cli-1.1.10-py3-none-any.whl (71.3 kB view details)

Uploaded Python 3

File details

Details for the file gulp_cli-1.1.10.tar.gz.

File metadata

  • Download URL: gulp_cli-1.1.10.tar.gz
  • Upload date:
  • Size: 105.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for gulp_cli-1.1.10.tar.gz
Algorithm Hash digest
SHA256 4b87418828f8f8792a182b05448841797c5dd4fef6648374e97a87b4d0183a81
MD5 28fc6ebd3c9b45fbe8d616b40215d129
BLAKE2b-256 49b6354c56ea01afea19a40f6721c0d7de9cbaf51fd5684213be733fd28a9db5

See more details on using hashes here.

File details

Details for the file gulp_cli-1.1.10-py3-none-any.whl.

File metadata

  • Download URL: gulp_cli-1.1.10-py3-none-any.whl
  • Upload date:
  • Size: 71.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for gulp_cli-1.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d09eaf2e5c27a9e30239628e0cf1aa1b0614189da21112f1f08bd3615e528312
MD5 5eb3729f68787989f21a710e682c24a8
BLAKE2b-256 14cf2ff3f8ce7455c5be9d72d802d8d691a23c81e7edc064eb0b589446dce00a

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