tencent cloud

All product documents
TencentDB for MySQL
Modifying Audit Rule
Last updated: 2024-07-22 13:05:45
Modifying Audit Rule
Last updated: 2024-07-22 13:05:45
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.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon