Create a DMS security rule

Updated at:

You can create a Data Management (DMS) security rule to enforce access and operation policies on your database instances. This topic uses a PolarDB instance as an example.

Prerequisites

Data Management (DMS) is purchased and its control mode is set to Security Collaboration. In Cloud Architect Design Tool (CADT), configure the Data Management component as follows: set Billing Method to New Purchase, set Data Management to dms, set Payment Method to subscription / pay-by-month / 1 month, set Product Type to Control Mode, and set Control Mode to Security Collaboration.

Procedure

  1. In the Data Management (DMS) console, select Security Rules.

    In the left-side navigation pane, click All Features. Under the Security and Specifications category, find and click Security Rules.

  2. Click Create Rule Set. Set Engine Type to PolarDB for MySQL, enter a rule name and description, and then click Submit.

    Note

    In production environments, the engine type must match the type of the database instance associated with the process.

  3. In the left-side navigation pane, click SQL Correct. Find the All DDL can execute directly in SQLConsole rule and click Enable in the Actions column. After you enable the rule, DDL statements added to the process orchestration can be executed. You can add other security rules based on your business requirements.

    Note

    The available security rules vary based on the engine type. You can add security rules based on your business requirements.