Value List Validation

Overview

Sifflet Value List Validation Monitor Template is a field-level validation monitor. It checks if the monitored field contains values that are included in a predefined list of acceptable values. It fails if any value falls outside the specified list.

As Code

Monitor Kind: FieldInList
All list-based monitors are grouped under the FieldInList Monitor kind.

values:
The list of acceptable values must be provided in the values parameter.

field:
The field that the monitor should check belongs to the list.

parameters:
  kind: FieldInList
  field: LOCATION_NAME
  values:
    - FR
    - GB
    - US

Filtering and grouping

Field in list Monitors allow for filtering and grouping parameters.

parameters:
  kind: FieldInList
  field: LOCATION_NAME
  values:
    - FR
    - GB
    - US
  whereStatement: NOT invalid
  groupBy:
    field: REGION

Time Window (Beta)

📘

Beta

Field in list Monitors now allow time window parameters.

Threshold Settings (Beta)

📘

Beta

Field in list Monitors now allow threshold configuration.