RedactionLayer enum

Redaction layers, listed in strict priority order.

When two layers report overlapping spans, the layer that comes first in this order wins and the overlapping lower-priority span is discarded.

Inheritance
Available extensions

Values

registered → const RedactionLayer

Exact registered secret values (injected into the pipeline).

path → const RedactionLayer

Credential file paths and whole credential-file dumps (.env, id_rsa, .aws/credentials, ...).

credential → const RedactionLayer

DOM credential firewall (issue #30): values of password- or credential-shaped form fields in serialized HTML/JSON captures.

vendor → const RedactionLayer

Known vendor token shapes (GitHub, AWS, OpenAI, JWT, ...).

prefix → const RedactionLayer

Fast indexOf pre-screen feeding RedactionLayer.vendor. Never emits spans of its own inside the pipeline; see layerPrefix.

pem → const RedactionLayer

PEM / X.509 / OpenSSH / PGP armored blocks.

asn1 → const RedactionLayer

Standalone DER (ASN.1) base64 blobs starting with MII.

connection → const RedactionLayer

Passwords embedded in connection URLs (scheme://user:pass@host).

context → const RedactionLayer

Key/value context anchors (password=, api_key:, export SECRET=).

pii → const RedactionLayer

Opt-in PII: email, phone, Luhn-valid card numbers, SSN, IBAN.

entropy → const RedactionLayer

High-entropy token heuristic, evaluated last.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<RedactionLayer>
A constant List of the values in this enum, in order of their declaration.