This guide needs the SafeDep Cloud Team or Enterprise plan and the Admin role. See pricing. The app must scan the repositories for your tenant.
What the check reads
Verified malware always fails the check. No setting and no trust entry changes that. The check also fails on a risky license, by a fixed rule of the check that the policy does not control yet. The check does not apply a dependency cooldown.
info is a partial value: the vulnerability data has no info grade, so the check ranks a vulnerability with no severity as info.
Fail on medium for a group of projects
-
Label the projects of the group. A repository is a project:
If a repository has no project yet, create it with
safedep project sync OWNER/REPOSITORY. -
Open the policy settings document and add a policy override:
-
Preview the change. The preview counts the projects that the policy override reaches, and how many of them can enforce
medium: -
Publish it:
Use the change number that
safedep policy editprinted. The next check of each project uses the new revision.
scan_gate.fail_on in the policy base instead. To target one forge, select on scm/forge, as in matchLabels: {scm/forge: bitbucket}.
Waive one vulnerable package
To pass a check that fails on a vulnerability that you accept, create a trust entry with the scopevulnerability:
What the check shows
A failing check shows a policy block above the package report:- On GitHub, in the comment of the SafeDep app and in the output of the check run.
- On Bitbucket, in the comment of the SafeDep app. The build status of the commit links to the pull request.
- A passing check shows no policy block.
- On a public repository, the block shows the rule id of a package rule, not its reason.
- When the tenant has no policy revision, the block names only the SafeDep default policy.
When the check does not use your policy
- The repository has no project. The check resolves the policy with the
scm/labels of the repository. The policy base, the package rules of the policy base and the policy overrides that selectscm/labels apply. Acustom/label needs a project. Runsafedep project sync. - The installation is not linked to a tenant, or the plan of the tenant has no cloud policy. The SafeDep default policy applies alone.
- SafeDep Cloud cannot read the policy. The check retries, and then fails with an error. It never falls back to the default policy, because the default policy can be looser than yours.
Next steps
Explain a Decision
List the checks that a rule or a setting failed.
Target a Group
Labels and selectors for projects.
GitHub App
Install the SafeDep GitHub App.
Bitbucket App
Install and link the Bitbucket app.

