百度智能云

All Product Document

          Database Audit

          Enable Audit Service

          The following are the instructions for Database Audit (DBAudit) to enable the audit service. For details, see the following instructions.

          Add Audit Cluster

          • You can add an instance cluster via the Management Console of Database Audit.
          • The Database Audit Cluster allows you to perform logical grouping on the database instance you want to audit.

          Select Instance

          Select “Database Audit > Data Instance Management” and then the Audit Instance Cluster to enter the “Instance List”. Then, click “Add Instance” and select a MySQL instance you created in a Cloud database RDS. When you add an instance, the system associates its read-only instance automatically. Click Finish to create the instance.

          image.png

          Apply Audit Policy

          1. If failed to enable the instance audit after the instance addition, the policy application column shows an exclamation mark, indicating the failure to apply the audit policy.

            image.png

          2. Click the exclamation mark in the policy application column, and click the Bind Policies link in the hint to bind audit policies.

            image.png

          3. In the Bind Policies interface, select an audit policy created in advance (The default policies are those that contain all audit rules) and click OK to bind policies.

          image.png

          1. After binding the policy, the Policy Application**** column shows the selected audit policy name.

            image.png

          Enable and Disable Audit

          After you bind a policy, select instances to be audited, and click Enable Audit in the Operation column to start auditing. For the instance for which the audit begins, click Disable Audit in the Operation column to stop auditing.

          Change Audit Policy

          1. Select “Database Audit > Data Instance Management”, click the audit cluster where the instance for which you want to change the audit policy is located, and enter the “Instance List”.
          2. Select instances for which you want to change the audit policy.
          3. Click Change Policy, select the policy you want to use, and click OK to update the audit policy.

          image.png

          Previous
          Getting Started
          Next
          Audit Rules and Policies