Mondoo Docs
Built-in FunctionsMap

contains

contains

Check whether any entry in the map satisfies a condition. Returns true if at least one match is found.


Examples

At least one kernel parameter vm.swappiness is set to 60 or less:

kernel.parameters.contains(key == "vm.swappiness" && value <= 60)

On this page