Skip to content
代码片段 群组 项目
提交 c2b7bf7c 编辑于 作者: Evan Read's avatar Evan Read
浏览文件

Remove now superfluous 'Streamed' column from audit event types tables

上级 51edd7a3
No related branches found
No related tags found
无相关合并请求
无法显示 源差异:它太大了。解决此问题的选项:查看blob
......@@ -37,7 +37,7 @@
let(:removed_definition) { Gitlab::Audit::Type::Definition.definitions.except(:feature_flag_created) }
let(:updated_definition) do
definitions = Gitlab::Audit::Type::Definition.definitions
definitions[:feature_flag_created].attributes[:streamed] = false
definitions[:feature_flag_created].attributes[:saved_to_database] = false
definitions
end
......
......@@ -38,17 +38,20 @@ DETAILS:
**Tier:** Premium, Ultimate
**Offering:** GitLab.com, Self-managed, GitLab Dedicated
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/172757) in GitLab 17.7, all audit events can be streamed.
Audit event types are used to filter streamed audit events:
- [For instances](../../administration/audit_event_streaming/index.md#update-event-filters).
- [For top-level groups](audit_event_streaming.md#update-event-filters)
Every audit event is associated with an event type. Audit event types can allow audit events to be:
Every audit event is associated with an event type. Audit event types can allow:
- Saved to the database. Available in the Premium and Ultimate tier. You can retrieve audit events associated with these
types by using the audit events dashboard or the [audit events API](../../api/audit_events.md).
- Streamed to external destinations. Available in the Ultimate tier. You can stream audit events associated with these
types to external destinations if a destination is set.
- Most audit events to be saved to the database. Available in the Premium and Ultimate tier. You can retrieve
audit events associated with these types by using the audit events dashboard or the
[audit events API](../../api/audit_events.md).
- All audit events to be streamed to external destinations. Available in the Ultimate tier. You can stream audit events
associated with these types to external destinations if a destination is set.
Some audit event types don't allow saving audit events to the database. Other audit event types don't allow streaming
audit events to external destinations.
......@@ -65,8 +68,8 @@ Audit event types belong to the following product categories.
### <%= "#{humanize(category)}" %>
| Name | Description | Saved to database | Streamed | Introduced in | Scope |
| Name | Description | Saved to database | Introduced in | Scope |
|:------------|:------------|:------------------|:---------|:--------------|:--------------|
<% audit_event_types.each do |event_type| %>| <%= "[`#{event_type.name}`](#{event_type.introduced_by_mr})" %> | <%= event_type.description %> | <%= boolean_to_docs(event_type.saved_to_database) %> | <%= boolean_to_docs(event_type.streamed) %> | GitLab <%= "[#{event_type.milestone}](#{event_type.introduced_by_issue})" %> | <%= event_type.scope&.join(", ") %> |
<% audit_event_types.each do |event_type| %>| <%= "[`#{event_type.name}`](#{event_type.introduced_by_mr})" %> | <%= event_type.description %> | <%= boolean_to_docs(event_type.saved_to_database) %> | GitLab <%= "[#{event_type.milestone}](#{event_type.introduced_by_issue})" %> | <%= event_type.scope&.join(", ") %> |
<% end %>
<% end %>
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册