Works with the AI Agents you already use

    AWS Terraform Security Pro: 64 checks + CI gate

    by Rubbaite T. Hassain

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    AWS Terraform Security Pro: 64 checks + CI gate

    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

    SeverityIDResourceFindingFix
    CRITICALECR-03aws_ecr_repository_policy.apiRepository policy allows any principal without a conditionGrant pull access to specific accounts or an aws:PrincipalOrgID condition.
    CRITICALSQS-02aws_sqs_queue.jobsQueue policy allows any principal without a conditionRestrict Principal to specific accounts/services or add aws:SourceArn / aws:SourceAccount conditions.
    HIGHOS-01aws_opensearch_domain.logsSearch domain is not encrypted at restAdd encrypt_at_rest { enabled = true }.
    HIGHRS-01aws_redshift_cluster.dwData warehouse is publicly accessibleSet publicly_accessible = false and reach it through private subnets or a VPN.
    HIGHRS-02aws_redshift_cluster.dwData warehouse is not encryptedSet encrypted = true with a KMS key.
    HIGHSNS-02aws_sns_topic.alertsTopic policy allows any principal without a conditionRestrict Principal or add aws:SourceOwner / aws:SourceArn conditions.
    HIGHSSM-01aws_ssm_parameter.api_tokenSecret-looking parameter is not a SecureStringSet type = "SecureString" (with a KMS key) and keep the value out of Terraform.

    Unused waivers (remove them)

    • EC2-01 aws_instance.legacy

    Fix first

    1. 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 use aws:PrincipalOrgID.
    2. RS-01 / RS-02: the data warehouse is public and unencrypted. Turning on encryption replaces the cluster, so plan a snapshot-and-restore window.
    3. SSM-01: /app/api_token is stored as plain String. Change it to SecureString and 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

    Generated

    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-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.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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+
    Terraform
    orOpenTofu
    Optional
    GitHub Actions
    Checkov
    orTrivy

    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

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Network Access
    Listed7 days ago

    What's inside

    Frequently Asked Questions

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

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

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

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

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

    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.

    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.