Documentation
¶
Index ¶
- func AnySliceToString(values []any) []string
- func Bool(raw any, context string) (bool, error)
- func CanonicalInteger(raw any, context string) (int64, error)
- func ContainsReportVisibleUnsafeValue(value string) bool
- func ContainsSecretLikePathValue(value string) bool
- func ContainsSecretLikeValue(value string) bool
- func ContainsSecretTokenLikeValue(value string) bool
- func ContainsURLCredentialValue(value string) bool
- func DisplayOnlyCommandText(raw any, context string) (string, error)
- func Enum(raw any, values map[string]struct{}, context string) (string, error)
- func JSONNumberEquals(raw any, expected int64) bool
- func KnownKeys(record map[string]any, admitted []string, context string) error
- func LowercaseSHA256(raw any, context string) (string, error)
- func MergeNonClaims(required []string, caller []string, context string) ([]string, error)
- func NonEmptyText(raw any, context string) (string, error)
- func NormalizeSortedPathArray(raw any, context string, allowEmpty bool) ([]string, error)
- func NormalizeSortedPaths(values []string, context string, allowEmpty bool) ([]string, error)
- func NormalizeSortedText(values []string, context string, allowEmpty bool) ([]string, error)
- func NormalizeSortedTextArray(raw any, context string, allowEmpty bool) ([]string, error)
- func NullableText(raw any, context string) (*string, error)
- func PositiveInteger(raw any, context string) (int, error)
- func PreserveSortedPathArray(raw any, context string, allowEmpty bool) ([]string, error)
- func PreserveSortedPaths(values []string, context string, allowEmpty bool) ([]string, error)
- func PreserveSortedText(values []string, context string, allowEmpty bool) ([]string, error)
- func PreserveSortedTextArray(raw any, context string, allowEmpty bool) ([]string, error)
- func RedactDiagnosticValue(value string) string
- func RedactSecretLikeValue(value string) string
- func RedactStructuralText(value string) string
- func RuleID(raw any, context string) (string, error)
- func SHA256HexRef(raw any, context string) (string, error)
- func SHA256Ref(raw any, context string) (string, error)
- func SafeRepoRelativePath(value string, context string) (string, error)
- func SortedEnum(values map[string]struct{}) string
- func SortedText(values []string, context string, allowEmpty bool) ([]string, error)
- func SortedTextArray(raw any, context string, allowEmpty bool) ([]string, error)
- func StringSliceToAny(values []string) []any
- func StructuredSelectorSourcePath(selector string, sourcePath string, context string) error
- func TextArray(raw any, context string, allowEmpty bool) ([]string, error)
- type RedactionFixture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnySliceToString ¶
func CanonicalInteger ¶ added in v0.4.0
func ContainsReportVisibleUnsafeValue ¶ added in v0.5.0
func ContainsSecretLikePathValue ¶ added in v0.1.153
func ContainsSecretLikeValue ¶
func JSONNumberEquals ¶
func LowercaseSHA256 ¶ added in v0.1.147
func MergeNonClaims ¶ added in v0.1.151
func NormalizeSortedPathArray ¶ added in v0.2.1
func NormalizeSortedPaths ¶ added in v0.2.1
func NormalizeSortedText ¶ added in v0.2.0
func NormalizeSortedTextArray ¶ added in v0.2.0
func PreserveSortedPathArray ¶
func PreserveSortedPaths ¶ added in v0.2.1
func PreserveSortedText ¶
func PreserveSortedTextArray ¶
func RedactDiagnosticValue ¶
func RedactSecretLikeValue ¶
func RedactStructuralText ¶ added in v0.1.151
func SortedEnum ¶
func SortedText ¶
func SortedTextArray ¶
func StringSliceToAny ¶
func StructuredSelectorSourcePath ¶ added in v0.1.147
Types ¶
type RedactionFixture ¶ added in v0.1.151
func ReportVisibleRedactionFixtures ¶ added in v0.1.151
func ReportVisibleRedactionFixtures() []RedactionFixture
Click to show internal directories.
Click to hide internal directories.