Add scope field to audit event yaml
Release Notes
Audit events now include a scope
field indicating if the event is associated with an Instance, Group, Project, or User. This new attribute helps users determine through both our Audit event type documentation and Audit event payloads where an event generated. This can be leveraged for parsing through external streaming destinations or to better understand context around generated events to take action.
Problem
In Add column to audit event docs for whether its ... (#438620 - closed) we updated our automated audit event type docs to include a new scope
field with possible values being Group
, Project
, User
, Gitlab::Audit::InstanceScope
.
For the currently 301 audit event YAMLs we will not have this field and will need to be added.
Proposal
Add scope
field to current audit event yaml for whether its project, group or instance.