817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
2.3 KB Raw Blame API Reference: Implementing AWS Security Hub Compliance
Libraries
boto3 -- Security Hub + S3 Remediation
Key Security Hub Methods
| Method |
Description |
enable_security_hub() |
Enable Security Hub with standards |
batch_enable_standards() |
Enable CIS, FSBP, PCI DSS, NIST |
get_findings() |
Query findings with compliance filters |
batch_update_findings() |
Update workflow status and add notes |
create_insight() |
Custom compliance aggregation views |
create_finding_aggregator() |
Cross-region consolidation |
enable_organization_admin_account() |
Org-wide admin delegation |
update_organization_configuration() |
Auto-enable for new accounts |
Key S3 Remediation Methods
| Method |
Description |
put_public_access_block() |
Block all public access on bucket |
get_bucket_encryption() |
Check encryption configuration |
put_bucket_encryption() |
Enable default SSE-S3 or SSE-KMS |
Finding Filters
| Filter Field |
Values |
ComplianceStatus |
PASSED, FAILED, WARNING, NOT_AVAILABLE |
SeverityLabel |
CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL |
WorkflowStatus |
NEW, NOTIFIED, RESOLVED, SUPPRESSED |
RecordState |
ACTIVE, ARCHIVED |
GeneratorId |
Standard-specific prefix for filtering |
Compliance Standards
| Standard |
Generator ID Prefix |
| AWS FSBP |
aws-foundational-security-best-practices |
| CIS AWS |
cis-aws-foundations-benchmark |
| PCI DSS |
pci-dss |
| NIST 800-53 |
nist-800-53 |
EventBridge Auto-Remediation Pattern
- Source:
aws.securityhub
- Detail type:
Security Hub Findings - Imported
- Target: Lambda function for automated fix
- Best practice: Only auto-remediate safe controls (S3 public access, encryption)
External References