elastic / package-spec

EPR package specifications
Other
17 stars 70 forks source link

[Change Proposal] Skip validation of required fields on packages importing full ECS mappings #771

Open jsoriano opened 2 months ago

jsoriano commented 2 months ago

Packages using import_mappings: true for ECS, or the ecs@mappings template included in the stack will have definitions for the required fields.

Consider skipping validation of required fields on these packages, taking into account that it may be safer to force developers to make a conscious decision on these fields, most of them are constant keywords that could benefit from a pre-defined value.