implementing-aws-security-hub-compliance

Configures AWS Security Hub to aggregate findings, enforce compliance standards, and automate remediation.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill implementing-aws-security-hub-compliance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implementing-aws-security-hub-compliance
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/cloud-security/implementing-aws-security-hub-compliance
Command: npx skills add https://github.com/xalgord/xalgorix --skill implementing-aws-security-hub-compliance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security teams managing multiple AWS accounts struggle to centralize findings from services like GuardDuty, Inspector, and Macie, track compliance against standards like CIS and PCI DSS, and respond to critical findings without manual triage.

Core Features & Use Cases

  • Centralized Finding Aggregation: Enable Security Hub with delegated admin, auto-enrollment for organization accounts, and cross-region finding aggregation.
  • Compliance Standards Management: Enable and monitor CIS AWS Foundations, AWS FSBP, PCI DSS, and NIST 800-53 standards with compliance scoring.
  • Automated Remediation: Build EventBridge rules and Lambda functions that auto-remediate findings (e.g., enabling S3 Block Public Access) and update finding workflow status.
  • Use Case: A security team rolling out Security Hub across a 50-account organization uses this workflow to enable standards org-wide, aggregate findings into one admin account, route CRITICAL findings to PagerDuty, and generate weekly compliance reports.

Quick Start

Ask the assistant to enable AWS Security Hub with CIS and FSBP standards across all organization accounts and set up automated remediation for critical findings.

Frequently Asked Questions about implementing-aws-security-hub-compliance

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

FAQPage Schema
How do I enable AWS Security Hub across multiple accounts?

Enable Security Hub in the management account, designate a delegated administrator with enable-organization-admin-account, then run update-organization-configuration with --auto-enable so existing and new member accounts enroll automatically. Create a finding aggregator with ALL_REGIONS linking for cross-region consolidation.

How to automate remediation of Security Hub findings?

Create an EventBridge rule matching Security Hub Findings - Imported events filtered by severity and compliance status, then target a Lambda function. The Lambda remediates the resource and must call batch_update_findings with Workflow.Status set to RESOLVED, or findings reappear as NEW.

Why do Security Hub controls show No data instead of pass or fail?

Controls show No data when AWS Config is not recording in that account or region, since Security Hub controls evaluate Config items. Verify a running recorder per region with aws configservice describe-configuration-recorder-status and enable Config everywhere Security Hub runs.

Does Security Hub replace GuardDuty or Inspector?

No. Security Hub aggregates findings from GuardDuty, Inspector, Macie, and third-party tools but does not perform threat detection, vulnerability scanning, or data classification itself. Use GuardDuty for threat detection and Inspector for vulnerability scanning alongside Security Hub.

What compliance standards does AWS Security Hub support?

Security Hub supports CIS AWS Foundations Benchmark, AWS Foundational Security Best Practices, PCI DSS, and NIST 800-53. Enable them with batch-enable-standards using each standard's ARN, then track compliance scores per standard.