vince-winkintel/gitlab-cli-skills

glab-dependency-firewall

Inspect GitLab Dependency Firewall activity from local package-manager workflows with glab.

Zobacz źródło
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

glab dependency-firewall

Inspect GitLab Dependency Firewall activity for local package-manager workflows. The current command group is marked experimental, and the verified release binary exposes ci-summary only; do not rely on older configure examples unless live help on the target machine still lists them.

Quick start

bash
# Summarize the current working directory's Dependency Firewall CI log
glab dependency-firewall ci-summary

Summarize CI activity

ci-summary reads .gitlab/df/ci-log.json relative to the current working directory. Run it from the same directory as the package-manager/Dependency Firewall operation that produced the log.

bash
if glab dependency-firewall ci-summary; then
  echo "No blocked dependency entries"
else
  rc=$?
  case "$rc" in
    1) echo "Dependency Firewall log could not be read" >&2 ;;
    3) echo "Dependency Firewall blocked one or more packages" >&2 ;;
    *) echo "Unexpected Dependency Firewall failure: $rc" >&2 ;;
  esac
  exit "$rc"
fi

Exit codes:

  • 0: no blocked entries; allow-only, warnings-only, or no recorded activity.
  • 1: the log could not be read or parsed.
  • 3: one or more entries were blocked.

Treat exit 3 as a policy result, not a transient command failure. Surface the blocked package, version, and reason; do not bypass the policy or rewrite the log. Treat warnings as review input even though they do not fail the command.

Troubleshooting

No activity is reported:

  • Confirm .gitlab/df/ci-log.json exists under the current working directory used for the command.
  • Do not assume a log in a repository root applies when the package manager ran in a nested workspace.

A `configure` example fails:

  • glab dependency-firewall configure is not exposed by the verified current release binary.
  • Re-check glab dependency-firewall --help on the target machine before using older docs or scripts.

Unsupported package manager:

  • The current visible command surface does not configure package managers.
  • Do not invent configuration for another manager; check live help or official docs for the target glab/GitLab version.

Command reference

See references/commands.md for captured help and flags.

z tego samego repozytorium

Więcej Skills

Wszystkie Skills
vince-winkintel
Społeczność

gitlab-cli-skills

Comprehensive GitLab CLI (glab) command reference and workflows for all GitLab operations via terminal. Use when user mentions GitLab CLI, glab commands, GitLab automation, MR/issue management via CLI, CI/CD pipeline commands, Artifact Registry token exchange, repo operations, authentication setup, or any GitLab terminal operations. Routes to specialized sub-skills for auth, CI, MRs, issues, releases, repos, and 30+ other glab commands. Triggers on glab, GitLab CLI, GitLab commands, GitLab terminal, GitLab automation.

instalacje
1
GitHub Stars
48
Aktualizacja
9 wrz
vince-winkintel
Społeczność

glab-check-update

Check for glab CLI updates and view latest version information. Use when checking if glab is up to date or finding available updates. Triggers on update glab, check version, glab version, CLI update.

instalacje
1
GitHub Stars
48
Aktualizacja
9 wrz
vince-winkintel
Społeczność

glab-ci

Work with GitLab CI/CD pipelines, jobs, and artifacts. Use when checking pipeline status, viewing job logs, debugging CI failures, triggering manual jobs, downloading artifacts, validating .gitlab-ci.yml, or managing pipeline runs. Triggers on pipeline, CI/CD, job, build, deployment, artifact, pipeline status, failed build, CI logs.

instalacje
1
GitHub Stars
48
Aktualizacja
9 wrz
vince-winkintel
Społeczność

glab-completion

Generate shell completion scripts for bash, zsh, fish, or PowerShell. Use when setting up glab autocompletion for your shell. Triggers on completion, autocomplete, shell completion, tab completion.

instalacje
1
GitHub Stars
48
Aktualizacja
9 wrz