Skip to content

Commit 2735b45

Browse files
authored
PS-9690 [Doc] Document host wildcards support in audit_log_filter_set_user() 8.4 (#482)
On branch ps-9690 modified: docs/audit-log-filter-variables.md
1 parent f1c44d8 commit 2735b45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/audit-log-filter-variables.md

+2
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ mysql> SET audit_log_filter_set_filter('filter-name', @filter);
305305

306306
This function assigns the filter to the selected user account.
307307

308+
Starting from Percona Server for MySQL 8.4.4, the audit_log_filter_set_user() UDF accepts account names with wildcard characters (`'%'` and `'_'`) in the host part. For example, you can use `‘usr1@%'`, `‘usr2%192.168.0.%’`, or `'usr3@%.mycorp.com'`.
309+
308310
A user account can only have one filter. If the user account already has a filter, this function replaces the current filter. If the user account is in a current session, nothing happens. When the user account connects again the new filter is used.
309311

310312
The user name, `%`, is the default account. The filter assigned to `%` is used by any user account without a defined filter.

0 commit comments

Comments
 (0)