Will Ho
12/14/2023, 11:24 PMapiVersion: api.cerbos.dev/v1
description: My variable
exportVariables:
  name: my_variable
  definitions: 
    variable_definition:
    - foo
    - bar
However, Cerbos errors out with /exportVariables/definitions/variable_definition: expected string, but got array]".
Is it possible to define a static list of strings for a variable?Dennis (Cerbos)
variable_definition: '["foo", "bar"]'. Here, the YAML parser sees it as a string, and then CEL parses it as an array.Will Ho
12/15/2023, 6:15 PMWill Ho
12/15/2023, 6:16 PMOleh Zhovnuvatyi
01/03/2024, 11:42 PM