Function cedar_policy::confusable_string_checker

source ยท
pub fn confusable_string_checker<'a>(
    templates: impl Iterator<Item = &'a Template> + 'a
) -> impl Iterator<Item = ValidationWarning<'static>> + 'a
Expand description

Scan a set of policies for potentially confusing/obfuscating text. These checks are also provided through Validator::validate which provides more comprehensive error detection, but this function can be used to check for confusable strings without defining a schema.