mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
[SM-389] Event log for service account (#4679)
This commit is contained in:
@@ -23,6 +23,8 @@ export class EventResponse extends BaseResponse {
|
||||
installationId: string;
|
||||
systemUser: EventSystemUser;
|
||||
domainName: string;
|
||||
secretId: string;
|
||||
serviceAccountId: string;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
@@ -44,5 +46,7 @@ export class EventResponse extends BaseResponse {
|
||||
this.installationId = this.getResponseProperty("InstallationId");
|
||||
this.systemUser = this.getResponseProperty("SystemUser");
|
||||
this.domainName = this.getResponseProperty("DomainName");
|
||||
this.secretId = this.getResponseProperty("SecretId");
|
||||
this.serviceAccountId = this.getResponseProperty("ServiceAccountId");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ export class EventView {
|
||||
type: EventType;
|
||||
installationId: string;
|
||||
systemUser: EventSystemUser;
|
||||
serviceAccountId: string;
|
||||
|
||||
constructor(data: Required<EventView>) {
|
||||
this.message = data.message;
|
||||
@@ -28,5 +29,6 @@ export class EventView {
|
||||
this.type = data.type;
|
||||
this.installationId = data.installationId;
|
||||
this.systemUser = data.systemUser;
|
||||
this.serviceAccountId = data.serviceAccountId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user