Skip to Content
Unified docs shell with shared Classifyre tokens and acid-green highlight accents.
DetectorsSecrets

Secrets

Schema-driven detector documentation.

SECRETSactiveP06 params8 examples
Detector Metadata
Capability catalog entry from all_detectors.json.

Categories

SECURITYCOMPLIANCE

Supported Asset Types

TXTTABLEURL

Recommended Model

detect-secrets

Notes

Detects confidential credentials like API keys, tokens, or passwords that could lead to security breaches.

Parameters
Configuration parameters for the Secrets detector. Shared from `SecretsDetectorConfig`.
ParameterTypeRequiredDescriptionDefaultConstraints
enabled_patternsarray | nullNoSubset of detect-secrets plugins to enable. When null all supported plugins are active.null
entropy_limit_base64number | nullNoEntropy threshold for Base64HighEntropyString (0-8). Defaults to detect-secrets built-in of 4.5 when null. Lower values catch more secrets but increase false positives.null
entropy_limit_hexnumber | nullNoEntropy threshold for HexHighEntropyString (0-8). Defaults to detect-secrets built-in of 3.0 when null. Lower values catch more secrets but increase false positives.null
confidence_thresholdnumberNoMinimum confidence score to report a finding (0-1)0.7min 0, max 1
max_findingsinteger | nullNoMaximum number of findings to return per assetnull
severity_thresholdenum | nullNoMinimum severity level to include in results. Findings below this threshold are suppressed.null