Safeguard Docs
Enterprise Software Supply Chain Manager (ESSCM)

Policies & Gates

Define and enforce security requirements across your software supply chain

Policies & Gates

Policies and Gates allow you to define security requirements and automatically enforce them across your software supply chain.

Understanding Policies vs Gates

Policies

Rules that evaluate your SBOMs and generate findings:

  • Define acceptable risk thresholds
  • Specify required security controls
  • Can be advisory or blocking

Gates

Checkpoints that enforce policies:

  • Block deployments when policies fail
  • Integrate with CI/CD pipelines
  • Require approvals for exceptions

Creating Policies

Policy Builder

  1. Navigate to Settings → Policies
  2. Click Create Policy
  3. Define conditions using the visual builder or YAML
  4. Set severity and actions
  5. Save and enable

Policy Conditions

ConditionExample
Vulnerability SeverityNo critical CVEs
CVSS ScoreNo vulnerabilities above 7.0
EPSS ScoreNo actively exploited CVEs
LicenseNo GPL licenses
Component AgeNo components older than 2 years
MaintenanceNo abandoned packages
SLSA LevelRequire SLSA Level 2 attestations

Policy Templates

Pre-built templates for common requirements:

  • No Critical Vulnerabilities - Block critical CVEs
  • License Compliance - Enforce approved licenses
  • FedRAMP Ready - Federal compliance requirements
  • EO 14028 Compliance - Executive Order requirements
  • SLSA Level 2 - Supply chain attestations
  • No Abandoned Packages - Block unmaintained dependencies

Gate Configuration

CI/CD Integration

Gates are evaluated by the platform on the scans it runs for your connected repositories. With policy outcomes on for your workspace, safeguard ci scan --wait --fail-on-gate <gate> fails a CI job when the gate fails. See Policy outcomes and actions and CI/CD Integration.

Policy Actions

Each policy's Action decides what a failed policy does to the gate:

ActionDescription
BlockThe gate fails
WarnThe gate passes, with a warning naming the policy
NotifyThe gate passes, and a notification is sent

See Policy outcomes and actions for how Passed, Failed, Warning, Not evaluated and Error are decided.

Policy Exceptions

Requesting Exceptions

When a legitimate exception is needed:

  1. Click Request Exception
  2. Select the policy and finding
  3. Provide business justification
  4. Set expiration date
  5. Submit for approval

Exception Workflow

  1. Request created by developer
  2. Notification sent to approvers
  3. Approver reviews and decides
  4. Exception granted or denied
  5. Audit trail recorded

Compliance Reporting

Track policy compliance with reports:

  • Compliance status by policy
  • Exception history
  • Violation trends
  • Audit documentation

On this page