Inline whitelist and blacklist checks
Use the inline whitelist and blacklist checks to validate if the value is present in the list of strings you passed as attributes.
Keywords: is_in
, is_in_ci
, is_not_in
, is_not_in_ci
Make sure the number of entries for whitelist and blacklist should not be more than 20 to save readability of DSL.
is_in
andis_in_ci
checks if the value is present in the given attributes (whitelist).is_not_in
andis_not_in_ci
checks if the value is absent in the given attributes (blacklist).
is_in
and is_not_in
are case sensitive whereas is_in_ci
and is_not_in_ci
are case insensitive.
For example:
is_in(\"ssn\",\"ssnnumber\",\"ssnno\")
is_in_ci(\"ssn\",\"ssnNumber\",\"ssnNo\")
is_not_in(\"ssn\",\"ssnnumber\",\"ssnno\")
is_not_in_ci(\"ssn\",\"ssnNumber\",\"ssnNo\")