Software Supply Chain Security
Catch security issues in CI/CD, build pipelines, and container registries before they reach production.
Mondoo integrates into your development workflows so security issues surface early, when they're cheapest to fix. Choose where to plug Mondoo in by what you want to catch and when:
| Where | What it catches | How it runs |
|---|---|---|
| CI/CD pipelines | Issues in IaC, Kubernetes manifests, and container images on every build. Can fail the job on a risk threshold. | cnspec runs as a step in your pipeline |
| Code repositories | Repository and organization settings and, depending on the platform, committed secrets and vulnerable dependencies | Mondoo scans the repositories through an integration, with no pipeline to edit |
| Image and IaC builds | Vulnerabilities and misconfigurations in VM images, container images, and IaC before they deploy | cnspec runs in your build tool or on your workstation |
| Container registries | Vulnerabilities and misconfigurations in images stored in a registry | cnspec scans the registry from your workstation |
CI/CD pipelines
Run cnspec scans as part of your CI pipeline. Integrate Mondoo with CI/CD Platforms explains the general setup, the cnspec scan iac command that scans every IaC entry point in a repository, and the exit codes that pass or fail a job. Then follow the guide for your platform:
Each pipeline needs Mondoo credentials stored securely in the CI system. For pipelines that can't paste a short-lived registration token, register cnspec with long-lived credentials. Mondoo groups pipeline scans by project, separately from your running infrastructure. To review them, read View CI/CD Scan Results in Mondoo.
Code repositories
To scan repositories without changing any pipeline, add a GitHub, GitLab, or Azure DevOps integration. GitHub and GitLab integrations discover the repositories and scan each one, and each Azure DevOps integration scans one repository. Each guide lists what it can scan, such as secrets, dependencies, Terraform files, or Kubernetes manifests.
Image and infrastructure-as-code builds
Build secure VM and container images, and scan IaC before it deploys:
- Docker images
- HashiCorp Packer
- HashiCorp Terraform
- Kubernetes manifests
- A whole IaC repository, covering Terraform, OpenTofu, CloudFormation, Bicep, Kubernetes, Helm, Kustomize, Ansible, and Dockerfiles in one command
For every supported container and IaC format, read Scan Your Supply Chain with cnspec.
Container registries
Test container images on your workstation before publishing:
Once Mondoo is scanning your builds, head to the security overview to assess and prioritize the findings.
Last updated on