Add project CI/CD settings changes to audit events
Problem to solve
We should track configuration changes made to a project's CI/CD settings.
Target audience
Further details
Related to https://gitlab.com/gitlab-org/gitlab-ee/issues/9328
Acceptance criteria
- General pipeline settings
- Auto DevOps settings
- Runners settings (also in https://gitlab.com/gitlab-org/gitlab-ee/issues/8074 for projects and groups)
- Secret variables (also in https://gitlab.com/gitlab-org/gitlab-ee/issues/8070 for projects and groups)
- Pipeline triggers
Solution
Project CI/CD setting:
-
Update
Git strategy for pipelines fromclone/fetch
toclone/fetch
-
Update
the timeout threshold fromx
toz
-
Add
custom CI config path to `my_path/.gitlab-ci.yml`` -
Enabled/Disabled
public access to pipelines and job details, including output logs and artifacts -
Enabled/Disabled
auto-cancel redundant, pending pipelines -
Enabled/Disabled
test coverage parsing using expressionexample_\(\d+.\d+\%\)
Auto DevOps:
-
Enabled/Disabled
default to Auto DevOps pipeline -
Update
deployment strategy fromx
toz
Protected Environments:
-
Protected/Unprotected
environmentx
,add/remove
user_or_role_name
to be allowed to deploy
Runners:
-
Installed
runner on Kubernetes -
Disabled
shared runners -
Paused/removed
runner#00000
Environment variables:
- Clicking "Reveal values"
-
Add/Remove
environment keykey_name
and set asprotected/unprotected
toenvironment_name
Not displaying the value:
-
Update
environment variable status forkey_name
fromprotected/unprotected
toprotected/unprotected
Pipeline triggers:
-
Add/Remove/Update
trigger description fromdescription_text
todescription_text
License Management
-
Add/Remove/Update
license from/tolicense_type
tolicense_type
and add toapprove/blacklist
Here's an example of how it could look like in a table view:
Author | Action | Target | At |
---|---|---|---|
John Doe | Update git strategy for pipelines from clone to fetch, entity path user/project | project_name | 2019-01-22 12:43:20 UTC |
Documentation
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
Edited by Jason Yavorska