Skip to content
Apothem
流水线命令

/dependency-audit

/dependency-audit——针对许可证、CVE 和新鲜度的逐依赖审计扫查(直接 + 传递)。

角色: 依赖审计者 流水线位置: 堡垒

针对许可证、CVE 和新鲜度的逐依赖审计扫查(直接 + 传递)。

规范调用

/dependency-audit

带参数:

/dependency-audit [path/to/repo/] [--focus MANIFEST_OR_DEP] [--dry-run]

输入

宿主仓库依赖清单

输出

依赖发现项位于 _inputs/dependency-audit-findings.md

下游

审计审查序列的 dependency-audit 阶段

工作流阶段

该命令分为五个阶段:输入摄取、逐依赖遍历、逐项分诊、发现项输出,以及校验门。

失败模式

症状原因恢复
质量门 FAIL输出未达到标准修复输出并重新运行
缺失输入文件仓库根目录下没有可解析的依赖清单传入包含依赖清单的仓库根目录

示例

# Dry-run to preview what would happen
/dependency-audit --dry-run

# Execute against a repository root
/dependency-audit path/to/repo/

交叉引用

On this page