Skip to main content

ggscout

GitGuardian CLI tool for NHI (Non-Human Identity) discovery and remediation

ggscout is a Rust-powered command-line tool by GitGuardian that discovers and inventories Non-Human Identities (NHIs) across your production infrastructure. NHIs include services, applications, containers, and automation scripts that authenticate and access resources without human intervention. ggscout maps these identities, their permissions, and associated secrets to help organizations understand their NHI landscape and bootstrap incident remediation.

Installation

# Using uv (recommended)
uv tool install ggscout

# Using pip
pip install ggscout

Note: This is a Rust binary packaged for distribution via PyPI

Basic Usage

# Display help
ggscout --help

# Fetch secrets from configuration
ggscout fetch config.toml

# Run with debug logging
ggscout --verbose DEBUG fetch config.toml

Supported Platforms

ggscout inventories Non-Human Identities from:

  • HashiCorp Vault - KV stores, dynamic secrets, auth methods
  • AWS Secrets Manager - Secrets and associated IAM roles
  • Azure Key Vault - Keys, secrets, and managed identities
  • Google Cloud Secret Manager - Secrets and service accounts
  • Kubernetes/OpenShift - Secrets, ConfigMaps, Deployments, ServiceAccounts, Environment Variables
  • Akeyless Vault - Static and dynamic secrets
  • CyberArk SaaS / CyberArk Self-Hosted - Application identities and secrets
  • Delinea Secret Server - Machine accounts and credentials
  • GitLab CI - Project variables and pipeline identities

Key Features

  • Comprehensive NHI Discovery - Inventories services, roles, and secrets across platforms
  • Production-ready - Built for production environments with secure data handling
  • Multi-platform Support - Works with major secret management and orchestration platforms
  • Secure Transfer - Optional hashing before transmission to GitGuardian platform
  • High Performance - Rust implementation optimized for large-scale inventories
  • Flexible Configuration - TOML-based config with environment variable interpolation

Validity Checks

After fetching, ggscout checks each classified secret with its own provider to see if it's still valid and what scopes it grants. This sends the live credential to the provider from inside your network. It's on by default; set [check] enabled = false in your config to turn it off.

Configuration Example

[sources.vault]
type = "hashicorpvault"
vault_address = "${VAULT_ADDR}"

[sources.vault.auth]
auth_mode = "token"
token = "${VAULT_TOKEN}"

[sources.k8s]
type = "k8s"
kubeconfig_path = "~/.kube/config"

Documentation

Official ggscout Documentation

About GitGuardian

GitGuardian is the code security platform for automated secrets detection and remediation across all environments from source code to production.

ggscout integrates with GitGuardian's platform to provide comprehensive visibility and control over Non-Human Identities in your production infrastructure, enabling better security posture management and incident remediation.

License

This project is licensed under a Proprietary License.

Support

Metadata

Release files for ggscout 0.35.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for ggscout 0.35.0
File Actions
ggscout-0.35.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for ggscout-0.35.0-py3-none-musllinux_1_2_x86_64.whl
ggscout-0.35.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for ggscout-0.35.0-py3-none-musllinux_1_2_aarch64.whl
ggscout-0.35.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for ggscout-0.35.0-py3-none-manylinux_2_28_x86_64.whl
ggscout-0.35.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for ggscout-0.35.0-py3-none-manylinux_2_28_aarch64.whl
ggscout-0.35.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for ggscout-0.35.0-py3-none-macosx_11_0_arm64.whl
ggscout-0.35.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for ggscout-0.35.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 107.6 MB

Release files / ggscout-0.35.0-py3-none-musllinux_1_2_x86_64.whl

Download URL ggscout-0.35.0-py3-none-musllinux_1_2_x86_64.whl
Size 19.0 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6f721038b8f1ddcb6358538111859854f15e5b762ab1f4774409c1554932a346
BLAKE2b-256 checksum
How to use checksums
f6fefdafbdcdf081519ec6e9c46525bab0fb0664091240c0d763bb06d6bfcdae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ggscout-0.35.0-py3-none-musllinux_1_2_aarch64.whl

Download URL ggscout-0.35.0-py3-none-musllinux_1_2_aarch64.whl
Size 17.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4f5559412bbfc4351f6566d707069bf8b9fb266c2e70c89196291b4c586c84d3
BLAKE2b-256 checksum
How to use checksums
eeee284e60506ef74746f27d587234cbfd96e98dfb256ff1f3a9bedc995e6c8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ggscout-0.35.0-py3-none-manylinux_2_28_x86_64.whl

Download URL ggscout-0.35.0-py3-none-manylinux_2_28_x86_64.whl
Size 18.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6a470649ca578ce308dec9af23c2cabb4ae23501520bdb8c3390c8c8d4016a09
BLAKE2b-256 checksum
How to use checksums
cf57fa1f106e029528d74e559246711d0d1e329c615b88dc61ead5e7e7a8f844
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ggscout-0.35.0-py3-none-manylinux_2_28_aarch64.whl

Download URL ggscout-0.35.0-py3-none-manylinux_2_28_aarch64.whl
Size 17.5 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c4e8e32d9e3d6fcebbd21496f0343f456f71bbc4d27bee3e1891a2d8ffcff408
BLAKE2b-256 checksum
How to use checksums
b15248e223e5a90451b202cf3f1ecd189937c0fdcab2f65edcb4cf978ac8787f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ggscout-0.35.0-py3-none-macosx_11_0_arm64.whl

Download URL ggscout-0.35.0-py3-none-macosx_11_0_arm64.whl
Size 16.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6dd6426766e005381a79041c88008dc0d6d018747845e35d9007f3fdc5b07039
BLAKE2b-256 checksum
How to use checksums
82d0104ed08c16aedb568d372dc1b24bb751fbc0e03520c22e0045e87acc0cc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ggscout-0.35.0-py3-none-macosx_10_12_x86_64.whl

Download URL ggscout-0.35.0-py3-none-macosx_10_12_x86_64.whl
Size 17.8 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3bf0300413e7d5dd2d4a88311915b61c9f6c4dc7e793fdbf4835bc95b5f58553
BLAKE2b-256 checksum
How to use checksums
f25078f7a410c09ff595fd024da13496289a35b82c4b689917608b05e10abf05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for ggscout 0.35.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page