Table of Contents

Interface IEncryptionTelemetryDetails

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Provides detailed encryption telemetry operations beyond core metrics.

public interface IEncryptionTelemetryDetails

Remarks

This sub-interface contains health monitoring, migration tracking, cache metrics, and key inventory operations. Access via GetService(Type) with typeof(IEncryptionTelemetryDetails).

ISP Split: Extracted from IEncryptionTelemetry to keep the core interface at or below 5 methods per the Microsoft-First Design Standard.

Methods

RecordCacheAccess(bool, string)

Records a cache hit or miss for encryption keys.

void RecordCacheAccess(bool hit, string provider)

Parameters

hit bool

Whether the cache was hit.

provider string

The encryption provider name.

RecordFieldsMigrated(long, string, string, string)

Records fields migrated between encryption providers.

void RecordFieldsMigrated(long count, string fromProvider, string toProvider, string store)

Parameters

count long

The number of fields migrated.

fromProvider string

The source provider name.

toProvider string

The target provider name.

store string

The data store name.

UpdateActiveKeyCount(int, string)

Updates the count of active encryption keys.

void UpdateActiveKeyCount(int count, string provider)

Parameters

count int

The number of active keys.

provider string

The encryption provider name.

UpdateProviderHealth(string, string, int)

Updates the health status of an encryption provider.

void UpdateProviderHealth(string provider, string status, int score)

Parameters

provider string

The encryption provider name.

status string

The health status ("healthy", "degraded", "unhealthy").

score int

A numeric health score (0-100).