# AWS Terraform Security Pro: 64 checks + CI gate

> 64 security checks on your Terraform plan, accepted-risk waivers with owner and expiry, SARIF for code scanning, and a ready GitHub Actions gate for every pull request.

AWS Terraform Security Pro: 64 checks + CI gate is a paid AI agent skill on Agensi by Rubbaite T. Hassain, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Rubbaite T. Hassain](https://www.agensi.io/creators/rubbaite)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/aws-terraform-security-pro-64-checks-ci-gate
- Tags: devops, terraform, aws, security, github-actions, opentofu, devsecops, sarif

## About this skill

Built for teams that want every pull request checked, not a one-off review. It extends the free AWS Terraform Security Review with 26 more checks, accepted-risk tracking and a CI gate.

### What it does
- **64 checks on `terraform show -json`**: the 38 base checks (S3, security groups, RDS, IAM incl. GitHub OIDC, EC2, CloudTrail, KMS, Lambda, load balancers, EKS) plus 26 Pro checks for DynamoDB, SQS, SNS, ECR, ElastiCache, OpenSearch, EFS, Redshift, Secrets Manager, SSM, CloudFront, API Gateway, VPC flow logs and GuardDuty.
- **Waivers**: record an accepted risk with a reason, owner and expiry date. When a waiver expires, the finding is open again. Unused waivers are reported so the file stays clean.
- **SARIF 2.1.0** for GitHub code scanning, and `--fail-on` to choose the severity that fails the build.
- **GitHub Actions workflow**: plan with a read-only OIDC role, scan, job summary, sticky PR comment, SARIF upload, plan files deleted after the run.

Read-only by design: it never runs `apply`, `destroy`, `import` or `state` commands.

### Tested
27 findings on the bundled insecure plan (all 26 Pro checks fire), 0 on the secure plan; the waiver example shows an active, an expired and an unused waiver.

### Known limitations
- Covers common AWS resources, not every service. A clean scan is not a guarantee.
- Values known only after apply cannot be checked in a plan.
- Centrally managed controls (organisation trails, GuardDuty, central WAF) show as LOW/INFO findings to confirm or waive.

Licence: use in your organisation and in client work; do not resell.

## Requires

- Python 3.9+
- Terraform or OpenTofu
- Optional: GitHub Actions
- Optional: Checkov or Trivy

plan.json can contain secrets: keep it local, never commit it, and delete it after the scan (the CI workflow does this for you).

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the AWS Terraform Security Pro: 64 checks + CI gate skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How is it different from the free AWS Terraform Security Review?

Pro adds 26 checks (64 in total), waivers with owner and expiry, SARIF output, a --fail-on threshold and a complete GitHub Actions workflow.

### Does it change my infrastructure?

No. It reads the plan JSON only and never runs apply, destroy, import or state commands.

### Does it need AWS credentials?

Only terraform plan does. In CI, use a read-only OIDC role, as in the bundled workflow. Locally, you can create plan.json yourself.

### What is a waiver?

An accepted risk recorded in .tfsec-waivers.json, with a reason, owner and expiry date. After the expiry date, the finding is open again.

### Does it replace Checkov or Trivy?

No. It complements them. If either is installed, the agent can merge their results with this report.

### What do I get after purchase?

A ZIP with SKILL.md, the Pro and base scanners, the checks reference, the review checklist, the GitHub Actions workflow, and sample plans and waivers to try.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
