function

classfilterdata

A built-in CFEngine function in the io category that returns a data container. classfilterdata is not called from the policy on your hosts.

Signature
classfilterdata(string, option, [string], ...)
Parameters
  1. string CFEngine variable identifier or inline JSON (.*)
  2. option Specify type of data structure (array_of_arrays,array_of_objects,object_of_arrays,object_of_objects,auto)
  3. string Key or index of class expressions (.*)
Variadic: at least 2 and at most 3 arguments.
Returns
data
Category
io