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), zip archives, 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, 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

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
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.0.7.tar.gz (65.1 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.0.7-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gulp_cli-1.0.7.tar.gz
Algorithm Hash digest
SHA256 8533dabf40db2d5e0990f8b8d2ee0b7d7d41a9248ba542236f1674b5b1fe10d5
MD5 aeda67a774b173b3f554da285a0c8c15
BLAKE2b-256 0a3b035a5e9f5b6d971d910665b0036b5147c8eb088da6193ee03f7f08ba0a42

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gulp_cli-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bf291f396feb1e2e8223f8f2cc20e7c2a9860856d1127e30f6a6ae514d044d4b
MD5 f9c37338d02ca1760795efb012e2f977
BLAKE2b-256 ed4c0a4f1434b5ea77d1caac39da6772f1e1aafc09bda38ee7bd554be726a4d2

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