Skip to content
SPECIFICTION
Get listed

cfn-nag vs kubeconform

cfn-nag

github.com

kubeconform

kubeconform.mandragor.org

Side by side

Figurecfn-nagkubeconform
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOSYesYes
LinuxYesYes
Self-hostedYesYes
Plans published11
Spec score · Infrastructure Testing Tools8.0 (#9)7.7 (#14)
LicenseThe project uses the MIT License, which grants permission to use, copy, modify, merge, publish, distribute, sublicense, and sell the software subject to its terms.The GitHub repository identifies the project license as Apache-2.0.
Purposecfn-nag scans CloudFormation templates for patterns that may indicate insecure infrastructure.Kubeconform validates Kubernetes manifests so users can catch broken configuration before deploying.

Plans

cfn-nag

  • cfn-nagFree

cfn-nag pricing →

kubeconform

  • KubeconformFree

kubeconform pricing →

In their own words

cfn-nag

cfn-nag is free, MIT-licensed software that scans AWS CloudFormation templates for patterns that may indicate insecure infrastructure. It checks for overly permissive IAM policies and security-group rules, disabled access logging or encryption, and password literals. The scanner accepts JSON, .template, YAML, and YML files, and recursively processes subdirectories when given a directory. Results print to standard output, with JSON output available; failures return a non-zero exit code while warnings return success. Installation is documented through RubyGems and Homebrew, with Ruby 2.5 or later required for gem installation. A Dockerfile and Docker Hub image are provided. cfn-nag can run in GitHub Actions and AWS CodePipeline. Profiles, deny lists, per-resource suppressions, and custom rules support policy tailoring. Static analysis needs supplied parameter values to assess them and does not inspect false Fn::If outcomes by default.

Visit github.com

kubeconform

Kubeconform is a command-line tool for validating Kubernetes manifests before deployment. It checks files against Kubernetes OpenAPI specifications, helping catch configuration problems before they reach a cluster. Validation and schema downloads run concurrently, and downloaded files are cached in memory. By default, it uses a self-updating fork of the Kubernetes JSON schema registry to supply schemas for recent Kubernetes versions. For custom resources, users can point it to local or remote schemas; local schemas also make offline validation possible. Results can be produced as JSON, JUnit, TAP, or plain text. Documentation describes using its Docker images in GitHub Actions and GitLab CI, and the images are published to GitHub Container Registry. It is free, with a listed plan of free. Installation instructions cover Linux, macOS through Homebrew, and Windows. Its checks do not cover additional server-side validation, and its Go module interface is still work in progress and unstable.

Visit kubeconform.mandragor.org