rds__SetAuditlogPolicy
Set or update an RDS instance's audit log policy, including retention days and audited operation types; use a retention value of 0 to disable auditing.
Instructions
[RDS] 设置审计日志策略。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"keep_days": "<keep_days>",
"project_id": "<project_id>"
},
"name": "rds__SetAuditlogPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep_days | Yes | 审计日志保存天数,取值范围0~732。0表示关闭审计日志策略。 | |
| project_id | Yes | 项目ID。 | |
| audit_types | No | 审计记录的操作类型,动态范围。空表示不过滤任何操作类型。 | |
| instance_id | Yes | 实例ID。 | |
| reserve_auditlogs | No | 仅关闭审计日志策略时有效。 |