Aegis icon indicating copy to clipboard operation
Aegis copied to clipboard

Add audit log

Open michaelschattgen opened this issue 1 year ago • 3 comments

This pull request is aiming to give more insight to important events that occurred within the app. We chose to use a SQLite database in combination with Room. I've made the choice to only show the entries of the last 30 days for now, but we might want to change that in the future.

The events we're currently tracking are:

  • Vault unlocked
  • Backup created
  • Vault exported
  • Entry shared
  • Failed vault unlock attempt with password
  • Failed vault unlock attempt with biometrics

Feel free to comment on this PR if you think we need to track other events.

This is discussed in #1069 and makes it possible to implement #1132.

michaelschattgen avatar Apr 17 '24 12:04 michaelschattgen

@michaelschattgen A small suggestion is to delete the entries greater than 30 days periodically.

InfiniteCoder06 avatar Apr 19 '24 03:04 InfiniteCoder06

I like this feature! I think it should also track when the vault password has been changed.

elliotwutingfeng avatar Apr 20 '24 22:04 elliotwutingfeng

@elliotwutingfeng I like that! I'm leaving this pull request for what it is (otherwise it will never get done) but that's definitely going on the backlog. Thanks for the suggestion.

michaelschattgen avatar Apr 20 '24 22:04 michaelschattgen