Edit a Policy

You can only edit custom policies, and not built-in policies.

To edit a policy:

  1. In the left navigation bar, click Policies.

    The Policies page appears.

  2. In the row of the policy that you want to edit, click > Edit.

    The Edit Policy window appears.

  3. In the Choose Resource section, edit the resource, if needed.

  4. Click Continue.

  5. In the Policy Condition section, use the query builder to select the conditions that the policy must meet. Click the arrow on the drop-down list to select a parameter, operator, value, and an AND/OR operator.

    Note: The inputs to the query builder are dynamic and based on the resource’s schema.
  6. Click Continue.

  7. In the Test Policy section, click the arrow on the drop-down list to select the project name.

  8. Click Test to verify that the policy condition runs successfully. You can test policies for the projects for which you have access.

  9. Click Continue.

  10. In the Remediation Details section, select the parameter, type, and the required value to create the remediation for the policy.

  11. (Optional) Click + to add more remediation details.

  12. Click Continue.

  13. In the Policy Details section, provide the following:

    • Type the policy name.

    • Select the policy category.

    • Select the severity of the policy.

    • Select the applicable benchmark for the policy.

      Note: You can create a user-defined compliance benchmark and add the required policy to the created benchmark.

    • Select the required custom policy group.

    • Type the remediation description details.

  14. Click Update.