Re-exports§
pub use gitleaks::initialize_gitleaks_config;
Modules§
Structs§
- Redaction
Result - A result containing both the redacted string and the mapping of redaction keys to original secrets
Functions§
- redact_
password - Redacts a specific password value from the content without running secret detection
- redact_
secrets - Redacts secrets from the input string and returns both the redacted string and redaction mapping
- restore_
secrets - Restores secrets in a redacted string using the provided redaction map