Value List Validation

Overview

The 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:
Provide the list of acceptable values in the values parameter.

field:
The field whose values the monitor checks against the list.

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

Filtering and Grouping

Value List Validation monitors allow filtering and grouping parameters.

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

Time Window (Beta)

📘

Beta

Value List Validation monitors allow time window parameters.

Threshold Settings (Beta)

📘

Beta

Value List Validation monitors allow threshold configuration.


Did this page help you?