Skip to content

Add a migration for a security_event_logs table

Warren Gifford requested to merge flying-robot/create-security-event-logs into main

Created by: flying-robot

The security_event_logs table houses security-related events, such as those pertaining to authn/z[0]. It is similar in structure and purpose to the normal event_logs table, but without the strict (and short) time horizon. The migration was extracted from previous work done for 2FA[1].

Any individual actor may have emitted zero, one or many events.

[0] https://sourcegraph.atlassian.net/browse/COREAPP-83 [1] https://github.com/sourcegraph/sourcegraph/pull/18185

Merge request reports

Loading