SSZcreate/Pentab_server / .agents/skills/cybersecurity/skills/implementing-cloud-security-posture-management
implementing-cloud-security-posture-management
VerifiedContinuously monitor multi-cloud environments (AWS, Azure, GCP) for misconfigurations, compliance violations, and security risks using Prowler, ScoutSuite, AWS Security Hub, Microsoft Defender for Cloud, and GCP Security Command Center. Use for cross-cloud posture monitoring, CIS/SOC 2/PCI DSS compliance, or drift-detection workflows; not for runtime workload protection or application security testing.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 11.0 KB |
| SKILL.es.md | markdown | 12.7 KB |
| SKILL.md | skill md | 11.8 KB |
| references/api-reference.md | markdown | 1.9 KB |
| scripts/agent.py | script | 7.6 KB |
references/api-reference.md
View on GitHub# API Reference: Implementing Cloud Security Posture Management
## Libraries
### Prowler (Multi-Cloud CSPM)
- **Install**: `pip install prowler`
- **Docs**: https://docs.prowler.com/
- CLI: `prowler aws --compliance cis_level1 -M json`
- Supported: AWS, Azure, GCP, Kubernetes
- Compliance frameworks: CIS, SOC2, PCI-DSS, HIPAA, NIST 800-53, GDPR
### boto3 (AWS Posture Checks)
- **Install**: `pip install boto3`
- Key services: S3, IAM, EC2, CloudTrail, Config, SecurityHub
### ScoutSuite (Multi-Cloud Auditing)
- **Install**: `pip install scoutsuite`
- **Docs**: https://github.com/nccgroup/ScoutSuite
- CLI: `scout aws --report-dir /tmp/scout-report`
## AWS Posture Check APIs
| Service | Method | Check |
|---------|--------|-------|
| S3 | `get_public_access_block()` | Public access settings |
| S3 | `get_bucket_encryption()` | Default encryption |
| IAM | `get_account_summary()` | Root MFA status |
| IAM | `list_access_keys()` | Key age/rotation |
| EC2 | `describe_security_groups()` | Open ports (0.0.0.0/0) |
| CloudTrail | `get_trail_status()` | Logging active |
| Config | `describe_config_rules()` | Compliance rules |
## Prowler Check Categories
- IAM: Access keys, MFA, password policy, root usage
- Storage: S3 public access, encryption, versioning
- Network: Security groups, VPC flow logs, NACLs
- Logging: CloudTrail, Config, VPC flow logs
- Encryption: EBS, RDS, S3, KMS key rotation
## Severity Mapping
- **CRITICAL**: Root MFA disabled, CloudTrail off, public DB
- **HIGH**: S3 public access, open SSH/RDP, unencrypted volumes
- **MEDIUM**: Key rotation >90d, missing tags, flow logs off
- **LOW**: Informational findings, best practice suggestions
## External References
- Prowler Documentation: https://docs.prowler.com/
- ScoutSuite: https://github.com/nccgroup/ScoutSuite
- AWS Security Hub: https://docs.aws.amazon.com/securityhub/
- CIS Benchmarks: https://www.cisecurity.org/benchmark/amazon_web_services
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 465k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 465k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 465k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |