Add runner settings changes to audit events
Note:
Refer to this new epic for tracking the work related to adding audit events for GitLab Runner.
Audit need
When admins, group/project owners/maintainers modify a runner, it is important to preserve a trail of data of the event.
Proposal
Add the following audit events for when a GitLab Runner is registered at the instance, group, or project level.
- Date and timestamp in UTC
- Public IP address (i.e. the source IP address from where the registration command was run)
- hash of the registration token
- name of the property changed
- previous and new property values
Please refer to the description of https://gitlab.com/gitlab-org/gitlab-ee/issues/8073 for full log options.
Solution
Implementation would be a EE::Audit::RunnerChangesAuditor
class similar to this.
Links
Edited by Pedro Pombeiro