KICS, the open source scanner that keeps infrastructure as code secure by flagging misconfigurations and compliance issues across Terraform, Kubernetes, CloudFormation, Ansible, Docker and more.
KICS (Keeping Infrastructure as Code Secure) is a widely used open source static analysis scanner from Checkmarx that inspects your infrastructure as code and reports security misconfigurations and compliance issues before they ever reach a cloud account. It parses Terraform, CloudFormation, Kubernetes manifests, Ansible, Dockerfile and Docker Compose, Helm charts, ARM and Bicep, OpenAPI, gRPC, Pulumi and Crossplane, and evaluates each against an embedded library of more than eighteen hundred queries covering the security guidance of the major cloud and platform providers. Every finding names the query, the file, the line, the severity and a description of the risk, and results can be written as JSON or SARIF so they drop straight into a code review, a dashboard or a pipeline gate. Because the query library ships with the scanner and is evaluated locally, scanning needs no outbound internet at all, so it runs the same on a laptop, in a build runner or on a locked down host.
It suits any team that wants to catch insecure infrastructure early: gating merges in continuous integration, auditing an existing estate of templates and manifests, or giving platform and security engineers a fast, repeatable way to check a change before it is applied.
KICS has no login and no listening service, so what matters is that it is ready to scan the moment the instance boots, and cloudimg ships it exactly that way. The pinned scanner and its pinned query library are installed from the official release and each is verified against its published checksum, and a simple wrapper means a full scan of a directory you choose is a single command with no query paths to remember. A scheduled scan runs daily over a target directory you configure and writes machine readable JSON and SARIF reports for a pipeline to collect. Because the queries are evaluated locally, scanning needs no outbound internet at all, so the instance runs happily in an isolated subnet. Read only self test fixtures are included so you can prove detection works on your own instance, a first boot service self verifies the engine and records a baseline scan, and every deployment comes with a paired deploy guide and 24/7 cloudimg support.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
## Overview
KICS (Keeping Infrastructure as Code Secure) is the open source static analysis scanner from Checkmarx that finds security misconfigurations and compliance issues in your infrastructure-as-code before deployment. It parses Terraform, CloudFormation, Kubernetes manifests, Ansible, Dockerfile and Docker Compose, Helm, ARM and Bicep, OpenAPI, Pulumi, Crossplane and more, reporting where declared infrastructure violates a security or compliance rule - a storage bucket with no encryption, a security group open to the world, a container running as root.
KICS is integrated into GitLab 14.5 as a default IaC scanner, reflecting broad industry trust in its detection engine. This AMI delivers KICS fully installed with its pinned query library in place, so you can SSH in and run a real scan within minutes of launch.
## Why This AMI Instead of Self-Install
Installing KICS yourself means managing Go dependencies, pinning a compatible query library version, configuring scheduled scans via cron, and packaging for air-gapped environments. This AMI eliminates that work:
Compared to hosted alternatives, this AMI keeps all code and results on your own infrastructure with no data leaving your VPC.
## Scans Fully Offline
The scanner binary and its entire library of over 1800 Rego queries are installed locally and pinned to a single verified release. KICS needs no network egress to scan. It runs in a locked-down subnet with no internet access, making it a natural fit for scanning infrastructure code in secure or air-gapped environments.
## Shift Security Left
Catch insecure infrastructure at author time, in code review, and in CI - not in a post-incident review. KICS ships thousands of built-in queries keyed to common cloud frameworks and compliance benchmarks, delivering meaningful findings out of the box with no rule authoring. Run it against a single file, a whole module tree, or a directory of manifests, and get machine-readable JSON and SARIF output naming each failed query, its severity, and the resource, file and line it applies to.
## Scheduled Scanning Built In
A daily systemd timer scans a drop-in target directory and writes JSON and SARIF reports with a stable latest symlink for CI pickup. Leave infrastructure code in one place and have it re-checked automatically. Wire the same command into your pipeline to gate merges on a clean scan.
## Honest, Credential-Free Design
KICS has no login, no web interface, no daemon and no network port. Its entire management surface is the command line plus SSH with your own key. There is nothing to rotate and nothing to leak. Scan results remain on the local EBS volume under your control.
## Getting Started
1. Launch the AMI in your preferred VPC (works in public or private subnets)
2. SSH in with your key pair
3. Run kics version to confirm the toolchain
4. Run kics-scan against the bundled insecure sample to see real detections
5. Point kics-scan at your own infrastructure code directory
A deliberately insecure sample and a clean sample ship read-only on the image so you can prove the scanner detects a real misconfiguration and passes clean code on your very first login.
## Use Cases
## cloudimg Support
24/7 technical support by email and live chat. Help with running scans, interpreting findings, writing exclusions and custom queries, wiring KICS into CI, and keeping your infrastructure code compliant.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.