nav-img
Advanced

DAS Custom Policies

Custom policies can be created to supplement the system-defined policies of DAS.

You can create custom policies in either of the following ways:

  • Visual editor: Select cloud services, actions, resources, and request conditions. This does not require knowledge of policy syntax.
  • JSON: Edit JSON policies from scratch or based on an existing policy.

For details, Creating a Custom Policy. The following examples show common DAS custom policies.

Examples of DAS Custom Policies

  • Example 1: Assign some read-only permissions to users.
    {
    "Version": "1.1",
    "Statement": [
    {
    "Action": [
    "das:connections:login",
    "das:clouddba:getSqlExecutionPlan",
    "das:clouddba:getDbUser"
    ],
    "Effect": "Allow"
    }
    ]
    }
  • Example 2: Assign the minimum permissions of the Enterprise Edition to users.
    {
    "Version": "1.1",
    "Statement": [
    {
    "Action": [
    "das:connections:list",
    "das:connections:login"
    ],
    "Effect": "Allow"
    }
    ]
    }