#### [Abblix\.SecurityEvents\.RISC](https://www.abblix.com/en/docs/api/abblix-securityevents-risc 'index')
### [Abblix\.SecurityEvents\.RISC](https://www.abblix.com/en/docs/api/abblix-securityevents-risc/Abblix.SecurityEvents.RISC 'Abblix\.SecurityEvents\.RISC')

## CredentialCompromisePayload Class

Credential Compromise \(RISC 1\.0 Section 2\.7\): a credential of the subject was found to be
compromised \- in a data breach, for instance \- and the receiver should treat it as burnt\.

```csharp
public sealed record CredentialCompromisePayload : Abblix.SecurityEvents.Events.IEventPayload, System.IEquatable<Abblix.SecurityEvents.RISC.CredentialCompromisePayload>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → CredentialCompromisePayload

Implements [IEventPayload](https://www.abblix.com/en/docs/api/abblix-securityevents/Abblix.SecurityEvents.Events.IEventPayload 'Abblix\.SecurityEvents\.Events\.IEventPayload'), [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[CredentialCompromisePayload](https://www.abblix.com/en/docs/api/abblix-securityevents-risc/Abblix.SecurityEvents.RISC.CredentialCompromisePayload 'Abblix\.SecurityEvents\.RISC\.CredentialCompromisePayload')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Properties

## CredentialCompromisePayload\.CredentialType Property {#Abblix.SecurityEvents.RISC.CredentialCompromisePayload.CredentialType}

REQUIRED\. The type of the compromised credential\. RISC 1\.0 Section 2\.7 defines the value
set by reference to the CAEP Credential Change event, so the values live in
[CredentialTypes](https://www.abblix.com/en/docs/api/abblix-securityevents-caep/Abblix.SecurityEvents.CAEP.CredentialChangePayload.CredentialTypes 'Abblix\.SecurityEvents\.CAEP\.CredentialChangePayload\.CredentialTypes') \- one registry for both profiles\.

```csharp
public string CredentialType { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## CredentialCompromisePayload\.EventTimestamp Property {#Abblix.SecurityEvents.RISC.CredentialCompromisePayload.EventTimestamp}

OPTIONAL\. When the transmitter DISCOVERED the compromise \- not when it happened, which
the transmitter rarely knows \(RISC 1\.0 Section 2\.7\)\. Travels as unix seconds\.

```csharp
public System.Nullable<System.DateTimeOffset> EventTimestamp { get; init; }
```

#### Property Value
[System\.Nullable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.nullable-1 'System\.Nullable\`1')[System\.DateTimeOffset](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset 'System\.DateTimeOffset')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.nullable-1 'System\.Nullable\`1')

## CredentialCompromisePayload\.ReasonAdmin Property {#Abblix.SecurityEvents.RISC.CredentialCompromisePayload.ReasonAdmin}

OPTIONAL\. The reason the event was generated, intended for administrators
\(RISC 1\.0 Section 2\.7\)\. The specification leaves the shape unstated; this model reads it
as CAEP 1\.0 Section 2 shapes the identically named claim \- a map of BCP 47 language tag
to text \- since RISC leans on CAEP for its other shared vocabulary\.

```csharp
public System.Collections.Generic.IReadOnlyDictionary<string,string>? ReasonAdmin { get; init; }
```

#### Property Value
[System\.Collections\.Generic\.IReadOnlyDictionary&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlydictionary-2 'System\.Collections\.Generic\.IReadOnlyDictionary\`2')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[,](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlydictionary-2 'System\.Collections\.Generic\.IReadOnlyDictionary\`2')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlydictionary-2 'System\.Collections\.Generic\.IReadOnlyDictionary\`2')

## CredentialCompromisePayload\.ReasonUser Property {#Abblix.SecurityEvents.RISC.CredentialCompromisePayload.ReasonUser}

OPTIONAL\. The reason the event was generated, intended for end users
\(RISC 1\.0 Section 2\.7\), shaped as [ReasonAdmin](https://www.abblix.com/en/docs/api/abblix-securityevents-risc/Abblix.SecurityEvents.RISC.CredentialCompromisePayload#Abblix.SecurityEvents.RISC.CredentialCompromisePayload.ReasonAdmin 'Abblix\.SecurityEvents\.RISC\.CredentialCompromisePayload\.ReasonAdmin') is\.

```csharp
public System.Collections.Generic.IReadOnlyDictionary<string,string>? ReasonUser { get; init; }
```

#### Property Value
[System\.Collections\.Generic\.IReadOnlyDictionary&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlydictionary-2 'System\.Collections\.Generic\.IReadOnlyDictionary\`2')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[,](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlydictionary-2 'System\.Collections\.Generic\.IReadOnlyDictionary\`2')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlydictionary-2 'System\.Collections\.Generic\.IReadOnlyDictionary\`2')
