- Home
- Skills
- DevOps & Cloud
- AWS Terraform Security Pro: 64 checks + CI gate
Works with the AI Agents you already use
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.
$12
AWS Terraform Security Pro: 64 checks + CI gate
Example session with this skill installed
Gate our infra pull requests on security. Scan plan.json, apply our waivers file, and show only HIGH and above.
- Read your context and instructions
- Compiled the aws terraform security
- Generated the document
Summary
Scanned 15 planned resources.
2 critical and 5 high findings are open. The build fails at --fail-on high. One waiver no longer matches anything: delete it.
Resources scanned: 15
Open findings: CRITICAL 2, HIGH 5
Waived: 0 · Expired waivers: 0
| Severity | ID | Resource | Finding | Fix |
|---|---|---|---|---|
| CRITICAL | ECR-03 | aws_ecr_repository_policy.api | Repository policy allows any principal without a condition | Grant pull access to specific accounts or an aws:PrincipalOrgID condition. |
| CRITICAL | SQS-02 | aws_sqs_queue.jobs | Queue policy allows any principal without a condition | Restrict Principal to specific accounts/services or add aws:SourceArn / aws:SourceAccount conditions. |
| HIGH | OS-01 | aws_opensearch_domain.logs | Search domain is not encrypted at rest | Add encrypt_at_rest { enabled = true }. |
| HIGH | RS-01 | aws_redshift_cluster.dw | Data warehouse is publicly accessible | Set publicly_accessible = false and reach it through private subnets or a VPN. |
| HIGH | RS-02 | aws_redshift_cluster.dw | Data warehouse is not encrypted | Set encrypted = true with a KMS key. |
| HIGH | SNS-02 | aws_sns_topic.alerts | Topic policy allows any principal without a condition | Restrict Principal or add aws:SourceOwner / aws:SourceArn conditions. |
| HIGH | SSM-01 | aws_ssm_parameter.api_token | Secret-looking parameter is not a SecureString | Set type = "SecureString" (with a KMS key) and keep the value out of Terraform. |
Unused waivers (remove them)
- EC2-01
aws_instance.legacy
Fix first
- ECR-03 / SQS-02: two resource policies allow
Principal: *with no condition. Anyone on the internet could pull your images or send to your queue. Restrict them to your accounts or useaws:PrincipalOrgID. - RS-01 / RS-02: the data warehouse is public and unencrypted. Turning on encryption replaces the cluster, so plan a snapshot-and-restore window.
- SSM-01:
/app/api_tokenis stored as plainString. Change it toSecureStringand keep the value out of Terraform.
SARIF written to results.sarif for code scanning. The PR comment and job summary use this same report.
aws-terraform-security-pro-64-checks-ci-.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
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-onto 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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.9+
TerraformorOpenTofu- Optional
- GitHub ActionsCheckovorTrivy
plan.json can contain secrets: keep it local, never commit it, and delete it after the scan (the CI workflow does this for you).
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.