Created
March 25, 2020 10:29
-
-
Save vnadgir/51579b2b2e79db02b07f6046d90534aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
message AuditEvent { | |
// Who (what are the semantics of this - needs to be clarified as things settle down) | |
string user_id = 1; | |
// Which application. eg., CRM, Equinox-bill, | |
// Origin of the event | |
string origin_ip = 3; | |
// When - managed by event envelope (applies_at) | |
Timestamp when = 4; | |
// Metadata about which screen, which customer's data, etc | |
Map = 5; // sub-document in es | |
} | |
enum Application{ | |
APPLICATION_NONE = 0; | |
APPLICATION_WILLIAM = 1; | |
APPLICATION_EQUINOX_BILL = 2; | |
} | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment