Skip to main content
The cloud policy is one policy for your tenant in SafeDep Cloud. A security admin changes it with the safedep CLI, and PMG and the pull request checks apply it. You change the policy of the whole fleet with no new MDM package.
The cloud policy needs the SafeDep Cloud Team or Enterprise plan. See pricing.

What the cloud policy controls

  • Package rules. Block a package for the whole tenant, or trust one package after a false positive. See Package Rules.
  • Dependency cooldown. Hold back package versions that are younger than a minimum age.
  • Pull request checks. Choose the lowest vulnerability severity that fails a check, and the licenses that fail it.
You can set a value for the whole tenant, or for a group of endpoints or projects with a policy override. See Policy Resolution.

What enforces each part

  • PMG applies the package rules and the dependency cooldown.
  • The pull request check applies the package rules and the scan gate, with its license gate.
  • Vet does not read the cloud policy yet.
For each setting and each trust scope, and the exceptions, see the settings reference.

Who can change the policy

A user with the ReadOnly role or a higher role can read the policy, its revisions and its decisions. Only an Owner or an Admin can create, edit, publish or delete a policy change, create or change a package rule, or set a label. Only an Owner or an Admin can read the audit events.

How a change reaches the tools

  1. An Owner or an Admin edits the policy with safedep policy edit. The edit makes a draft, a policy change.
  2. They read the preview with safedep policy change show.
  3. They publish the change. The publish makes a new policy revision.
  4. The next pull request check of each project uses the new revision. PMG on each endpoint applies it after its next policy fetch.
A package rule skips the draft: safedep policy rule create publishes at once. See Policy Revisions and Changes.

Set up the tools

Apply the cloud policy in PMG

Turn on cloud.policy in PMG on developer machines and CI runners.

Pull request checks

Use the policy in the GitHub App and the Bitbucket app.

Guides

Quickstart

Publish your first policy with the safedep CLI.

Block a Package

Block a package for the whole tenant during an incident.

Trust a Package

Trust a package after a false positive.

Set a Cooldown

Set the dependency cooldown for the tenant or for a group.

Target a Group

Label endpoints and projects and write a policy override.

Fail Pull Request Checks

Choose the severities and the licenses that fail a check.

Roll Back a Change

Restore a setting from an old revision.

Explain a Decision

Find the rule or setting that blocked a package or failed a check.

Audit Policy Changes

See who changed the policy, and when.

Reference

Cloud Policy Settings

See each setting, its type and its default.

Cloud Policy Limits

See limits, retention and known gaps.