Skill

Validate AWS Compliance Against Standards

Skill running automated AWS compliance checks against CIS Foundations, PCI-DSS, HIPAA, and SOC 2 with ready-to-run scripts.

Works with aws

75
Spark score
out of 100
Updated last month
Version 13.3.0

Add to Favorites

Why it matters

Automate the validation of your AWS environment against critical industry compliance frameworks like CIS, PCI-DSS, HIPAA, and SOC 2. Ensure continuous compliance and prepare for audits with automated checks.

Outcomes

What it gets done

01

Check IAM configurations against CIS benchmarks.

02

Verify CloudTrail and AWS Config logging and security.

03

Assess network security group rules for open access.

04

Validate compliance with PCI-DSS, HIPAA, and SOC 2 standards.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/ag-aws-compliance-checker | bash

Overview

AWS Compliance Checker

A skill for automated AWS compliance validation against CIS AWS Foundations, PCI-DSS, HIPAA, and SOC 2, with ready-to-run bash/Python scripts for IAM, logging, monitoring, networking, and encryption checks plus a scored JSON report. Use when validating AWS compliance against an industry standard, preparing for an audit, or running continuous compliance monitoring.

What it does

This skill runs automated compliance validation against four industry standards - CIS AWS Foundations Benchmark, PCI-DSS, HIPAA, and SOC 2 - covering identity and access management, logging and monitoring, networking, and data protection controls. For CIS specifically it provides ready-to-run bash scripts for four control families: Identity & Access Management (1.x), Logging (2.x), Monitoring (3.x), and Networking (4.x). Separate Python and bash scripts handle PCI-DSS and HIPAA checks, and a compliance-report.py script assembles a JSON report with a pass/fail score across whichever framework is selected.

When to use - and when NOT to

Use this skill to validate AWS compliance against CIS, PCI-DSS, HIPAA, or SOC 2, to prepare for an audit, or to run continuous compliance monitoring. It is not a substitute for environment-specific validation, testing, or expert review - run the generated checks against your own account and treat findings as a starting point, not a final audit verdict. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Inputs and outputs

The CIS IAM script (cis-iam-checks.sh) checks root account usage and MFA, flags credentials unused for more than 90 days, flags access keys older than 90 days, verifies the account password policy's minimum length/complexity/rotation settings, and flags IAM users without MFA. The CIS logging script (cis-logging-checks.sh) checks whether CloudTrail is enabled and multi-region, whether log file validation is on, whether the CloudTrail S3 bucket is publicly accessible, whether CloudTrail is integrated with CloudWatch Logs, whether AWS Config is enabled, whether S3 buckets have access logging, and whether VPCs have Flow Logs enabled. The CIS monitoring script (cis-monitoring-checks.sh) checks for 14 required CloudWatch metric filters (unauthorized API calls, no-MFA console sign-in, root usage, IAM/CloudTrail/CMK/S3-policy/Config/security-group/NACL/gateway/route-table/VPC changes, and console sign-in failures). The CIS networking script (cis-networking-checks.sh) flags security groups open to 0.0.0.0/0 on SSH (22) or RDP (3389), and checks that default security groups restrict all traffic. pci-dss-checker.py (boto3) flags internet-open security groups, unencrypted EBS volumes, IAM users without MFA, and a missing CloudTrail trail. hipaa-checker.sh checks MFA, CloudTrail presence, EBS/RDS encryption at rest, and reminds to verify TLS 1.2+ in transit. compliance-report.py runs the checks for a chosen framework (cis/pci/hipaa) and outputs a JSON report with total/passed/failed counts and a percentage score, saved to a dated compliance-<framework>-<date>.json file.

Integrations

Invocable via example prompts such as "Run CIS AWS Foundations compliance check", "Generate a PCI-DSS compliance report", "Check HIPAA compliance for my AWS account", "Audit against SOC 2 requirements", and "Create a compliance dashboard." It also integrates with the Kiro CLI:

kiro-cli chat "Use aws-compliance-checker to run CIS benchmark"

Best practices named in the source: run compliance checks weekly, automate with Lambda/EventBridge, track compliance trends over time, document exceptions with justification, integrate with AWS Security Hub, and use AWS Config Rules for continuous monitoring.

Who it's for

Cloud security and compliance engineers who need to validate an AWS account against CIS, PCI-DSS, HIPAA, or SOC 2 controls, prepare audit evidence, or run recurring automated compliance checks rather than manually walking each control.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.