Skip to content

Commit cff750b

Browse files
committed
fix indentations
1 parent 6c45821 commit cff750b

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

articles/mariadb/howto-configure-audit-logs-cli.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,24 @@ To step through this how-to guide, you need:
3131
Enable and configure audit logging using the following steps:
3232

3333
1. Turn on audit logs by setting the **audit_logs_enabled** parameter to "ON".
34-
```azurecli-interactive
35-
az mariadb server configuration set --name audit_log_enabled --resource-group myresourcegroup --server mydemoserver --value ON
36-
```
34+
```azurecli-interactive
35+
az mariadb server configuration set --name audit_log_enabled --resource-group myresourcegroup --server mydemoserver --value ON
36+
```
3737
3838
1. Select the [event types](concepts-audit-logs.md#configure-audit-logging) to be logged by updating the **audit_log_events** parameter.
39-
```azurecli-interactive
40-
az mariadb server configuration set --name audit_log_events --resource-group myresourcegroup --server mydemoserver --value "ADMIN,CONNECTION"
41-
```
39+
```azurecli-interactive
40+
az mariadb server configuration set --name audit_log_events --resource-group myresourcegroup --server mydemoserver --value "ADMIN,CONNECTION"
41+
```
4242
4343
1. Add any MariaDB users to be excluded from logging by updating the **audit_log_exclude_users** parameter. Specify users by providing their MariaDB user name.
44-
```azurecli-interactive
45-
az mariadb server configuration set --name audit_log_exclude_users --resource-group myresourcegroup --server mydemoserver --value "azure_superuser"
46-
```
44+
```azurecli-interactive
45+
az mariadb server configuration set --name audit_log_exclude_users --resource-group myresourcegroup --server mydemoserver --value "azure_superuser"
46+
```
4747
4848
1. Add any specific MariaDB users to be included for logging by updating the **audit_log_include_users** parameter. Specify users by providing their MariaDB user name.
49-
```azurecli-interactive
50-
az mariadb server configuration set --name audit_log_include_users --resource-group myresourcegroup --server mydemoserver --value "sampleuser"
51-
```
49+
```azurecli-interactive
50+
az mariadb server configuration set --name audit_log_include_users --resource-group myresourcegroup --server mydemoserver --value "sampleuser"
51+
```
5252
5353
## Next steps
5454

articles/mysql/howto-configure-audit-logs-cli.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,24 @@ To step through this how-to guide, you need:
3131
Enable and configure audit logging using the following steps:
3232

3333
1. Turn on audit logs by setting the **audit_logs_enabled** parameter to "ON".
34-
```azurecli-interactive
35-
az mysql server configuration set --name audit_log_enabled --resource-group myresourcegroup --server mydemoserver --value ON
36-
```
34+
```azurecli-interactive
35+
az mysql server configuration set --name audit_log_enabled --resource-group myresourcegroup --server mydemoserver --value ON
36+
```
3737
3838
1. Select the [event types](concepts-audit-logs.md#configure-audit-logging) to be logged by updating the **audit_log_events** parameter.
39-
```azurecli-interactive
40-
az mysql server configuration set --name audit_log_events --resource-group myresourcegroup --server mydemoserver --value "ADMIN,CONNECTION"
41-
```
39+
```azurecli-interactive
40+
az mysql server configuration set --name audit_log_events --resource-group myresourcegroup --server mydemoserver --value "ADMIN,CONNECTION"
41+
```
4242
4343
1. Add any MySQL users to be excluded from logging by updating the **audit_log_exclude_users** parameter. Specify users by providing their MySQL user name.
44-
```azurecli-interactive
45-
az mysql server configuration set --name audit_log_exclude_users --resource-group myresourcegroup --server mydemoserver --value "azure_superuser"
46-
```
44+
```azurecli-interactive
45+
az mysql server configuration set --name audit_log_exclude_users --resource-group myresourcegroup --server mydemoserver --value "azure_superuser"
46+
```
4747
4848
1. Add any specific MySQL users to be included for logging by updating the **audit_log_include_users** parameter. Specify users by providing their MySQL user name.
49-
```azurecli-interactive
50-
az mysql server configuration set --name audit_log_include_users --resource-group myresourcegroup --server mydemoserver --value "sampleuser"
51-
```
49+
```azurecli-interactive
50+
az mysql server configuration set --name audit_log_include_users --resource-group myresourcegroup --server mydemoserver --value "sampleuser"
51+
```
5252
5353
## Next steps
5454
- Learn more about [audit logs](concepts-audit-logs.md) in Azure Database for MySQL

0 commit comments

Comments
 (0)