Remove deprecated AuditEventService from RunnerAuditEventService
What does this MR do and why?
This MR removes the deprecated AuditEventService
from RunnerAuditEventService
, as suggested in the documentation.
EE: true
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
- Refactor runner audit event logging to stop usi... (#507783 - closed)
- !173885 (comment 2239279567)
- #374110
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Go to http://gdk.test:3000/admin/runners and register a new runner (using the runner registration token hidden in the kebab menu):
gitlab-runner register --url http://gdk.test:3000 -t $YOUR_TOKEN --non-interactive --executor shell --config ~/.gitlab-runner/config.gdk.toml
-
Check that the event was logged in http://gdk.test:3000/admin/audit_logs
-
This can be repeated at the group (e.g. http://gdk.test:3000/groups/gitlab-org/-/runners) and project level (e.g. http://gdk.test:3000/gitlab-org/gitlab-test/-/settings/ci_cd).