Edit a Policy
You can only edit custom policies, and not built-in policies.
To edit a policy:
-
In the left navigation bar, click Policies.
The Policies page appears.
-
In the row of the policy that you want to edit, click
> Edit.
The Edit Policy window appears.
-
In the Choose Resource section, edit the resource, if needed.
-
Click Continue.
-
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. -
Click Continue.
-
In the Test Policy section, click the arrow on the drop-down list to select the project name.
-
Click Test to verify that the policy condition runs successfully. You can test policies for the projects for which you have access.
-
Click Continue.
-
In the Remediation Details section, select the parameter, type, and the required value to create the remediation for the policy.
-
(Optional) Click + to add more remediation details.
-
Click Continue.
-
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.
-
-
Click Update.