Simulate policy changes before saving

Test a policy against a package in your workspace, whether it's a new draft or a change to a policy that's already live.

In the web app, the policy editor has a new Simulation tab:

  1. Select the Simulation tab.
  2. Select a package. Simulation runs against one package at a time.
  3. Review the policy input and output, including whether the policy matched the package.

Simulation does not save the policy, apply any actions, or generate a decision log. It is not available for cooldown policies.

Policy simulation is available to Ultra and Enterprise customers using policy management with policy as code. For details, see Create a policy as code in the Cloudsmith documentation.

Keep up to date with our monthly product bulletin