Integrations & Automation

Wire Chainsaw into your pipelines and manage it as code — CI/CD enforcement, YAML config-as-code, and custom hook scripts.

How to Integrate Chainsaw with CI/CD Pipelines Configure GitHub Actions, GitLab CI, and Jenkins to route package installs through Chainsaw using scoped service tokens and job-local configuration. Intermediate 25 minutes DevOps / Platform Engineers How to Configure Chainsaw with YAML Configuration Files Define repositories, policies, credentials, and settings as code using YAML configuration files for reproducible, version-controlled Chainsaw deployments. Advanced 25 minutes DevOps / Platform Engineers How to Create Custom Hook Scripts for Package Validation Write hook scripts that receive package metadata via environment variables and integrate custom validation logic into the proxy pipeline. Advanced 30 minutes DevOps / Platform Engineers How to Route GitHub Actions Builds Through Chainsaw Configure GitHub Actions to install packages through Chainsaw using a Service Token, repository secrets, and job-local package-manager configuration, with a PR-gating example. Intermediate 20 minutes DevOps / Platform Engineers How to Route GitLab CI Builds Through Chainsaw Configure GitLab CI to install packages through Chainsaw using a Service Token, masked CI/CD variables, and job-local package-manager configuration, with a merge-request gating example. Intermediate 20 minutes DevOps / Platform Engineers How to Route Jenkins Builds Through Chainsaw Configure a Jenkins declarative pipeline to install packages through Chainsaw using a Username-with-password credential and job-local package-manager configuration. Intermediate 20 minutes DevOps / Platform Engineers How to Route CircleCI Builds Through Chainsaw Apply Chainsaw's CI/CD integration pattern to CircleCI: Service Token, CI-stored secrets, and job-local package-manager configuration. Platform-specific config examples are pending. Intermediate 10 minutes DevOps / Platform Engineers How to Route Azure Pipelines Builds Through Chainsaw Apply Chainsaw's CI/CD integration pattern to Azure Pipelines: Service Token, secret variables, and job-local package-manager configuration. Platform-specific config examples are pending. Intermediate 10 minutes DevOps / Platform Engineers Troubleshooting CI/CD Integration Diagnose common Chainsaw CI/CD failures — authentication 401/400 errors, org-slug URL mistakes, and policy-block 403 verdicts — using the CHW error codes Chainsaw returns. Intermediate 15 minutes DevOps / Platform Engineers

Chainsaw is most effective when it is part of your automation, not a console someone visits. This section covers gating CI/CD on the proxy, version-controlling your configuration as YAML, and extending the proxy pipeline with custom validation hooks.

Config-as-code first. Managing repositories, policies, and exceptions as version-controlled YAML makes every change reviewable and reproducible — and lets you promote config between environments like any other code.

CI/CD

  1. Integrate Chainsaw with CI/CD pipelines — the combined reference for GitHub Actions, GitLab CI, and Jenkins.

Per-CI guides

Troubleshooting

Config-as-code

  1. Configure Chainsaw with YAML imports — declarative, version-controlled configuration.

Extend

  1. Create custom hook scripts — add custom validation into the proxy pipeline.

Where to next

For signed events to external systems, see HMAC webhooks and SIEM export in Monitoring & Compliance.