glab dependency-firewall gem

Run gem through the GitLab Dependency Firewall. (BETA)

Synopsis

Run the gem binary through the GitLab Dependency Firewall. The command checks each package download and upload against the policy for the current project, refuses blocked packages, and summarizes the results after the run.

The command uses your configured sources, and does not modify ~/.gemrc or your sources.

All arguments are forwarded to gem verbatim.

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/.

glab dependency-firewall gem <gem args> [flags]

Examples

console
# Install a package through the Dependency Firewall
glab dependency-firewall gem install rake

# Download a package without installing it through the Dependency Firewall
glab dependency-firewall gem fetch rake

Environment variables

HTTPS_PROXY: outbound proxy glab uses to reach package registries. Credentials in the URL are sent to the proxy.
NO_PROXY: hosts glab reaches directly instead of through HTTPS_PROXY.

Options inherited from parent commands

  -h, --help   Show help for this command.