RedactionRule class abstract

Represents a rule used to redact sensitive content from logs and artifacts.

Binds: FR-136c, FR-136d, INV-G2.

Implementers

Constructors

RedactionRule()

Properties

description → String
Human-readable description of what this rule redacts.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier of this rule.
no setter
marker → String
The stable, non-reversible marker substituted for secrets.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleSecret → String
A sample secret value of the shape targeted by this rule.
no setter

Methods

formatSample(String secret) → String
Formats the sample secret into a diagnostic string for testing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redact(String input, Map<String, String> environment) → String
Performs write-time redaction on input.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited