List
The list
adapter makes it possible to perform simple whitelist or blacklist checks. You can configure the adapter with the list to check, or you can point it to a URL from where the list should be fetched. Lists can be simple strings, IP addresses, or regex patterns.
Params
Configuration format for the list
adapter.
Params.ListEntryType
Determines the type of list that the adapter is consulting.
Name | Description |
---|---|
STRINGS | List entries are treated as plain strings. |
CASE_INSENSITIVE_STRINGS | List entries are treated as case-insensitive strings. |
IP_ADDRESSES | List entries are treated as IP addresses and ranges. |
REGEX | List entries are treated as re2 regexp. See https://github.com/google/re2/wiki/Syntax for syntax. |