Validate a Policy
Before you publish and start enforcing your new policy, you want to know what impact it will have. The Validate button explains how many past decisions will be changed by your new policy:
When you click on the Validate button, the following results are displayed:
-
Results explaining that your policy will still reject the first sample Terraform plan.
-
Now, it will also reject the second sample Terraform plan that was previously allowed.
-
Click on the green icon, and DAS will replay that decision using your policy, show you the new result, and which rules contributed to that result.
This kind of visibility helps you predict whether your organization is operationally ready for tighter Terraform controls.