Expand description
Log Redaction
Provides secret redaction for stdout/stderr streams to prevent accidental secret exposure in CI logs.
Structs§
- LogRedactor
- Log redactor that replaces secret values with placeholders
- Short
Secret Warning - Warning for short secrets that won’t be redacted
Constants§
- MIN_
SECRET_ LENGTH - Minimum secret length to redact (shorter secrets may cause false positives)
- REDACTED_
PLACEHOLDER - Placeholder for redacted secrets
Functions§
- redact_
secrets - Redact secrets from a complete string (convenience function)