dev/sg: improve validation of events
Created by: bobheadxi
We seem to be getting some invalid events in OkayHQ. To avoid these, we add some simple validation over events both pre-persistence and pre-submission.
Test plan
no testing
Merged by: bobheadxi at 2022-06-14 06:39:01 UTC