tencent cloud

Feedback

Modifying Audit Rule

Last updated: 2023-11-28 19:34:37

    This document describes how to modify the audit rule in the console.

    Prerequisite

    You have enabled the audit service. For more information, see Enabling Audit Service.

    Note

    • The audit rule can be changed from full audit to rule-based audit or vice versa.
    • After the audit rule is modified, the modification will be applied to the selected instance.
    • You’re allowed to modify the rule type, parameter field, operator, and characteristic string for an audit rule. You can add or remove the items but must keep at least one of them. For detailed directions, see Enabling Audit Service > Set the audit rule.

    Modifying the audit rule for one instance

    1. Log in to the TencentDB for MySQL console.
    2. On the left sidebar, click Database Audit.
    3. Select Region at the top, click the Audit Instance tab, and click Enabled to filter audit-enabled instances.
    4. Find the target instance in the audit instance list, or search for it by resource attribute in the search box, and select More > Modify Audit Rule in the Operation column.
    5. In the Modify Audit Rule window, modify the audit rule and click OK.

    Batch modifying the audit rule

    Note:

    • The audit rule can be changed from full audit to rule-based audit or vice versa.
    • After the audit rule is modified, the modification will be applied to the selected instance.
    • You’re allowed to modify the rule type, parameter field, operator, and characteristic string for an audit rule. You can add or remove the items but must keep at least one of them. For detailed directions, see Enabling Audit Service > Set the audit rule.
    1. Log in to the TencentDB for MySQL console.
    2. On the left sidebar, click Database Audit.
    3. Select Region at the top, click the Audit Instance tab, and click Enabled to filter audit-enabled instances.
    4. Find the target instances in the audit instance list, or search for them by resource attribute in the search box. Then, click Modify Audit Rule above the list.
    5. In the Modify Audit Rule window, modify the audit rule and click OK.
      Note:

      The Batch Modify Audit Rule window displays the audit rules both before and after the modification to make comparisons easier. The new rules will be applied to the selected instances. Therefore, proceed with caution.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support