Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/en/08-operation/16-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ Additionally, for an audit database:
- `WAL_LEVEL` defaults to 2 and cannot be changed by the user.
- `ENCRYPT_ALGORITHM` cannot be specified as `None`. The user can choose any symmetric encryption algorithm in CBC mode.

Audit databases created before version 3.4.0.0 are incompatible with audit features in version 3.4.0.0 and later. In older versions, the `is_audit` parameter was not enforced, so there were no mandatory requirements for `DURATION`, `WAL_LEVEL`, and `ENCRYPT_ALGORITHM`. To enable new audit features for an old audit database, it must be dropped and recreated. As a workaround to access data from a pre-3.4.0.0 audit database in a newer version (without new audit features), you can disable `auditUseToken` by setting it to 0.

### taosKeeper Configuration

Configure the related parameters for audit logs in the taosKeeper configuration file `keeper.toml`, as shown in the table below
Expand Down
2 changes: 2 additions & 0 deletions docs/zh/08-operation/16-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ database_option: {

另外,作为审计库,keep 默认为 1825d,如果用户指定 keep,要求大于 1825d;WAL_LEVEL 默认为 2,用户不能更改;ENCRYPT_ALGORITHM 用户不能指定为 None,可以选择任意一种 CBC 模式的对称加密算法。

在 3.4.0.0 之前版本创建的审计库,与 3.4.0.0 及之后版本的审计库不兼容。3.4.0.0 之前版本的审计库无法开启 is_audit 参数,因此不会对 DURATION、WAL_LEVEL、ENCRYPT_ALGORITHM 做强制要求。对于 3.4.0.0 之前创建的审计库,如需使用新版本的审计能力,建议先 drop 该审计库后再重新创建。如果要在 3.4.0.0 之后的版本中继续使用由 3.4.0.0 之前版本创建的审计库,则需要将 auditUseToken 关闭(设置为 0)。

### taosKeeper 配置

在 taosKeeper 的配置文件 keeper.toml 中配置与审计日志有关的配置参数,如下表所示
Expand Down
Loading