Updated on 2024-12-19 GMT+08:00

Management an Audit Scope

After adding an audit scope, you can view, enable, edit, disable, or delete the audit scope.

Prerequisites

  • You have purchased a database audit instance and the Status is Running.
  • The audit scope has been added.
  • Before enabling, editing, or deleting the audit scope, ensure that the status of audit scope is Disabled.
  • Before disabling the audit scope, ensure that the status of audit scope is Enabled.

Precautions

By default, database audit complies with a full audit rule, which is used to audit all databases that are connected to the database audit instance. This audit rule is enabled by default. You can disable it but cannot delete it.

Viewing the Audit Scope

  1. Log in to the management console.
  2. Select a region, click , and choose Security & Compliance > Database Security Service. The Dashboard page is displayed.
  3. In the navigation tree, choose Rules.
  4. In the Instance drop-down list, select an instance to view audit scope.
  5. View the audit scope information. For details about related parameters, see Table 1.

    Enter the key word of an audit scope to search.

    Table 1 Parameters

    Parameter

    Description

    Name

    Name of the audit scope

    Exception IP Address

    Whitelisted IP addresses within the audit scope

    Source IP Address

    IP address or IP address range used for accessing the database

    Source Port

    Port number of the IP address to be audited

    Database Name

    Database in the audit scope

    Database Account

    Database username

    Status

    Status of the audit scope. The options are as follows:

    • Enabled
    • Disabled

    You can perform the following operations on audit scopes as required:

    • Enable

      Locate the row that contains the audit scope to be enabled, and click Enable in the Operation column. Databases within the scope will be audited.

    • Edit (supported in customized audit scopes only)

      Locate the row that contains the audit scope to be edited, click Edit in the Operation column, and modify the scope in the displayed dialog box.

    • Disable

      Locate the row that contains the audit scope to be disabled, click Disable in the Operation column, and click OK in the displayed dialog box. When the audit scope is disabled, the audit scope rule will not be executed in the audit.

    • Delete (supported in customized audit scopes only)

      Locate the row that contains the audit scope to be deleted, click Delete in the Operation column, and click OK in the displayed dialog box. You need to add the audit scope again if it is deleted and you want to audit it.