You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changelog: Added an optional parameter strict for validjson and
validdata policy functions. This makes the functions evaluate to false on json primitives.
Ticket: CFE-4163
Signed-off-by: Victor Moene <victor.moene@northern.tech>
{CF_ANYSTRING, CF_DATA_TYPE_STRING, "String to validate as JSON"},
9905
+
{CF_BOOL, CF_DATA_TYPE_OPTION, "Enable more strict validation, requiring the result to be a valid data container, matching the requirements of parsejson()."},
{CF_ANYSTRING, CF_DATA_TYPE_STRING, "String to validate as JSON"},
9943
9961
{"JSON", CF_DATA_TYPE_OPTION, "Type of data to validate"},
9962
+
{CF_BOOL, CF_DATA_TYPE_OPTION, "Enable more strict validation, requiring the result to be a valid data container, matching the requirements of parsejson()."},
FnCallTypeNew("variablesmatching", CF_DATA_TYPE_STRING_LIST, CLASSMATCH_ARGS, &FnCallVariablesMatching, "List the variables matching regex arg1 and tag regexes arg2,arg3,...",
0 commit comments