docs typos fixing
This commit is contained in:
committed by
Markus Mäkelä
parent
6c583c43dd
commit
b85b4010f2
@ -2,7 +2,7 @@
|
||||
|
||||
## Overview
|
||||
|
||||
The database firewall filter is used to block queries that match a set of
|
||||
The Database Firewall filter is used to block queries that match a set of
|
||||
rules. It can be used to prevent harmful queries from reaching the backend
|
||||
database instances or to limit access to the database based on a more flexible
|
||||
set of rules compared to the traditional GRANT-based privilege system. Currently
|
||||
@ -10,9 +10,9 @@ the filter does not support multi-statements.
|
||||
|
||||
## Configuration
|
||||
|
||||
The database firewall filter only requires minimal configuration in the
|
||||
maxscale.cnf file. The actual rules of the database firewall filter are located
|
||||
in a separate text file. The following is an example of a database firewall
|
||||
The Database Firewall filter only requires minimal configuration in the
|
||||
maxscale.cnf file. The actual rules of the Database Firewall filter are located
|
||||
in a separate text file. The following is an example of a Database Firewall
|
||||
filter configuration in maxscale.cnf.
|
||||
|
||||
```
|
||||
@ -32,7 +32,7 @@ filters=DatabaseFirewall
|
||||
|
||||
### Filter Parameters
|
||||
|
||||
The database firewall filter has one mandatory parameter, `rules`.
|
||||
The Database Firewall filter has one mandatory parameter, `rules`.
|
||||
|
||||
#### `rules`
|
||||
|
||||
@ -128,7 +128,7 @@ parameter (_allow_, _block_ or _ignore_).
|
||||
|
||||
### Mandatory rule parameters
|
||||
|
||||
The database firewall filter's rules expect a single mandatory parameter for a
|
||||
The Database Firewall filter's rules expect a single mandatory parameter for a
|
||||
rule. You can define multiple rules to cover situations where you would like to
|
||||
apply multiple mandatory rules to a query.
|
||||
|
||||
@ -260,7 +260,7 @@ Shows the current statistics of the rules.
|
||||
|
||||
To prevent the excessive use of a database we want to set a limit on the rate of
|
||||
queries. We only want to apply this limit to certain queries that cause unwanted
|
||||
behavior. To achieve this we can use a regular expression.
|
||||
behaviour. To achieve this we can use a regular expression.
|
||||
|
||||
First we define the limit on the rate of queries. The first parameter for the
|
||||
rule sets the number of allowed queries to 10 queries and the second parameter
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
This filter was introduced in MariaDB MaxScale 2.1.
|
||||
|
||||
## Overview
|
||||
The maxrows filter is capable of restricting the amount of rows that a SELECT,
|
||||
The Maxrows filter is capable of restricting the amount of rows that a SELECT,
|
||||
a prepared statement or stored procedure could return to the client application.
|
||||
|
||||
If a resultset from a backend server has more rows than the configured limit
|
||||
@ -12,7 +12,7 @@ or the resultset size exceeds the configured size,
|
||||
|
||||
## Configuration
|
||||
|
||||
The maxrows filter is easy to configure and to add to any existing service.
|
||||
The Maxrows filter is easy to configure and to add to any existing service.
|
||||
|
||||
```
|
||||
[MaxRows]
|
||||
@ -27,7 +27,7 @@ filters=maxrows
|
||||
|
||||
### Filter Parameters
|
||||
|
||||
The maxrows filter has no mandatory parameters.
|
||||
The Maxrows filter has no mandatory parameters.
|
||||
Optional parameters are:
|
||||
|
||||
#### `max_resultset_rows`
|
||||
@ -81,7 +81,7 @@ ERROR 1415 (0A000): Row limit/size exceeded for query: select * from test.t4
|
||||
|
||||
#### `debug`
|
||||
|
||||
An integer value, using which the level of debug logging made by the maxrows
|
||||
An integer value, using which the level of debug logging made by the Maxrows
|
||||
filter can be controlled. The value is actually a bitfield with different bits
|
||||
denoting different logging.
|
||||
|
||||
@ -97,8 +97,8 @@ debug=2
|
||||
|
||||
## Example Configuration
|
||||
|
||||
Here is an example of filter configuration where the max number of returned
|
||||
rows is 10000 and max allowed resultset size is 256KB
|
||||
Here is an example of filter configuration where the maximum number of returned
|
||||
rows is 10000 and maximum allowed resultset size is 256KB
|
||||
|
||||
```
|
||||
[MaxRows]
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
## Overview
|
||||
|
||||
The regex filter is a filter module for MariaDB MaxScale that is able to rewrite query content using regular expression matches and text substitution. It uses the PCRE2 syntax which differs from the POSIX regular expressions used in MariaDB MaxScale versions prior to 1.3.0.
|
||||
The Regex filter is a filter module for MariaDB MaxScale that is able to rewrite query content using regular expression matches and text substitution. It uses the PCRE2 syntax which differs from the POSIX regular expressions used in MariaDB MaxScale versions prior to 1.3.0.
|
||||
|
||||
For all details about the PCRE2 syntax, please read the [PCRE2 syntax documentation](http://www.pcre.org/current/doc/html/pcre2syntax.html).
|
||||
|
||||
@ -30,7 +30,7 @@ filters=MyRegexfilter
|
||||
|
||||
## Filter Options
|
||||
|
||||
The regex filter accepts the options ignorecase or case. These define if the pattern text should take the case of the string it is matching against into consideration or not.
|
||||
The Regex filter accepts the options ignorecase or case. These define if the pattern text should take the case of the string it is matching against into consideration or not.
|
||||
|
||||
## Filter Parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user