MXS-1346: Add new rule to dbfwfilter documentation

Added the new rule to the documentation and mentioned it in the release
notes.
This commit is contained in:
Markus Mäkelä 2017-08-23 13:26:39 +03:00
parent c05bb3593a
commit 64642a4d6d
2 changed files with 20 additions and 0 deletions

View File

@ -183,6 +183,20 @@ Deny SUM and COUNT functions:
rule examplerule deny function sum count
```
#### `uses_function`
This rule expects a list of column names after the keyword. If any of the
columns are used with a function, the rule will match. This rule can be
used to prevent the use of a column with a function.
##### Example
Deny function usage with _name_ and _address_ columns:
```
rule examplerule deny uses_function name address
```
#### `regex`
This rule blocks all queries matching a regex enclosed in single or double

View File

@ -145,6 +145,12 @@ query forms) and kills the MaxScale session with the given id. This feature has
some limitations, see [Limitations](../About/Limitations.md) for more
information.
### New `uses_function` rule for dbfwfilter
The `uses_function` type rule prevents certain columns from being used
with functions. For more information about this new rule, read the
[dbfwfilter](../Filters/Database-Firewall-Filter.md) documentation.
## Bug fixes
[Here is a list of bugs fixed since the release of MaxScale 2.1.X.]()