Skip to content

Conversation

@adriansr
Copy link
Contributor

@adriansr adriansr commented Mar 9, 2020

What does this PR do?

Updates the fields.yml and generated Go code to ECS v1.5.0.

Why is it important?

So we can update Beats to ship data using 1.5 fields.

Why no changelog entry?

Because this update doesn't impact the user until we start adding/updating data sources that populate those fields.

@adriansr adriansr requested a review from a team as a code owner March 9, 2020 13:47
@adriansr adriansr changed the title Update fields.ecs.yml to ECS 1.5 Update fields.ecs.yml to ECS v1.5.0 Mar 9, 2020
@adriansr adriansr requested a review from a team March 9, 2020 13:48
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

Copy link
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@webmat webmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adriansr
Copy link
Contributor Author

jenkins, test this

@adriansr
Copy link
Contributor Author

jenkins, test this

Fields' docs generation is failing in some systems when non-ascii
characters appear in the fields descriptions and/or examples.
Changes in generators caused examples to be serialised differently
The fields docs generator was having trouble representing an example as
an object in a way that was consistent across different python3 versions
due to keys in a dict being serialised to string with different
orderings. This caused checks to fail.
Copy link
Contributor

@webmat webmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

adriansr added a commit to adriansr/beats that referenced this pull request Mar 16, 2020
* Update vendored elastic/ecs to v1.5.0

* Update fields.ecs.yml to v1.5.0

* Fix encoding issue in fields' docs

Fields' docs generation is failing in some systems when non-ascii
characters appear in the fields descriptions and/or examples.

* Patch fields.ecs.yml to avoid parser trouble

The fields docs generator was having trouble representing an example as
an object in a way that was consistent across different python3 versions
due to keys in a dict being serialised to string with different
orderings. This caused checks to fail.

(cherry picked from commit 76dcd34)
adriansr added a commit that referenced this pull request Mar 17, 2020
* Update vendored elastic/ecs to v1.5.0

* Update fields.ecs.yml to v1.5.0

* Fix encoding issue in fields' docs

Fields' docs generation is failing in some systems when non-ascii
characters appear in the fields descriptions and/or examples.

* Patch fields.ecs.yml to avoid parser trouble

The fields docs generator was having trouble representing an example as
an object in a way that was consistent across different python3 versions
due to keys in a dict being serialised to string with different
orderings. This caused checks to fail.

(cherry picked from commit 76dcd34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants