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.34.1

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.34.1
File Actions
ggscout-0.34.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for ggscout-0.34.1-py3-none-musllinux_1_2_x86_64.whl
ggscout-0.34.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for ggscout-0.34.1-py3-none-musllinux_1_2_aarch64.whl
ggscout-0.34.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for ggscout-0.34.1-py3-none-manylinux_2_28_x86_64.whl
ggscout-0.34.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for ggscout-0.34.1-py3-none-manylinux_2_28_aarch64.whl

Total release size: 71.2 MB

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

Download URL ggscout-0.34.1-py3-none-musllinux_1_2_x86_64.whl
Size 18.6 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
bc36f3ff3f040dcd9c6efc10bc03574e352ada11e2e2d848a6a26c775a28d2a4
BLAKE2b-256 checksum
How to use checksums
b416f7340b5acad3edf3539d4e0b94c6b89a0c065750998c62bfaae39b7a004f
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.34.1-py3-none-musllinux_1_2_aarch64.whl

Download URL ggscout-0.34.1-py3-none-musllinux_1_2_aarch64.whl
Size 17.5 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e2bfda4314638896799a7323463039303d9f2fba3aceeead77e1b56015dc9403
BLAKE2b-256 checksum
How to use checksums
b07e5d0bc8b0f7d9a67a720c0b07638f57f720a4c942203569041831dff4405c
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.34.1-py3-none-manylinux_2_28_x86_64.whl

Download URL ggscout-0.34.1-py3-none-manylinux_2_28_x86_64.whl
Size 18.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4246a9d27a1e872a17c37b540dda35221326111e8b71f110d451b821d7cdf082
BLAKE2b-256 checksum
How to use checksums
db1ef085e20813dbe687bb11f54341cc6362bde5dcecf9321476b0b69862331e
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.34.1-py3-none-manylinux_2_28_aarch64.whl

Download URL ggscout-0.34.1-py3-none-manylinux_2_28_aarch64.whl
Size 17.1 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9f5cac9432e83dd55ea66396d24de2a98b4d656e0064253577564ea736864c95
BLAKE2b-256 checksum
How to use checksums
a38bac7d962ee5449229cb75e25a4cd5674139d2fed09cae5514469348817b8a
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.34.1

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