mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Add InstallationId to event responses (#2007)
This commit is contained in:
parent
e314537713
commit
60e36a8f0f
@ -27,6 +27,7 @@ namespace Bit.Api.Models.Public.Response
|
|||||||
Date = ev.Date;
|
Date = ev.Date;
|
||||||
Device = ev.DeviceType;
|
Device = ev.DeviceType;
|
||||||
IpAddress = ev.IpAddress;
|
IpAddress = ev.IpAddress;
|
||||||
|
InstallationId = ev.InstallationId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -71,6 +72,11 @@ namespace Bit.Api.Models.Public.Response
|
|||||||
/// <example>a2549f79-a71f-4eb9-9234-eb7247333f94</example>
|
/// <example>a2549f79-a71f-4eb9-9234-eb7247333f94</example>
|
||||||
public Guid? ActingUserId { get; set; }
|
public Guid? ActingUserId { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// The Unique identifier of the Installation that performed the event.
|
||||||
|
/// </summary>
|
||||||
|
/// <value></value>
|
||||||
|
public Guid? InstallationId { get; set; }
|
||||||
|
/// <summary>
|
||||||
/// The date/timestamp when the event occurred.
|
/// The date/timestamp when the event occurred.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -30,6 +30,7 @@ namespace Bit.Api.Models.Response
|
|||||||
Date = ev.Date;
|
Date = ev.Date;
|
||||||
DeviceType = ev.DeviceType;
|
DeviceType = ev.DeviceType;
|
||||||
IpAddress = ev.IpAddress;
|
IpAddress = ev.IpAddress;
|
||||||
|
InstallationId = ev.InstallationId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public EventType Type { get; set; }
|
public EventType Type { get; set; }
|
||||||
@ -44,6 +45,7 @@ namespace Bit.Api.Models.Response
|
|||||||
public Guid? ProviderUserId { get; set; }
|
public Guid? ProviderUserId { get; set; }
|
||||||
public Guid? ProviderOrganizationId { get; set; }
|
public Guid? ProviderOrganizationId { get; set; }
|
||||||
public Guid? ActingUserId { get; set; }
|
public Guid? ActingUserId { get; set; }
|
||||||
|
public Guid? InstallationId { get; set; }
|
||||||
public DateTime Date { get; set; }
|
public DateTime Date { get; set; }
|
||||||
public DeviceType? DeviceType { get; set; }
|
public DeviceType? DeviceType { get; set; }
|
||||||
public string IpAddress { get; set; }
|
public string IpAddress { get; set; }
|
||||||
|
Loading…
Reference in New Issue
Block a user