Skip to content
代码片段 群组 项目
未验证 提交 ac0e54a2 编辑于 作者: Rajendra Kadam's avatar Rajendra Kadam 提交者: GitLab
浏览文件

Merge branch 'dj/rename-pre-receive-audit-event' into 'master'

Update audit event for secret push protection

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154588



Merged-by: default avatarRajendra Kadam <rkadam@gitlab.com>
Approved-by: default avatarJuliet Wanjohi <jwanjohi@gitlab.com>
Approved-by: default avatarSerena Fang <sfang@gitlab.com>
Approved-by: default avatarRajendra Kadam <rkadam@gitlab.com>
Reviewed-by: default avatarRajendra Kadam <rkadam@gitlab.com>
Co-authored-by: default avatarDheeraj Joshi <djoshi@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -419,7 +419,7 @@ Audit event types belong to the following product categories.
| Name | Description | Saved to database | Streamed | Introduced in | Scope |
|:------------|:------------|:------------------|:---------|:--------------|:--------------|
| [`skip_pre_receive_secret_detection`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147855) | Triggered when secret push protection is skipped by the user| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.11](https://gitlab.com/gitlab-org/gitlab/-/issues/441185) | Project |
| [`skip_secret_push_protection`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147855) | Triggered when secret push protection is skipped by the user| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.11](https://gitlab.com/gitlab-org/gitlab/-/issues/441185) | Project |
### Security policy management
......
---
name: skip_pre_receive_secret_detection
name: skip_secret_push_protection
description: Triggered when secret push protection is skipped by the user
introduced_by_issue: https://gitlab.com/gitlab-org/gitlab/-/issues/441185
introduced_by_mr: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147855
......
......@@ -128,7 +128,7 @@ def log_audit_event(skip_method)
message = "#{_('Secret push protection skipped via')} #{skip_method}"
audit_context = {
name: "skip_pre_receive_secret_detection",
name: "skip_secret_push_protection",
author: changes_access.user_access.user,
target: project,
scope: project,
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册