Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: Apache-2.0

Directories

Path Synopsis
Package config defines the scanner configuration schema (a superset of the gitleaks v8 TOML format), loads and merges configs, and compiles rules.
Package config defines the scanner configuration schema (a superset of the gitleaks v8 TOML format), loads and merges configs, and compiles rules.
Package detect runs compiled rules over text fragments and produces findings.
Package detect runs compiled rules over text fragments and produces findings.
Package remediate turns findings into actionable guidance: how urgent it is, how to rotate the credential, how to stop needing it at all (keyless / workload identity), and how to load it efficiently in the file's language.
Package remediate turns findings into actionable guidance: how urgent it is, how to rotate the credential, how to stop needing it at all (keyless / workload identity), and how to load it efficiently in the file's language.
Package report renders findings as text, JSON, SARIF, CSV or JUnit XML.
Package report renders findings as text, JSON, SARIF, CSV or JUnit XML.
Package sources turns files, git history and diffs into fragments.
Package sources turns files, git history and diffs into fragments.
Package toml implements a dependency-free parser for the subset of TOML v1.0 used by scanner configuration files (including gitleaks-style configs): tables, arrays of tables, dotted and quoted keys, all four string forms, integers, floats, booleans, nested/multi-line arrays and inline tables.
Package toml implements a dependency-free parser for the subset of TOML v1.0 used by scanner configuration files (including gitleaks-style configs): tables, arrays of tables, dotted and quoted keys, all four string forms, integers, floats, booleans, nested/multi-line arrays and inline tables.
Package triage is a precision layer for other scanners: it re-scores findings from gitleaks, trufflehog or any SARIF producer using secretscan's context analysis and evidence model.
Package triage is a precision layer for other scanners: it re-scores findings from gitleaks, trufflehog or any SARIF producer using secretscan's context analysis and evidence model.
Package verify optionally checks whether detected secrets are live by calling the issuing provider's read-only identity endpoint.
Package verify optionally checks whether detected secrets are live by calling the issuing provider's read-only identity endpoint.
Package wordy scores how much a string reads like natural-language or programming words, using a character-bigram model.
Package wordy scores how much a string reads like natural-language or programming words, using a character-bigram model.
gen command
Command gen trains the character-bigram table used by package wordy from the words found in a corpus of text/source files and writes table.go.
Command gen trains the character-bigram table used by package wordy from the words found in a corpus of text/source files and writes table.go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL