This API is used to query the policy for SQL audit logs.
This API is available only to RDS for MySQL.
Name |
Mandatory |
Description |
|---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
instance_id |
Yes |
Specifies the DB instance ID. |
Name |
Type |
Description |
|---|---|---|
keep_days |
Integer |
Specifies the number of days for storing audit logs. The value is 0 when SQL audit is disabled. |
{
"keep_days":7
}
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.