glab(1)
π glab-dependency-firewall-ci-summary π
From the glab(1) manual, bestie π.
πΈ NAME πΈ
glab-dependency-firewall-ci-summary β Summarize Dependency Firewall activity from the CI log. (BETA) π
β¨ SYNOPSIS β¨
glab dependency-firewall ci-summary [flags]
π¦ DESCRIPTION π¦
okay so this command reads .gitlab/df/ci-log.json and prints the blocked and flagged packages that were recorded during a glab dependency-firewall run. That's the whole vibe β¨.
The log is read from the current working directory. Run this command from the same directory as the glab dependency-firewall run that wrote the log β otherwise no activity is reported. no cap, wrong directory means no tea π«π.
To fail a CI/CD job when any package was blocked, run this command as the last command in script. This catches a block even when a package manager continues after a refused download. In after_script, the command prints the report but can't fail the job, because GitLab ignores after_script exit codes. important bestie behavior π
here's the example config, literally:
install:
variables:
GLAB_ENABLE_CI_AUTOLOGIN: "true"
script:
- glab dependency-firewall npm ci
- glab dependency-firewall pip install -r requirements.txt
- glab dependency-firewall ci-summary
Entries accumulate across runs, and the command never clears them. A block from an earlier run keeps the command exiting with 3 until you delete .gitlab/df/ci-log.json. so dramatic, but true π
Exit codes, bestie:
0β No blocked entries in the log (allow-only or warnings). π1β The log could not be read. π3β At least one entry in the log is blocked. π¨
BETA BESTIE ALERT π§ 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/.
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β Show help for this command. π
π« EXAMPLE π«
# Show blocked and flagged packages from the last firewall run
glab dependency-firewall ci-summary
π SEE ALSO π
glab-dependency-firewall(1) β go read that one too, bestie π
k bye, this page was auto generated by spf13/cobra β dated Nov 2026 β and lives in the glab(1) manual πβ¨ mwah π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms