mirror of
https://github.com/bitwarden/server
synced 2026-02-25 17:03:22 +00:00
PM-31725 updated properties to match the pull in public/events (#6959)
This commit is contained in:
@@ -13,10 +13,12 @@ public class IntegrationTemplateContext(EventMessage eventMessage)
|
||||
public string DomainName => Event.DomainName;
|
||||
public string IpAddress => Event.IpAddress;
|
||||
public DeviceType? DeviceType => Event.DeviceType;
|
||||
public int? DeviceTypeId => Event.DeviceType is not null ? (int)Event.DeviceType : null;
|
||||
public Guid? ActingUserId => Event.ActingUserId;
|
||||
public Guid? OrganizationUserId => Event.OrganizationUserId;
|
||||
public DateTime Date => Event.Date;
|
||||
public EventType Type => Event.Type;
|
||||
public int TypeId => (int)Event.Type;
|
||||
public Guid? UserId => Event.UserId;
|
||||
public Guid? OrganizationId => Event.OrganizationId;
|
||||
public Guid? CipherId => Event.CipherId;
|
||||
@@ -51,4 +53,6 @@ public class IntegrationTemplateContext(EventMessage eventMessage)
|
||||
|
||||
public Organization? Organization { get; set; }
|
||||
public string? OrganizationName => Organization?.DisplayName();
|
||||
|
||||
public int? SystemUser => Event.SystemUser is not null ? (int)Event.SystemUser : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user