{"modulePath":"github.com/GoCodeAlone/workflow","version":"v0.87.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sensitiveinputs\n\nPackage sensitiveinputs validates provider-declared sensitive Config leaves.\n\n## Functions\n\n```go\nfunc DiagnosticRedactor(config map[string]any, paths []string) (func(string) string, error)\n```\nDiagnosticRedactor masks only declared resolved inputs in control-plane diagnostics. It must not be applied to provider outputs or consumer payloads.\n\n```go\nfunc Expand(config map[string]any, paths []string) ([]string, error)\n```\nExpand returns deterministic unique concrete leaf pointers. Missing optional fields have no match; present containers or scalar traversal are errors.\n\n```go\nfunc ValidatePaths(paths []string) error\n```\nValidatePaths requires non-root canonical RFC 6901 pointers. Escapes are validated by re-encoding the parser's decoded tokens; malformed '~' escapes must not alias an otherwise valid key.\n\n```go\nfunc ValidateReferences(config map[string]any, paths []string) error\n```\nValidateReferences rejects literal sensitive values without including them in diagnostics. It validates declarative inputs, never consumer artifacts.\n\n","path":"github.com/GoCodeAlone/workflow/iac/sensitiveinputs","name":"sensitiveinputs","synopsis":"Package sensitiveinputs validates provider-declared sensitive Config leaves.","isRedistributable":true}
