Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Removes "required" field attribute #429

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -155,10 +154,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/actions/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -161,10 +160,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/alerts/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -3241,10 +3240,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/api/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -126,10 +125,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/collection/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -45,10 +44,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
5 changes: 1 addition & 4 deletions package/endpoint/data_stream/file/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -251,11 +250,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.

description: 'ECS version this event conforms to.
When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
- name: event
Expand Down
1 change: 0 additions & 1 deletion package/endpoint/data_stream/heartbeat/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/library/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -494,10 +493,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/metadata/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -153,10 +152,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/metrics/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -755,10 +754,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/network/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -310,10 +309,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/policy/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -490,10 +489,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/process/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -266,10 +265,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/registry/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -210,10 +209,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down
4 changes: 1 addition & 3 deletions package/endpoint/data_stream/security/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- name: '@timestamp'
level: core
required: true
type: date
description: 'Date/time when the event originated.

Expand Down Expand Up @@ -170,10 +169,9 @@
fields:
- name: version
level: core
required: true
type: keyword
ignore_above: 1024
description: 'ECS version this event conforms to. `ecs.version` is a required field and must exist in all events.
description: 'ECS version this event conforms to.

When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.'
example: 1.0.0
Expand Down