Repository Firewall Best Practices

Repository Firewall Best Practices

This section covers best practices to help you mature your usage of the Repository Firewall solution.

Allow builds to pull the components your applications already depend on before enabling enforcement

Enable enforcement on proxy repositories

Enforcement is the primary use case for the Repository Firewall. Repository Firewall supports dependency management by preventing components with known vulnerabilities and policy violations from entering your proxy repositories.

Additional protections, like Namespace Confusion Protection, are enabled in Nexus Repository.

Block components with unacceptable risk

There are components in public package registries that should never be allowed into your environment. We recommend turning on enforcement right away for the following policies.

Block unknown components

See Release Integrity for instructions on blocking unknown components.

Enable automatic quarantine release

See Automatic Quarantine Release

Enable policy-compliant component selection (PCCS) for npm and PyPi proxy repositories

See Policy Compliant Component Selection

Define and communicate your waiver workflow to developers

Scope waivers against developer dependencies to all versions of a component when you accept the risk

Enable enforcement on supported proxy repositories