Add event export (#967)

* Include human readable export message on events

* Add export currently visible events.

* PR feedback
This commit is contained in:
Matt Gibson 2021-05-13 18:39:53 -05:00 committed by GitHub
parent 9abdefa947
commit 54cd5a68b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 113 additions and 30 deletions

2
jslib

@ -1 +1 @@
Subproject commit 306aef73d459dfad8a7a06c32442c9ed2d56922e Subproject commit 92dbf24ab895443d8f5bd404e749d4fd83f32207

View File

@ -94,9 +94,9 @@ export class EntityEventsComponent implements OnInit {
} catch { } } catch { }
this.continuationToken = response.continuationToken; this.continuationToken = response.continuationToken;
const events = response.data.map(r => { const events = await Promise.all(response.data.map(async r => {
const userId = r.actingUserId == null ? r.userId : r.actingUserId; const userId = r.actingUserId == null ? r.userId : r.actingUserId;
const eventInfo = this.eventService.getEventInfo(r); const eventInfo = await this.eventService.getEventInfo(r);
const user = this.showUser && userId != null && this.orgUsersUserIdMap.has(userId) ? const user = this.showUser && userId != null && this.orgUsersUserIdMap.has(userId) ?
this.orgUsersUserIdMap.get(userId) : null; this.orgUsersUserIdMap.get(userId) : null;
return { return {
@ -110,7 +110,7 @@ export class EntityEventsComponent implements OnInit {
ip: r.ipAddress, ip: r.ipAddress,
type: r.type, type: r.type,
}; };
}); }));
if (!clearExisting && this.events != null && this.events.length > 0) { if (!clearExisting && this.events != null && this.events.length > 0) {
this.events = this.events.concat(events); this.events = this.events.concat(events);

View File

@ -15,6 +15,10 @@
<i class="fa fa-refresh fa-fw" aria-hidden="true" [ngClass]="{'fa-spin': loaded && refreshBtn.loading}"></i> <i class="fa fa-refresh fa-fw" aria-hidden="true" [ngClass]="{'fa-spin': loaded && refreshBtn.loading}"></i>
{{'refresh' | i18n}} {{'refresh' | i18n}}
</button> </button>
<button #exportBtn [appApiAction]="exportPromise" type="button" class="btn btn-sm btn-outline-primary ml-3"
(click)="exportEvents()" [disabled]="loaded && refreshBtn.loading">
{{'export' | i18n}}
</button>
</div> </div>
</div> </div>
<ng-container *ngIf="!loaded"> <ng-container *ngIf="!loaded">

View File

@ -7,13 +7,16 @@ import { ActivatedRoute, Router } from '@angular/router';
import { ToasterService } from 'angular2-toaster'; import { ToasterService } from 'angular2-toaster';
import { ApiService } from 'jslib/abstractions/api.service'; import { ApiService } from 'jslib/abstractions/api.service';
import { ExportService } from 'jslib/abstractions/export.service';
import { I18nService } from 'jslib/abstractions/i18n.service'; import { I18nService } from 'jslib/abstractions/i18n.service';
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import { UserService } from 'jslib/abstractions/user.service'; import { UserService } from 'jslib/abstractions/user.service';
import { EventService } from '../../services/event.service'; import { EventService } from '../../services/event.service';
import { EventResponse } from 'jslib/models/response/eventResponse'; import { EventResponse } from 'jslib/models/response/eventResponse';
import { ListResponse } from 'jslib/models/response/listResponse'; import { ListResponse } from 'jslib/models/response/listResponse';
import { EventView } from 'jslib/models/view/eventView';
@Component({ @Component({
selector: 'app-org-events', selector: 'app-org-events',
@ -23,19 +26,20 @@ export class EventsComponent implements OnInit {
loading = true; loading = true;
loaded = false; loaded = false;
organizationId: string; organizationId: string;
events: any[]; events: EventView[];
start: string; start: string;
end: string; end: string;
continuationToken: string; continuationToken: string;
refreshPromise: Promise<any>; refreshPromise: Promise<any>;
exportPromise: Promise<any>;
morePromise: Promise<any>; morePromise: Promise<any>;
private orgUsersUserIdMap = new Map<string, any>(); private orgUsersUserIdMap = new Map<string, any>();
private orgUsersIdMap = new Map<string, any>(); private orgUsersIdMap = new Map<string, any>();
constructor(private apiService: ApiService, private route: ActivatedRoute, constructor(private apiService: ApiService, private route: ActivatedRoute, private eventService: EventService,
private eventService: EventService, private i18nService: I18nService, private i18nService: I18nService, private toasterService: ToasterService, private userService: UserService,
private toasterService: ToasterService, private userService: UserService, private exportService: ExportService, private platformUtilsService: PlatformUtilsService,
private router: Router) { } private router: Router) { }
async ngOnInit() { async ngOnInit() {
@ -64,8 +68,26 @@ export class EventsComponent implements OnInit {
this.loaded = true; this.loaded = true;
} }
async exportEvents() {
if (this.appApiPromiseUnfulfilled()) {
return;
}
this.loading = true;
this.exportPromise = this.exportService.getEventExport(this.events).then(data => {
const fileName = this.exportService.getFileName('org-events', 'csv');
this.platformUtilsService.saveFile(window, data, { type: 'text/plain' }, fileName);
});
try {
await this.exportPromise;
} catch { }
this.exportPromise = null;
this.loading = false;
}
async loadEvents(clearExisting: boolean) { async loadEvents(clearExisting: boolean) {
if (this.refreshPromise != null || this.morePromise != null) { if (this.appApiPromiseUnfulfilled()) {
return; return;
} }
@ -92,13 +114,14 @@ export class EventsComponent implements OnInit {
} catch { } } catch { }
this.continuationToken = response.continuationToken; this.continuationToken = response.continuationToken;
const events = response.data.map(r => { const events = await Promise.all(response.data.map(async r => {
const userId = r.actingUserId == null ? r.userId : r.actingUserId; const userId = r.actingUserId == null ? r.userId : r.actingUserId;
const eventInfo = this.eventService.getEventInfo(r); const eventInfo = await this.eventService.getEventInfo(r);
const user = userId != null && this.orgUsersUserIdMap.has(userId) ? const user = userId != null && this.orgUsersUserIdMap.has(userId) ?
this.orgUsersUserIdMap.get(userId) : null; this.orgUsersUserIdMap.get(userId) : null;
return { return new EventView({
message: eventInfo.message, message: eventInfo.message,
humanReadableMessage: eventInfo.humanReadableMessage,
appIcon: eventInfo.appIcon, appIcon: eventInfo.appIcon,
appName: eventInfo.appName, appName: eventInfo.appName,
userId: userId, userId: userId,
@ -107,8 +130,8 @@ export class EventsComponent implements OnInit {
date: r.date, date: r.date,
ip: r.ipAddress, ip: r.ipAddress,
type: r.type, type: r.type,
}; });
}); }));
if (!clearExisting && this.events != null && this.events.length > 0) { if (!clearExisting && this.events != null && this.events.length > 0) {
this.events = this.events.concat(events); this.events = this.events.concat(events);
@ -120,4 +143,8 @@ export class EventsComponent implements OnInit {
this.morePromise = null; this.morePromise = null;
this.refreshPromise = null; this.refreshPromise = null;
} }
private appApiPromiseUnfulfilled() {
return this.refreshPromise != null || this.morePromise != null || this.exportPromise != null;
}
} }

View File

@ -1,15 +1,17 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { I18nService } from 'jslib/abstractions/i18n.service'; import { I18nService } from 'jslib/abstractions/i18n.service';
import { PolicyService } from 'jslib/abstractions/policy.service';
import { DeviceType } from 'jslib/enums/deviceType'; import { DeviceType } from 'jslib/enums/deviceType';
import { EventType } from 'jslib/enums/eventType'; import { EventType } from 'jslib/enums/eventType';
import { PolicyType } from 'jslib/enums/policyType';
import { EventResponse } from 'jslib/models/response/eventResponse'; import { EventResponse } from 'jslib/models/response/eventResponse';
@Injectable() @Injectable()
export class EventService { export class EventService {
constructor(private i18nService: I18nService) { } constructor(private i18nService: I18nService, private policyService: PolicyService) { }
getDefaultDateFilters() { getDefaultDateFilters() {
const d = new Date(); const d = new Date();
@ -28,146 +30,180 @@ export class EventService {
return [start.toISOString(), end.toISOString()]; return [start.toISOString(), end.toISOString()];
} }
getEventInfo(ev: EventResponse, options = new EventOptions()): EventInfo { async getEventInfo(ev: EventResponse, options = new EventOptions()): Promise<EventInfo> {
const appInfo = this.getAppInfo(ev.deviceType); const appInfo = this.getAppInfo(ev.deviceType);
const { message, humanReadableMessage } = await this.getEventMessage(ev, options);
return { return {
message: this.getEventMessage(ev, options), message: message,
humanReadableMessage: humanReadableMessage,
appIcon: appInfo[0], appIcon: appInfo[0],
appName: appInfo[1], appName: appInfo[1],
}; };
} }
private getEventMessage(ev: EventResponse, options: EventOptions) { private async getEventMessage(ev: EventResponse, options: EventOptions) {
let msg = ''; let msg = '';
let humanReadableMsg = '';
switch (ev.type) { switch (ev.type) {
// User // User
case EventType.User_LoggedIn: case EventType.User_LoggedIn:
msg = this.i18nService.t('loggedIn'); msg = humanReadableMsg = this.i18nService.t('loggedIn');
break; break;
case EventType.User_ChangedPassword: case EventType.User_ChangedPassword:
msg = this.i18nService.t('changedPassword'); msg = humanReadableMsg = this.i18nService.t('changedPassword');
break; break;
case EventType.User_Updated2fa: case EventType.User_Updated2fa:
msg = this.i18nService.t('enabledUpdated2fa'); msg = humanReadableMsg = this.i18nService.t('enabledUpdated2fa');
break; break;
case EventType.User_Disabled2fa: case EventType.User_Disabled2fa:
msg = this.i18nService.t('disabled2fa'); msg = humanReadableMsg = this.i18nService.t('disabled2fa');
break; break;
case EventType.User_Recovered2fa: case EventType.User_Recovered2fa:
msg = this.i18nService.t('recovered2fa'); msg = humanReadableMsg = this.i18nService.t('recovered2fa');
break; break;
case EventType.User_FailedLogIn: case EventType.User_FailedLogIn:
msg = this.i18nService.t('failedLogin'); msg = humanReadableMsg = this.i18nService.t('failedLogin');
break; break;
case EventType.User_FailedLogIn2fa: case EventType.User_FailedLogIn2fa:
msg = this.i18nService.t('failedLogin2fa'); msg = humanReadableMsg = this.i18nService.t('failedLogin2fa');
break; break;
case EventType.User_ClientExportedVault: case EventType.User_ClientExportedVault:
msg = this.i18nService.t('exportedVault'); msg = humanReadableMsg = this.i18nService.t('exportedVault');
break; break;
// Cipher // Cipher
case EventType.Cipher_Created: case EventType.Cipher_Created:
msg = this.i18nService.t('createdItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('createdItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('createdItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_Updated: case EventType.Cipher_Updated:
msg = this.i18nService.t('editedItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('editedItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('editedItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_Deleted: case EventType.Cipher_Deleted:
msg = this.i18nService.t('permanentlyDeletedItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('permanentlyDeletedItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('permanentlyDeletedItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_SoftDeleted: case EventType.Cipher_SoftDeleted:
msg = this.i18nService.t('deletedItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('deletedItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('deletedItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_Restored: case EventType.Cipher_Restored:
msg = this.i18nService.t('restoredItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('restoredItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('restoredItemId', this.formatCipherId(ev, options));
break; break;
case EventType.Cipher_AttachmentCreated: case EventType.Cipher_AttachmentCreated:
msg = this.i18nService.t('createdAttachmentForItem', this.formatCipherId(ev, options)); msg = this.i18nService.t('createdAttachmentForItem', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('createdAttachmentForItem', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_AttachmentDeleted: case EventType.Cipher_AttachmentDeleted:
msg = this.i18nService.t('deletedAttachmentForItem', this.formatCipherId(ev, options)); msg = this.i18nService.t('deletedAttachmentForItem', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('deletedAttachmentForItem', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_Shared: case EventType.Cipher_Shared:
msg = this.i18nService.t('sharedItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('sharedItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('sharedItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientViewed: case EventType.Cipher_ClientViewed:
msg = this.i18nService.t('viewedItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('viewedItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('viewedItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientToggledPasswordVisible: case EventType.Cipher_ClientToggledPasswordVisible:
msg = this.i18nService.t('viewedPasswordItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('viewedPasswordItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('viewedPasswordItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientToggledHiddenFieldVisible: case EventType.Cipher_ClientToggledHiddenFieldVisible:
msg = this.i18nService.t('viewedHiddenFieldItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('viewedHiddenFieldItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('viewedHiddenFieldItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientToggledCardCodeVisible: case EventType.Cipher_ClientToggledCardCodeVisible:
msg = this.i18nService.t('viewedSecurityCodeItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('viewedSecurityCodeItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('viewedSecurityCodeItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientCopiedHiddenField: case EventType.Cipher_ClientCopiedHiddenField:
msg = this.i18nService.t('copiedHiddenFieldItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('copiedHiddenFieldItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('copiedHiddenFieldItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientCopiedPassword: case EventType.Cipher_ClientCopiedPassword:
msg = this.i18nService.t('copiedPasswordItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('copiedPasswordItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('copiedPasswordItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientCopiedCardCode: case EventType.Cipher_ClientCopiedCardCode:
msg = this.i18nService.t('copiedSecurityCodeItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('copiedSecurityCodeItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('copiedSecurityCodeItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_ClientAutofilled: case EventType.Cipher_ClientAutofilled:
msg = this.i18nService.t('autofilledItemId', this.formatCipherId(ev, options)); msg = this.i18nService.t('autofilledItemId', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('autofilledItemId', this.getShortId(ev.cipherId));
break; break;
case EventType.Cipher_UpdatedCollections: case EventType.Cipher_UpdatedCollections:
msg = this.i18nService.t('editedCollectionsForItem', this.formatCipherId(ev, options)); msg = this.i18nService.t('editedCollectionsForItem', this.formatCipherId(ev, options));
humanReadableMsg = this.i18nService.t('editedCollectionsForItem', this.getShortId(ev.cipherId));
break; break;
// Collection // Collection
case EventType.Collection_Created: case EventType.Collection_Created:
msg = this.i18nService.t('createdCollectionId', this.formatCollectionId(ev)); msg = this.i18nService.t('createdCollectionId', this.formatCollectionId(ev));
humanReadableMsg = this.i18nService.t('createdCollectionId', this.getShortId(ev.collectionId));
break; break;
case EventType.Collection_Updated: case EventType.Collection_Updated:
msg = this.i18nService.t('editedCollectionId', this.formatCollectionId(ev)); msg = this.i18nService.t('editedCollectionId', this.formatCollectionId(ev));
humanReadableMsg = this.i18nService.t('editedCollectionId', this.getShortId(ev.collectionId));
break; break;
case EventType.Collection_Deleted: case EventType.Collection_Deleted:
msg = this.i18nService.t('deletedCollectionId', this.formatCollectionId(ev)); msg = this.i18nService.t('deletedCollectionId', this.formatCollectionId(ev));
humanReadableMsg = this.i18nService.t('deletedCollectionId', this.getShortId(ev.collectionId));
break; break;
// Group // Group
case EventType.Group_Created: case EventType.Group_Created:
msg = this.i18nService.t('createdGroupId', this.formatGroupId(ev)); msg = this.i18nService.t('createdGroupId', this.formatGroupId(ev));
humanReadableMsg = this.i18nService.t('createdGroupId', this.getShortId(ev.groupId));
break; break;
case EventType.Group_Updated: case EventType.Group_Updated:
msg = this.i18nService.t('editedGroupId', this.formatGroupId(ev)); msg = this.i18nService.t('editedGroupId', this.formatGroupId(ev));
humanReadableMsg = this.i18nService.t('editedGroupId', this.getShortId(ev.groupId));
break; break;
case EventType.Group_Deleted: case EventType.Group_Deleted:
msg = this.i18nService.t('deletedGroupId', this.formatGroupId(ev)); msg = this.i18nService.t('deletedGroupId', this.formatGroupId(ev));
humanReadableMsg = this.i18nService.t('deletedGroupId', this.getShortId(ev.groupId));
break; break;
// Org user // Org user
case EventType.OrganizationUser_Invited: case EventType.OrganizationUser_Invited:
msg = this.i18nService.t('invitedUserId', this.formatOrgUserId(ev)); msg = this.i18nService.t('invitedUserId', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('invitedUserId', this.getShortId(ev.organizationUserId));
break; break;
case EventType.OrganizationUser_Confirmed: case EventType.OrganizationUser_Confirmed:
msg = this.i18nService.t('confirmedUserId', this.formatOrgUserId(ev)); msg = this.i18nService.t('confirmedUserId', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('confirmedUserId', this.getShortId(ev.organizationUserId));
break; break;
case EventType.OrganizationUser_Updated: case EventType.OrganizationUser_Updated:
msg = this.i18nService.t('editedUserId', this.formatOrgUserId(ev)); msg = this.i18nService.t('editedUserId', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('editedUserId', this.getShortId(ev.organizationUserId));
break; break;
case EventType.OrganizationUser_Removed: case EventType.OrganizationUser_Removed:
msg = this.i18nService.t('removedUserId', this.formatOrgUserId(ev)); msg = this.i18nService.t('removedUserId', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('removedUserId', this.getShortId(ev.organizationUserId));
break; break;
case EventType.OrganizationUser_UpdatedGroups: case EventType.OrganizationUser_UpdatedGroups:
msg = this.i18nService.t('editedGroupsForUser', this.formatOrgUserId(ev)); msg = this.i18nService.t('editedGroupsForUser', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('editedGroupsForUser', this.getShortId(ev.organizationUserId));
break; break;
case EventType.OrganizationUser_UnlinkedSso: case EventType.OrganizationUser_UnlinkedSso:
msg = this.i18nService.t('unlinkedSsoUser', this.formatOrgUserId(ev)); msg = this.i18nService.t('unlinkedSsoUser', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('unlinkedSsoUser', this.getShortId(ev.organizationUserId));
break; break;
case EventType.OrganizationUser_ResetPassword_Enroll: case EventType.OrganizationUser_ResetPassword_Enroll:
msg = this.i18nService.t('eventEnrollPasswordReset', this.formatOrgUserId(ev)); msg = this.i18nService.t('eventEnrollPasswordReset', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('eventEnrollPasswordReset', this.getShortId(ev.organizationUserId));
break; break;
case EventType.OrganizationUser_ResetPassword_Withdraw: case EventType.OrganizationUser_ResetPassword_Withdraw:
msg = this.i18nService.t('eventWithdrawPasswordReset', this.formatOrgUserId(ev)); msg = this.i18nService.t('eventWithdrawPasswordReset', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('eventWithdrawPasswordReset', this.getShortId(ev.organizationUserId));
break; break;
// Org // Org
case EventType.Organization_Updated: case EventType.Organization_Updated:
msg = this.i18nService.t('editedOrgSettings'); msg = humanReadableMsg = this.i18nService.t('editedOrgSettings');
break; break;
case EventType.Organization_PurgedVault: case EventType.Organization_PurgedVault:
msg = this.i18nService.t('purgedOrganizationVault'); msg = humanReadableMsg = this.i18nService.t('purgedOrganizationVault');
break; break;
/* /*
case EventType.Organization_ClientExportedVault: case EventType.Organization_ClientExportedVault:
@ -176,13 +212,25 @@ export class EventService {
*/ */
// Policies // Policies
case EventType.Policy_Updated: case EventType.Policy_Updated:
msg = this.i18nService.t('modifiedPolicy', this.formatPolicyId(ev)); msg = this.i18nService.t('modifiedPolicyId', this.formatPolicyId(ev));
const policies = await this.policyService.getAll();
const policy = policies.filter(p => p.id === ev.policyId)[0];
let p1 = this.getShortId(ev.policyId);
if (policy !== null) {
p1 = PolicyType[policy.type];
}
humanReadableMsg = this.i18nService.t('modifiedPolicyId', p1);
break; break;
default: default:
break; break;
} }
return msg === '' ? null : msg; return {
message: msg === '' ? null : msg,
humanReadableMessage: humanReadableMsg === '' ? null : humanReadableMsg,
};
} }
private getAppInfo(deviceType: DeviceType): [string, string] { private getAppInfo(deviceType: DeviceType): [string, string] {
@ -299,6 +347,7 @@ export class EventService {
export class EventInfo { export class EventInfo {
message: string; message: string;
humanReadableMessage: string;
appIcon: string; appIcon: string;
appName: string; appName: string;
} }

View File

@ -817,6 +817,9 @@
"exportMasterPassword": { "exportMasterPassword": {
"message": "Enter your master password to export your vault data." "message": "Enter your master password to export your vault data."
}, },
"export": {
"message": "Export"
},
"exportVault": { "exportVault": {
"message": "Export Vault" "message": "Export Vault"
}, },