secretwalk

package
v0.0.0-...-3107470 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package secretwalk provides one configurable recursive boundary for secret-shaped strings and sensitive object keys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(value any, config Config) bool

Contains reports whether value contains a redacted string or a sensitive key whose value is not an explicitly permitted reference.

Types

type Config

type Config struct {
	CheckKeys    bool
	SensitiveKey func(string) bool
	IsReference  func(string) bool
}

Config controls optional key classification and permitted reference values.

Jump to

Keyboard shortcuts

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