Assert
Assert (assert
)
Section titled “Assert (assert)”Validate an event against a JSON Schema, based on IETF’s draft v7 (http://json-schema.org).
Contents
Section titled “Contents”Fields
Section titled “Fields”Field | Type | Required | Description |
---|---|---|---|
description | string | describe this step. | |
condition | lua-expression (string ) | Only run this action if the specified condition is met. | |
schema | assert:schema | ✅ | The JSON schema to validate an event against. |
behaviour | assert:behaviour | ✅ | What the job should do if it encounters a schema violation. |
suppress-warnings | boolean (bool ) | Suppress warnings generated by this action. |