Class KeyRotationFailureAlert
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents an alert for a key rotation failure.
public sealed record KeyRotationFailureAlert : IEquatable<KeyRotationFailureAlert>
- Inheritance
-
KeyRotationFailureAlert
- Implements
- Inherited Members
Constructors
KeyRotationFailureAlert(string, string, string, DateTimeOffset, int)
Represents an alert for a key rotation failure.
public KeyRotationFailureAlert(string KeyId, string Provider, string ErrorMessage, DateTimeOffset FailedAt, int ConsecutiveFailures)
Parameters
KeyIdstringThe identifier of the key that failed to rotate.
ProviderstringThe KMS provider name.
ErrorMessagestringThe error message describing the failure.
FailedAtDateTimeOffsetWhen the failure occurred.
ConsecutiveFailuresintNumber of consecutive failures for this key.
Properties
ConsecutiveFailures
Number of consecutive failures for this key.
public int ConsecutiveFailures { get; init; }
Property Value
ErrorMessage
The error message describing the failure.
public string ErrorMessage { get; init; }
Property Value
FailedAt
When the failure occurred.
public DateTimeOffset FailedAt { get; init; }
Property Value
KeyId
The identifier of the key that failed to rotate.
public string KeyId { get; init; }
Property Value
Provider
The KMS provider name.
public string Provider { get; init; }
Property Value
Severity
Gets the severity based on consecutive failures.
public AlertSeverity Severity { get; }