iac-policy-agent

Automate IaC security policy enforcement with Checkov, OPA, and SBOM generation.

3|1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/camgrimsec/grimsec-suite --skill iac-policy-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iac-policy-agent
Source: https://github.com/camgrimsec/grimsec-suite/tree/main/agents/10-iac-policy-agent
Command: npx skills add https://github.com/camgrimsec/grimsec-suite --skill iac-policy-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires checkov, opa, conftest, syft.

What problem does it solve?

Infrastructure security and policy compliance across IaC is complex, scattered across frameworks and tools; this skill centralizes scanning, policy evaluation, SBOM generation, and compliance mapping.

Core Features & Use Cases

  • Checkov scans across Terraform, Kubernetes, Docker, CloudFormation, Ansible, and GitHub Actions configurations.
  • OPA policy evaluation with custom Rego rules, SBOM generation, and compliance mapping.
  • Use case: Inspect a repository containing IaC to produce a unified security posture report.

Quick Start

Scan a repository with IaC files to run Checkov scans, evaluate Rego policies with OPA, generate SBOMs, and map compliance.

Frequently Asked Questions about iac-policy-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate IaC security scanning and compliance mapping for Terraform and Kubernetes configurations?

To automate IaC security scanning and compliance mapping, you can run Checkov scans and OPA evaluations across Terraform, Kubernetes, Docker, CloudFormation, Ansible, and GitHub Actions configurations. This generates a consolidated governance report for your repository.

Can I use custom Rego policies with OPA to evaluate infrastructure as code?

Yes, you can use custom Rego policies with OPA to evaluate infrastructure as code. The skill applies Open Policy Agent evaluations alongside Checkov scans to enforce specific security controls and generate compliance mappings.

What tools do I need to generate an SBOM and run policy checks on IaC files?

You need Checkov, OPA, conftest, and syft installed to generate an SBOM and run policy checks on IaC files. These dependencies execute the security scans, policy evaluations, and software bill of materials generation.

What is the best way to centralize security posture reporting across multiple IaC frameworks?

The best way to centralize security posture reporting across multiple IaC frameworks is to consolidate Checkov scans, OPA policy evaluations, and SBOM generation into a single unified report. This approach maps compliance across all inspected configurations.

Does Checkov scanning support CloudFormation, Ansible, and GitHub Actions configurations?

Yes, Checkov scanning supports CloudFormation, Ansible, and GitHub Actions configurations. It also applies to Terraform, Kubernetes, and Docker files to provide comprehensive infrastructure security coverage.

Why do I need SBOM generation when enforcing IaC security policies?

You need SBOM generation when enforcing IaC security policies to identify software components and dependencies within your infrastructure configurations. This provides visibility into potential vulnerabilities and supports compliance mapping within the governance report.