allowedRoles constant

Set<String> const allowedRoles

Allowed values for sleuthMetadata.role — exact, case-sensitive allowlist. Replaces the v0.18.2 filename-suffix heuristic for below-leg detection. Strict union enforcement: typos like 'Below', 'BELOW', 'sub' fail fast at parse time so audit-side role-driven logic can rely on the value being exactly one of these three strings.

Implementation

static const Set<String> allowedRoles = {'below', 'at', 'above'};