Skip to content

[field validation] Check values against ECS expected_values #864

@andrewkroh

Description

@andrewkroh

ECS added an expected_values list its schema to facilitate data validation. elastic-package should check data against this list when validating documents.

- name: faas
  fields:
    - name: trigger.type
      type: keyword
      expected_values:
        - http
        - pubsub
        - data source
        - timer
        - other

Metadata

Metadata

Assignees

Labels

Team:EcosystemLabel for the Packages Ecosystem teamenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions