[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M730MQF9J18STQXGJQBCP606":3,"skill-same:01M730MQF9J18STQXGJQBCP606":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M730MQF9J18STQXGJQBCP606","auditing-cloud-with-cis-benchmarks",null,"This skill details how to conduct cloud security audits using Center for Internet Security benchmarks for AWS, Azure, and GCP. It covers interpreting CIS Foundations Benchmark controls, running automated assessments with tools like Prowler and ScoutSuite, remediating failed controls, and maintaining continuous compliance monitoring against CIS v5 for AWS, v4 for Azure, and v4 for GCP.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: auditing-cloud-with-cis-benchmarks\ndescription: 'This skill details how to conduct cloud security audits using Center\n  for Internet Security benchmarks for AWS, Azure, and GCP. It covers interpreting\n  CIS Foundations Benchmark controls, running automated assessments with tools like\n  Prowler and ScoutSuite, remediating failed controls, and maintaining continuous\n  compliance monitoring against CIS v5 for AWS, v4 for Azure, and v4 for GCP.\n\n  '\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- cis-benchmarks\n- cloud-audit\n- compliance-assessment\n- prowler\n- security-hardening\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- GOVERN-1.1\n- GOVERN-4.2\n- MAP-2.3\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1530\n- T1098.003\n- T1685.002\n- T1580\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\n---\n\n# Auditing Cloud with CIS Benchmarks\n\n## When to Use\n\n- When performing initial security audits of cloud environments against industry-standard benchmarks\n- When preparing for SOC 2, ISO 27001, or regulatory audits that reference CIS controls\n- When establishing a measurable security baseline for new cloud accounts or subscriptions\n- When tracking compliance improvement over time with periodic reassessment\n- When evaluating the security posture of acquired or inherited cloud environments\n\n**Do not use** for runtime threat detection (see detecting-cloud-threats-with-guardduty), for application-level security testing (see conducting-cloud-penetration-testing), or for compliance frameworks not based on CIS (refer to specific regulatory skill files).\n\n## Prerequisites\n\n- Read-only access to target cloud accounts (AWS SecurityAudit policy, Azure Reader role, GCP Viewer role)\n- Prowler, ScoutSuite, or cloud-native CSPM tools installed and configured\n- Understanding of CIS benchmark structure: sections, controls, profiles (Level 1 and Level 2)\n- Remediation access for implementing fixes (separate from audit credentials)\n\n## Workflow\n\n### Step 1: Select Appropriate CIS Benchmark Version\n\nChoose the correct benchmark version for each cloud provider. Current versions as of 2025 include CIS AWS Foundations Benchmark v5.0, CIS Azure Foundations Benchmark v4.0, and CIS GCP Foundations Benchmark v4.0.\n\n```\nCIS Benchmark Coverage Areas:\n+-------------------+-------------------------+------------------------+\n| Section           | AWS v5.0                | Azure v4.0             |\n+-------------------+-------------------------+------------------------+\n| Identity & Access | IAM policies, MFA, root | Azure AD, RBAC, PIM    |\n| Logging           | CloudTrail, Config      | Activity Log, Diag     |\n| Monitoring        | CloudWatch alarms       | Defender, Sentinel     |\n| Networking        | VPC, SG, NACLs         | NSG, ASG, Firewall     |\n| Storage           | S3 encryption, access   | Storage encryption     |\n| Database          | RDS encryption          | SQL TDE, auditing      |\n+-------------------+-------------------------+------------------------+\n\nCIS Profile Levels:\n  Level 1: Practical security settings that can be implemented without significant\n           performance impact or reduced functionality\n  Level 2: Defense-in-depth settings that may reduce functionality or require\n           additional planning for implementation\n```\n\n### Step 2: Run Automated Assessment with Prowler\n\nExecute comprehensive CIS benchmark scans using Prowler for automated control evaluation across AWS, Azure, and GCP.\n\n```bash\n# AWS CIS v5.0 assessment\nprowler aws \\\n  --compliance cis_5.0_aws \\\n  --profile audit-account \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-$(date +%Y%m%d)\n\n# Azure CIS v4.0 assessment\nprowler azure \\\n  --compliance cis_4.0_azure \\\n  --subscription-ids \"sub-id-1,sub-id-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-azure-$(date +%Y%m%d)\n\n# GCP CIS v4.0 assessment\nprowler gcp \\\n  --compliance cis_4.0_gcp \\\n  --project-ids \"project-1,project-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-gcp-$(date +%Y%m%d)\n\n# Multi-account AWS scan using ScoutSuite\nscout suite aws \\\n  --profile audit-account \\\n  --report-dir .\u002Fscout-report \\\n  --ruleset cis-5.0 \\\n  --force\n```\n\n### Step 3: Interpret Results and Prioritize Remediation\n\nAnalyze audit results by section and severity. Prioritize Level 1 controls first as they represent fundamental security hygiene, then address Level 2 controls for defense in depth.\n\n```bash\n# Parse Prowler results for failed controls\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq '[.[] | select(.StatusExtended == \"FAIL\")] | group_by(.CheckID) |\n  map({control: .[0].CheckID, description: .[0].CheckTitle,\n  failed_resources: length, severity: .[0].Severity}) |\n  sort_by(-.failed_resources)'\n\n# Generate compliance score by section\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq 'group_by(.Section) | map({\n    section: .[0].Section,\n    total: length,\n    passed: [.[] | select(.StatusExtended == \"PASS\")] | length,\n    failed: [.[] | select(.StatusExtended == \"FAIL\")] | length,\n    score: (([.[] | select(.StatusExtended == \"PASS\")] | length) \u002F length * 100 | round)\n  })'\n```\n\n### Step 4: Remediate Critical and High Controls\n\nAddress failed controls starting with the highest impact items. Use AWS Config remediation, Azure Policy, or Terraform to apply fixes systematically.\n\n```bash\n# CIS 1.4: Ensure no root account access key exists\naws iam list-access-keys --user-name root\n# If keys exist, delete them\naws iam delete-access-key --user-name root --access-key-id AKIAEXAMPLE\n\n# CIS 2.1.1: Ensure S3 bucket default encryption is enabled\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  aws s3api put-bucket-encryption --bucket \"$bucket\" \\\n    --server-side-encryption-configuration '{\n      \"Rules\": [{\"ApplyServerSideEncryptionByDefault\": {\"SSEAlgorithm\": \"AES256\"}}]\n    }' 2>\u002Fdev\u002Fnull && echo \"Encrypted: $bucket\" || echo \"FAILED: $bucket\"\ndone\n\n# CIS 3.1: Ensure CloudTrail is enabled in all regions\naws cloudtrail create-trail \\\n  --name organization-trail \\\n  --s3-bucket-name cloudtrail-logs-bucket \\\n  --is-multi-region-trail \\\n  --enable-log-file-validation \\\n  --kms-key-id arn:aws:kms:us-east-1:123456789012:key\u002Fkey-id\n\naws cloudtrail start-logging --name organization-trail\n\n# CIS 4.x: Configure CloudWatch metric filters and alarms\naws logs put-metric-filter \\\n  --log-group-name CloudTrail\u002FDefaultLogGroup \\\n  --filter-name UnauthorizedAPICalls \\\n  --filter-pattern '{ ($.errorCode = \"*UnauthorizedAccess*\") || ($.errorCode = \"AccessDenied*\") }' \\\n  --metric-transformations metricName=UnauthorizedAPICalls,metricNamespace=CISBenchmark,metricValue=1\n```\n\n### Step 5: Establish Continuous Compliance Monitoring\n\nDeploy automated compliance monitoring to detect configuration drift between periodic audits. Use AWS Security Hub, Azure Policy, or GCP Security Command Center.\n\n```bash\n# AWS: Enable CIS v5.0 in Security Hub\naws securityhub batch-enable-standards \\\n  --standards-subscription-requests '[\n    {\"StandardsArn\": \"arn:aws:securityhub:::ruleset\u002Fcis-aws-foundations-benchmark\u002Fv\u002F5.0.0\"}\n  ]'\n\n# Azure: Assign CIS benchmark policy initiative\naz policy assignment create \\\n  --name cis-azure-benchmark \\\n  --scope \"\u002Fsubscriptions\u002F\u003Csub-id>\" \\\n  --policy-set-definition \"1a5bb27d-173f-493e-9568-eb56638dbd0e\" \\\n  --params '{\"effect\": {\"value\": \"AuditIfNotExists\"}}'\n\n# Schedule periodic Prowler assessments\n# Run weekly via cron or CI\u002FCD pipeline\n0 2 * * 1 prowler aws --compliance cis_5.0_aws --output-formats csv --output-directory \u002Fopt\u002Faudits\u002Fweekly-$(date +\\%Y\\%m\\%d)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| CIS Benchmark | Prescriptive security configuration guidelines developed by the Center for Internet Security through community consensus |\n| Level 1 Profile | Practical security controls implementable without significant performance or functionality impact, representing security hygiene |\n| Level 2 Profile | Defense-in-depth controls that may restrict functionality and require careful planning before implementation |\n| Foundations Benchmark | CIS benchmark specifically for cloud providers covering IAM, logging, monitoring, networking, and storage security |\n| Control ID | Unique numerical identifier for each CIS recommendation (e.g., 1.4 for root access key checks, 2.1.1 for S3 encryption) |\n| Compliance Score | Percentage of CIS controls in a passing state, tracked over time to measure security posture improvement |\n| Automated Assessment | Tool-driven evaluation of CIS controls using cloud provider APIs to check resource configurations against benchmark requirements |\n| Remediation Runbook | Documented step-by-step procedure for fixing a specific failed CIS control, including pre-checks and validation |\n\n## Tools & Systems\n\n- **Prowler**: Open-source cloud security tool performing 300+ checks including CIS benchmark assessments for AWS, Azure, and GCP\n- **ScoutSuite**: Multi-cloud security auditing tool with CIS benchmark rule sets generating HTML reports\n- **AWS Security Hub**: Native AWS service supporting CIS AWS Foundations Benchmark as a security standard\n- **Azure Policy**: Governance service with built-in CIS benchmark policy initiatives for automated compliance monitoring\n- **GCP Security Command Center**: Native GCP service evaluating configurations against CIS GCP Foundations Benchmark\n\n## Common Scenarios\n\n### Scenario: Pre-Audit CIS Assessment for SOC 2 Certification\n\n**Context**: A SaaS company pursuing SOC 2 Type II certification needs to demonstrate cloud security controls aligned to CIS benchmarks. The auditor requires evidence of continuous compliance monitoring across 45 AWS accounts.\n\n**Approach**:\n1. Run Prowler CIS v5.0 assessment across all 45 accounts to establish the baseline compliance score\n2. Export results to CSV and categorize failures by section (IAM, Logging, Monitoring, Networking)\n3. Map each CIS control to the relevant SOC 2 Trust Services Criteria (CC6.1, CC6.6, CC7.1, etc.)\n4. Remediate all Level 1 control failures within 30 days and Level 2 within 60 days\n5. Enable CIS v5.0 in AWS Security Hub for continuous monitoring and automated drift detection\n6. Generate weekly compliance reports showing improvement trajectory for the auditor\n7. Document exceptions for controls intentionally not implemented with risk acceptance justification\n\n**Pitfalls**: Remediating controls without testing in a staging environment first can break production workloads. Ignoring Level 2 controls entirely weakens the audit narrative even if they are not strictly required.\n\n## Output Format\n\n```\nCIS Benchmark Audit Report\n============================\nCloud Provider: AWS\nBenchmark Version: CIS AWS Foundations Benchmark v5.0\nAccounts Assessed: 45\nAssessment Date: 2025-02-23\nTool: Prowler v4.3.0\n\nOVERALL COMPLIANCE SCORE: 74%\n\nCOMPLIANCE BY SECTION:\n  1. Identity and Access Management:  68% (41\u002F60 controls passed)\n  2. Storage:                         82% (28\u002F34 controls passed)\n  3. Logging:                         91% (20\u002F22 controls passed)\n  4. Monitoring:                      55% (18\u002F33 controls passed)\n  5. Networking:                      78% (32\u002F41 controls passed)\n\nTOP FAILED CONTROLS (by affected accounts):\n  [1.4]   Root account has active access keys           - 3\u002F45 accounts\n  [1.5]   MFA not enabled for root account              - 2\u002F45 accounts\n  [2.1.1] S3 default encryption not enabled             - 12\u002F45 accounts\n  [3.1]   CloudTrail not multi-region                   - 8\u002F45 accounts\n  [4.3]   No alarm for root account usage               - 28\u002F45 accounts\n  [5.1]   VPC flow logs not enabled                     - 15\u002F45 accounts\n  [5.4]   Security groups allow 0.0.0.0\u002F0 ingress      - 22\u002F45 accounts\n\nREMEDIATION PRIORITY:\n  Critical (Fix within 7 days):  Root access keys, missing root MFA\n  High (Fix within 30 days):     S3 encryption, CloudTrail, VPC flow logs\n  Medium (Fix within 60 days):   CloudWatch alarms, security group restrictions\n  Low (Fix within 90 days):      Level 2 controls, informational items\n```\n","# Auditing Cloud with CIS Benchmarks\n\n## When to Use\n\n- When performing initial security audits of cloud environments against industry-standard benchmarks\n- When preparing for SOC 2, ISO 27001, or regulatory audits that reference CIS controls\n- When establishing a measurable security baseline for new cloud accounts or subscriptions\n- When tracking compliance improvement over time with periodic reassessment\n- When evaluating the security posture of acquired or inherited cloud environments\n\n**Do not use** for runtime threat detection (see detecting-cloud-threats-with-guardduty), for application-level security testing (see conducting-cloud-penetration-testing), or for compliance frameworks not based on CIS (refer to specific regulatory skill files).\n\n## Prerequisites\n\n- Read-only access to target cloud accounts (AWS SecurityAudit policy, Azure Reader role, GCP Viewer role)\n- Prowler, ScoutSuite, or cloud-native CSPM tools installed and configured\n- Understanding of CIS benchmark structure: sections, controls, profiles (Level 1 and Level 2)\n- Remediation access for implementing fixes (separate from audit credentials)\n\n## Workflow\n\n### Step 1: Select Appropriate CIS Benchmark Version\n\nChoose the correct benchmark version for each cloud provider. Current versions as of 2025 include CIS AWS Foundations Benchmark v5.0, CIS Azure Foundations Benchmark v4.0, and CIS GCP Foundations Benchmark v4.0.\n\n```\nCIS Benchmark Coverage Areas:\n+-------------------+-------------------------+------------------------+\n| Section           | AWS v5.0                | Azure v4.0             |\n+-------------------+-------------------------+------------------------+\n| Identity & Access | IAM policies, MFA, root | Azure AD, RBAC, PIM    |\n| Logging           | CloudTrail, Config      | Activity Log, Diag     |\n| Monitoring        | CloudWatch alarms       | Defender, Sentinel     |\n| Networking        | VPC, SG, NACLs         | NSG, ASG, Firewall     |\n| Storage           | S3 encryption, access   | Storage encryption     |\n| Database          | RDS encryption          | SQL TDE, auditing      |\n+-------------------+-------------------------+------------------------+\n\nCIS Profile Levels:\n  Level 1: Practical security settings that can be implemented without significant\n           performance impact or reduced functionality\n  Level 2: Defense-in-depth settings that may reduce functionality or require\n           additional planning for implementation\n```\n\n### Step 2: Run Automated Assessment with Prowler\n\nExecute comprehensive CIS benchmark scans using Prowler for automated control evaluation across AWS, Azure, and GCP.\n\n```bash\n# AWS CIS v5.0 assessment\nprowler aws \\\n  --compliance cis_5.0_aws \\\n  --profile audit-account \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-$(date +%Y%m%d)\n\n# Azure CIS v4.0 assessment\nprowler azure \\\n  --compliance cis_4.0_azure \\\n  --subscription-ids \"sub-id-1,sub-id-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-azure-$(date +%Y%m%d)\n\n# GCP CIS v4.0 assessment\nprowler gcp \\\n  --compliance cis_4.0_gcp \\\n  --project-ids \"project-1,project-2\" \\\n  --output-formats json-ocsf,html,csv \\\n  --output-directory .\u002Fcis-audit-gcp-$(date +%Y%m%d)\n\n# Multi-account AWS scan using ScoutSuite\nscout suite aws \\\n  --profile audit-account \\\n  --report-dir .\u002Fscout-report \\\n  --ruleset cis-5.0 \\\n  --force\n```\n\n### Step 3: Interpret Results and Prioritize Remediation\n\nAnalyze audit results by section and severity. Prioritize Level 1 controls first as they represent fundamental security hygiene, then address Level 2 controls for defense in depth.\n\n```bash\n# Parse Prowler results for failed controls\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq '[.[] | select(.StatusExtended == \"FAIL\")] | group_by(.CheckID) |\n  map({control: .[0].CheckID, description: .[0].CheckTitle,\n  failed_resources: length, severity: .[0].Severity}) |\n  sort_by(-.failed_resources)'\n\n# Generate compliance score by section\ncat .\u002Fcis-audit-*\u002Fprowler-output-*.json | \\\n  jq 'group_by(.Section) | map({\n    section: .[0].Section,\n    total: length,\n    passed: [.[] | select(.StatusExtended == \"PASS\")] | length,\n    failed: [.[] | select(.StatusExtended == \"FAIL\")] | length,\n    score: (([.[] | select(.StatusExtended == \"PASS\")] | length) \u002F length * 100 | round)\n  })'\n```\n\n### Step 4: Remediate Critical and High Controls\n\nAddress failed controls starting with the highest impact items. Use AWS Config remediation, Azure Policy, or Terraform to apply fixes systematically.\n\n```bash\n# CIS 1.4: Ensure no root account access key exists\naws iam list-access-keys --user-name root\n# If keys exist, delete them\naws iam delete-access-key --user-name root --access-key-id AKIAEXAMPLE\n\n# CIS 2.1.1: Ensure S3 bucket default encryption is enabled\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  aws s3api put-bucket-encryption --bucket \"$bucket\" \\\n    --server-side-encryption-configuration '{\n      \"Rules\": [{\"ApplyServerSideEncryptionByDefault\": {\"SSEAlgorithm\": \"AES256\"}}]\n    }' 2>\u002Fdev\u002Fnull && echo \"Encrypted: $bucket\" || echo \"FAILED: $bucket\"\ndone\n\n# CIS 3.1: Ensure CloudTrail is enabled in all regions\naws cloudtrail create-trail \\\n  --name organization-trail \\\n  --s3-bucket-name cloudtrail-logs-bucket \\\n  --is-multi-region-trail \\\n  --enable-log-file-validation \\\n  --kms-key-id arn:aws:kms:us-east-1:123456789012:key\u002Fkey-id\n\naws cloudtrail start-logging --name organization-trail\n\n# CIS 4.x: Configure CloudWatch metric filters and alarms\naws logs put-metric-filter \\\n  --log-group-name CloudTrail\u002FDefaultLogGroup \\\n  --filter-name UnauthorizedAPICalls \\\n  --filter-pattern '{ ($.errorCode = \"*UnauthorizedAccess*\") || ($.errorCode = \"AccessDenied*\") }' \\\n  --metric-transformations metricName=UnauthorizedAPICalls,metricNamespace=CISBenchmark,metricValue=1\n```\n\n### Step 5: Establish Continuous Compliance Monitoring\n\nDeploy automated compliance monitoring to detect configuration drift between periodic audits. Use AWS Security Hub, Azure Policy, or GCP Security Command Center.\n\n```bash\n# AWS: Enable CIS v5.0 in Security Hub\naws securityhub batch-enable-standards \\\n  --standards-subscription-requests '[\n    {\"StandardsArn\": \"arn:aws:securityhub:::ruleset\u002Fcis-aws-foundations-benchmark\u002Fv\u002F5.0.0\"}\n  ]'\n\n# Azure: Assign CIS benchmark policy initiative\naz policy assignment create \\\n  --name cis-azure-benchmark \\\n  --scope \"\u002Fsubscriptions\u002F\u003Csub-id>\" \\\n  --policy-set-definition \"1a5bb27d-173f-493e-9568-eb56638dbd0e\" \\\n  --params '{\"effect\": {\"value\": \"AuditIfNotExists\"}}'\n\n# Schedule periodic Prowler assessments\n# Run weekly via cron or CI\u002FCD pipeline\n0 2 * * 1 prowler aws --compliance cis_5.0_aws --output-formats csv --output-directory \u002Fopt\u002Faudits\u002Fweekly-$(date +\\%Y\\%m\\%d)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| CIS Benchmark | Prescriptive security configuration guidelines developed by the Center for Internet Security through community consensus |\n| Level 1 Profile | Practical security controls implementable without significant performance or functionality impact, representing security hygiene |\n| Level 2 Profile | Defense-in-depth controls that may restrict functionality and require careful planning before implementation |\n| Foundations Benchmark | CIS benchmark specifically for cloud providers covering IAM, logging, monitoring, networking, and storage security |\n| Control ID | Unique numerical identifier for each CIS recommendation (e.g., 1.4 for root access key checks, 2.1.1 for S3 encryption) |\n| Compliance Score | Percentage of CIS controls in a passing state, tracked over time to measure security posture improvement |\n| Automated Assessment | Tool-driven evaluation of CIS controls using cloud provider APIs to check resource configurations against benchmark requirements |\n| Remediation Runbook | Documented step-by-step procedure for fixing a specific failed CIS control, including pre-checks and validation |\n\n## Tools & Systems\n\n- **Prowler**: Open-source cloud security tool performing 300+ checks including CIS benchmark assessments for AWS, Azure, and GCP\n- **ScoutSuite**: Multi-cloud security auditing tool with CIS benchmark rule sets generating HTML reports\n- **AWS Security Hub**: Native AWS service supporting CIS AWS Foundations Benchmark as a security standard\n- **Azure Policy**: Governance service with built-in CIS benchmark policy initiatives for automated compliance monitoring\n- **GCP Security Command Center**: Native GCP service evaluating configurations against CIS GCP Foundations Benchmark\n\n## Common Scenarios\n\n### Scenario: Pre-Audit CIS Assessment for SOC 2 Certification\n\n**Context**: A SaaS company pursuing SOC 2 Type II certification needs to demonstrate cloud security controls aligned to CIS benchmarks. The auditor requires evidence of continuous compliance monitoring across 45 AWS accounts.\n\n**Approach**:\n1. Run Prowler CIS v5.0 assessment across all 45 accounts to establish the baseline compliance score\n2. Export results to CSV and categorize failures by section (IAM, Logging, Monitoring, Networking)\n3. Map each CIS control to the relevant SOC 2 Trust Services Criteria (CC6.1, CC6.6, CC7.1, etc.)\n4. Remediate all Level 1 control failures within 30 days and Level 2 within 60 days\n5. Enable CIS v5.0 in AWS Security Hub for continuous monitoring and automated drift detection\n6. Generate weekly compliance reports showing improvement trajectory for the auditor\n7. Document exceptions for controls intentionally not implemented with risk acceptance justification\n\n**Pitfalls**: Remediating controls without testing in a staging environment first can break production workloads. Ignoring Level 2 controls entirely weakens the audit narrative even if they are not strictly required.\n\n## Output Format\n\n```\nCIS Benchmark Audit Report\n============================\nCloud Provider: AWS\nBenchmark Version: CIS AWS Foundations Benchmark v5.0\nAccounts Assessed: 45\nAssessment Date: 2025-02-23\nTool: Prowler v4.3.0\n\nOVERALL COMPLIANCE SCORE: 74%\n\nCOMPLIANCE BY SECTION:\n  1. Identity and Access Management:  68% (41\u002F60 controls passed)\n  2. Storage:                         82% (28\u002F34 controls passed)\n  3. Logging:                         91% (20\u002F22 controls passed)\n  4. Monitoring:                      55% (18\u002F33 controls passed)\n  5. Networking:                      78% (32\u002F41 controls passed)\n\nTOP FAILED CONTROLS (by affected accounts):\n  [1.4]   Root account has active access keys           - 3\u002F45 accounts\n  [1.5]   MFA not enabled for root account              - 2\u002F45 accounts\n  [2.1.1] S3 default encryption not enabled             - 12\u002F45 accounts\n  [3.1]   CloudTrail not multi-region                   - 8\u002F45 accounts\n  [4.3]   No alarm for root account usage               - 28\u002F45 accounts\n  [5.1]   VPC flow logs not enabled                     - 15\u002F45 accounts\n  [5.4]   Security groups allow 0.0.0.0\u002F0 ingress      - 22\u002F45 accounts\n\nREMEDIATION PRIORITY:\n  Critical (Fix within 7 days):  Root access keys, missing root MFA\n  High (Fix within 30 days):     S3 encryption, CloudTrail, VPC flow logs\n  Medium (Fix within 60 days):   CloudWatch alarms, security group restrictions\n  Low (Fix within 90 days):      Level 2 controls, informational items\n```\n",{"name":5,"tags":25,"author":31,"domain":32,"source":33,"license":15,"version":34,"nist_csf":35,"subdomain":40,"description":41,"nist_ai_rmf":42,"mitre_attack":46,"source_commit":52},[26,27,28,29,30],"cis-benchmarks","cloud-audit","compliance-assessment","prowler","security-hardening","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0.0",[36,37,38,39],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01","cloud-security","This skill details how to conduct cloud security audits using Center for Internet Security benchmarks for AWS, Azure, and GCP. It covers interpreting CIS Foundations Benchmark controls, running automated assessments with tools like Prowler and ScoutSuite, remediating failed controls, and maintaining continuous compliance monitoring against CIS v5 for AWS, v4 for Azure, and v4 for GCP.\n",[43,44,45],"GOVERN-1.1","GOVERN-4.2","MAP-2.3",[47,48,49,50,51],"T1078.004","T1530","T1098.003","T1685.002","T1580","04450304b12645cb2b974ab96d28c0664758a88d","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa",".claude\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill auditing-cloud-with-cis-benchmarks",{"tool":69,"command":70},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill auditing-cloud-with-cis-benchmarks",{"tool":72,"command":73},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill auditing-cloud-with-cis-benchmarks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002FSKILL.md",true,[77,81,87],{"path":78,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapi-reference.md","REFERENCE","参考文档",1956,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002Freferences\u002Fapi-reference.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Fagent.py","SCRIPT","脚本",6392,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fauditing-cloud-with-cis-benchmarks\u002Fscripts\u002Fagent.py",[94,102,109,117,125,133],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":121,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]