glab(1) glab(1)

glab-dependency-firewall-configure - Configure Dependency Firewall registry URLs for a package manager.

glab dependency-firewall configure [flags]

Write a package manager's resolve and deploy registry URLs to .gitlab/df/config.json.

Supported package managers: npm.

The file is written relative to the current working directory, so run this command from the directory you run the package manager in.

Only the flags you pass are updated; existing values and unknown keys are preserved.

This feature is in beta and might not be ready for production use. It might be unstable and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

--repo-deploy="" Full registry URL to deploy (publish) packages to.

--repo-resolve="" Full registry URL to resolve (install) packages from.

-h, --help[=false] Show help for this command.

# Set the resolve (read) and deploy (publish) registry URLs for npm
glab dependency-firewall configure npm --repo-resolve https://gitlab.com/api/v4/projects/42/packages/npm/ --repo-deploy https://gitlab.com/api/v4/projects/42/packages/npm/
# Update only the resolve URL; the deploy URL is preserved
glab dependency-firewall configure npm --repo-resolve https://gitlab.com/api/v4/projects/42/packages/npm/

glab-dependency-firewall(1)

Aug 2026 Auto generated by spf13/cobra