Skip to content

[field validation] Check event.type values are aligned with event.category #837

@andrewkroh

Description

@andrewkroh

The event.type values are constrained based on the event.category values. Each category value has an expected list of event.type values that can be used. ECS lists these values expected_event_types in ecs_flat.yml 1.

As a package developer I would like elastic-package to validate the event.category and event.type combinations used events to ensure they are allowed by ECS.

Related

Footnotes

  1. https://github.com/elastic/ecs/blob/b2df3bc395e125b9380a25e009eddef1b1890476/generated/ecs/ecs_flat.yml#L2645-L2648

Metadata

Metadata

Assignees

Labels

Team:EcosystemLabel for the Packages Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions