Skip to main content

Module model

Module model 

Source
Expand description

The canonical rule representation.

A measured create response has 36 fields, which vary by rule type and Elastic version. A JSON map preserves unknown fields; a fixed struct would break round trips.

Structs§

ExportSummary
The trailer Kibana appends to an NDJSON export. It is the entire body for a zero-rule export, so it must not be parsed as a rule.
Rule

Constants§

VOLATILE_FIELDS
Server-owned fields that change on every write or execution. They are stripped before diffing to avoid false drift.

Functions§

server_defaults
Fields the server fills when a create request omits them.