Skip to content

CICD-488 · Workflow dependency auditing ​

Encyclopedia · Pipeline governance and operational management · All snippets

Previous · CICD-487 · Next · CICD-489

1. Where it fits ​

  • Placement CI audit step.
  • Prerequisites trusted policy checkout and normalized deployment events with scoped access.
  • Platforms local-linux, github-actions, gitea-actions.

2. Copy the snippet ​

bash
zizmor --offline .github/workflows/
npm audit --omit=dev --audit-level=high

3. How it works ​

The workflow scanner reviews action and permission usage, while npm audit checks the installed production dependency graph. Keep their reports and exceptions separate.

4. Verify the result ​

Workflow and library dependency findings are distinct reports. Review exceptions with owners and expiry dates.

Validation syntax-validated (Bash parse). Status definitions.