Skip to content

Commit

Permalink
Add host.user.* deprecation notice in field reuse description (#1422)…
Browse files Browse the repository at this point in the history
… (#1425)
  • Loading branch information
ebeahan authored May 19, 2021
1 parent f62e4c4 commit 97ce65c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Thanks, you're awesome :-) -->

#### Deprecated

* Note deprecation of the `host.user.*` field reuse. #1422

### Tooling and Artifact Changes

#### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4143,7 +4143,7 @@ example: `1325`

| <<ecs-user,user>>
| `host.user.*`
| Fields to describe the user relevant to the event.
| This reuse is deprecated and will be removed in the next major ECS version.

// ===============================================================

Expand Down
10 changes: 6 additions & 4 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6159,7 +6159,7 @@ host:
short: OS fields contain information about the operating system.
- full: host.user
schema_name: user
short: Fields to describe the user relevant to the event.
short: This reuse is deprecated and will be removed in the next major ECS version.
short: Fields describing the relevant computing instance.
title: Host
type: group
Expand Down Expand Up @@ -15831,9 +15831,6 @@ user:
- as: user
at: destination
full: destination.user
- as: user
at: host
full: host.user
- as: user
at: server
full: server.user
Expand All @@ -15852,6 +15849,11 @@ user:
at: user
full: user.changes
short_override: Captures changes made to a user.
- as: user
at: host
full: host.user
short_override: This reuse is deprecated and will be removed in the next major
ECS version.
top_level: true
reused_here:
- full: user.group
Expand Down
10 changes: 6 additions & 4 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5437,7 +5437,7 @@ host:
short: OS fields contain information about the operating system.
- full: host.user
schema_name: user
short: Fields to describe the user relevant to the event.
short: This reuse is deprecated and will be removed in the next major ECS version.
short: Fields describing the relevant computing instance.
title: Host
type: group
Expand Down Expand Up @@ -12255,9 +12255,6 @@ user:
- as: user
at: destination
full: destination.user
- as: user
at: host
full: host.user
- as: user
at: server
full: server.user
Expand All @@ -12276,6 +12273,11 @@ user:
at: user
full: user.changes
short_override: Captures changes made to a user.
- as: user
at: host
full: host.user
short_override: This reuse is deprecated and will be removed in the next major
ECS version.
top_level: true
reused_here:
- full: user.group
Expand Down
4 changes: 3 additions & 1 deletion schemas/user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
expected:
- client
- destination
- host
- server
- source
- at: user
Expand All @@ -27,6 +26,9 @@
- at: user
as: changes
short_override: Captures changes made to a user.
- at: host
as: user
short_override: This reuse is deprecated and will be removed in the next major ECS version.

# TODO Temporarily commented out to simplify initial rewrite review

Expand Down

0 comments on commit 97ce65c

Please sign in to comment.