Skip to content
Snippets Groups Projects
Commit 8b403d17 authored by Michael Becker's avatar Michael Becker
Browse files

Rename `audit_logs_params` -> `audit_events_params`

This is another commit related to [issue 292667][0]

In this commit, I renaming some controller concerns and their usages

This should be a fairly low-risk change

Background on the Change
-----------------------------

We are deprecating "Audit Log" terminology in favor of "Audit
Event" terminology as described in the linked issue

I have used the following regex to identify places in the code where
the "Audit Log" terminology is used as opposed to "Audit
Event" terminology:

```sh
 ag --color --hidden \
    --ignore .git \
    --ignore doc \
    --ignore changelogs \
    --ignore data \
    --ignore locale \
    --ignore "CHANGELOG*" \
    '^.*(?<!features\(admin_|features\(|flags\(|features\()[aA]udit[_-]?\s?[Ll]ogs?'
```

The first half of the
regex (`(?<!features\(admin_|features\(|flags\(|features\()`) is meant
to exclude feature flag names as I will be ignoring those for the
overall re-naming effort

[0]:https://gitlab.com/gitlab-org/gitlab/-/issues/292667
parent 0d6a7c77
Branches feat/292667-pt4
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment