aws-compliance-checker

Validates AWS accounts against CIS, PCI-DSS, HIPAA, and SOC 2 compliance benchmarks.

Updated Sep 20, 2024
One-click install
npx skills add https://github.com/AnasIsmai1/dotfiles --skill aws-compliance-checker-anasismai1
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aws-compliance-checker
Source: https://github.com/AnasIsmai1/dotfiles/tree/main/claude/.claude/skills/security/aws-compliance-checker
Command: npx skills add https://github.com/AnasIsmai1/dotfiles --skill aws-compliance-checker-anasismai1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3.

What problem does it solve? Manually auditing an AWS account against security frameworks like CIS, PCI-DSS, HIPAA, and SOC 2 is slow and error-prone. This Skill automates the checks so you can identify misconfigurations, prepare for audits, and maintain continuous compliance monitoring. ## Core Features & Use Cases - CIS AWS Foundations Checks: Bash scripts covering IAM (root usage, MFA, password policy, key rotation), logging (CloudTrail, AWS Config, VPC Flow Logs), monitoring (CloudWatch metric filters), and networking (open SSH/RDP security groups). - PCI-DSS and HIPAA Checks: Python and Bash scripts that verify encryption at rest, MFA enforcement, network exposure, and audit logging mapped to specific regulatory controls. - Automated Reporting: A Python report generator that scores compliance as a percentage and saves results to dated JSON files. - Use Case: Before a quarterly audit, run the CIS benchmark checks to find IAM users without MFA, unencrypted EBS volumes, and security groups open to 0.0.0.0/0, then export the findings as a JSON report. ## Quick Start Ask the AI to run a CIS AWS Foundations compliance check on your AWS account and summarize any failing controls.

Frequently Asked Questions about aws-compliance-checker

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

FAQPage Schema
How do I check AWS compliance against the CIS benchmark?▼

Run the provided Bash scripts that query the AWS CLI for IAM, logging, monitoring, and networking controls. Each check maps to a CIS AWS Foundations section and prints pass or warning output for items like root MFA, CloudTrail, and open security groups.

How to audit AWS for PCI-DSS or HIPAA compliance?▼

Use the pci-dss-checker.py and hipaa-checker.sh scripts, which verify encryption at rest, MFA enforcement, network exposure, and CloudTrail logging. Findings are mapped to specific controls such as PCI 3.4 or HIPAA 164.312.

What AWS permissions are needed to run compliance checks?▼

The checks are read-only and require IAM permissions for services like iam:GetCredentialReport, cloudtrail:DescribeTrails, ec2:DescribeSecurityGroups, config:DescribeConfigurationRecorders, and s3:GetBucketLogging. No write access is needed.

Can this replace AWS Security Hub or Config Rules?▼

No, these scripts are point-in-time checks and the documentation recommends integrating with AWS Security Hub and AWS Config Rules for continuous monitoring. Treat the output as a starting point, not a substitute for expert review.

Why do some compliance checks fail or return no output?▼

Checks fail silently when AWS CLI credentials lack permissions, when services like CloudTrail or AWS Config are not enabled in the account, or when jq is missing for JSON parsing. Verify credentials and tool installation first.