This guide needs the SafeDep Cloud Team or Enterprise plan and the Admin role. See pricing. Each endpoint needs PMG with
cloud.policy on.package_admission.cooldown.min_age. PMG applies it. The pull request check does not apply a cooldown yet.
Set the cooldown for the tenant
-
Open the policy settings document:
-
Set the value in the policy base:
The value is a duration, as
5dor120h, from 0 to 365 days. PMG rounds it up to whole days.0turns the cooldown off. -
Save the file, close the editor, and publish the change that the command created:
Use the change number that
safedep policy editprinted. A shorter cooldown loosens the policy, and so does the first cooldown that you set, because no layer set the field before. For a change that loosens, the publish asks you to confirm it.
Set the cooldown for a group of endpoints
Add a policy override with a selector. This override sets a longer cooldown on macOS endpoints:custom/ label first. See Target a Group.
Exempt one package
To install a new version of one package before the cooldown ends, create a trust entry with the scopecooldown:
What the cloud value changes in PMG
When the policy sets the cooldown, PMG uses the cloud value instead ofdependency_cooldown.enabled and dependency_cooldown.days in its config file and in PMG_* environment variables. PMG refuses --skip-dependency-cooldown. The skip list in the PMG config still applies.
One exception: under global_lockdown: true, a managed config file that sets dependency_cooldown.enabled or dependency_cooldown.days keeps its value, and PMG reports the field as locked. See Apply the Cloud Policy in PMG.
Check the value on one endpoint
Next steps
Hold Back Newly Published Versions
How the PMG cooldown works.
Target a Group
Label endpoints and write a policy override.
Explain a Decision
List the installs that the cooldown blocked.

