Interface CredentialMetricEvent
- All Known Implementing Classes:
CredentialMetricEvent.AbuseSignal, CredentialMetricEvent.HashDuration, CredentialMetricEvent.KdfLimiterRejection, CredentialMetricEvent.LifecycleTransition, CredentialMetricEvent.RehashRequested, CredentialMetricEvent.VerifyDuration
public sealed interface CredentialMetricEvent
permits CredentialMetricEvent.HashDuration, CredentialMetricEvent.VerifyDuration, CredentialMetricEvent.RehashRequested, CredentialMetricEvent.LifecycleTransition, CredentialMetricEvent.AbuseSignal, CredentialMetricEvent.KdfLimiterRejection
Sealed family of data-minimised metric events emitted by
security-core. The shape matches Konzept §16: durations,
algorithm/policy distributions, counters — never the password
material, salt, derived key, pepper key value, username or client
address (CWE-532 / CWE-359).
Adapters export these to whichever metrics backend they like (Micrometer, OpenTelemetry, Prometheus, custom Statsd). The core stays backend-free.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordAbuse pattern detector fired.static final recordOnePasswordHashingService.hashcall completed.static final recordThe KDF execution limiter shed an inbound verification.static final recordA credential moved between lifecycle states.static final recordA successful verification triggered a transparent rehash.static final recordOnePasswordHashingService.verifycall completed.