Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qinweiwei <qinweiwei@huawei.com> Co-committed-by: qinweiwei <qinweiwei@huawei.com>
7.4 KiB
Managing Privacy Data Protection Rules
You can view, enable, edit, disable, or delete data masking rules.
Prerequisites
You have applied for a database audit instance and the Status is Running.
Viewing Privacy Data Protection Rules
- Log in to the management console.
- In the navigation tree on the left, choose Audit Rules.
- In the Instance drop-down list, select an instance to view its privacy data protection rule.
- View the rules. For details about related parameters, see Table 1.
- Store Result Set
You are advised to disable
. After this function is disabled, database audit will not store the result sets of user SQL statements.Do not enable this function if you want to prepare for PCI DSS/PCI 3DS CSS certification.
Note: The result set storage supports only the database audit in agent mode.
- Mask Privacy Data
You are advised to enable
. After this function is enabled, you can configure masking rules to prevent privacy data leakage.
Table 1 Masking rule parameters Parameter
Description
Rule Name
Rule name
Rule Type
Rule type.
- Default
- User-defined
Regular Expression
Regular expression that specifies the sensitive data pattern
Substitution Value
Value used to replace sensitive data specified by the regular expression
Status
Status of a rule. Its value can be:
- Enabled
- Disabled
You can perform the following operations on a rule:
- Disable
Locate the row that contains the rule to be disabled and click Disable in the Operation column. A disabled rule cannot be used.
- Edit
Locate the row that contains the rule to be modified, click Edit in the Operation column, and modify the rule in the displayed dialog box.
- Delete
Locate the row that contains the rule to be deleted, click Delete in the Operation column, and click OK in the displayed dialog box.
- Store Result Set