Garyson26/Trident-SecOps-Skills / skills/cloud-security-automation
cloud-security-automation
VerifiedCloud security posture skill for AWS, Azure, GCP, and multi-cloud. Covers IAM least-privilege, key and secret hygiene, network exposure, data protection, logging coverage, IaC scanning (Terraform, CloudFormation, Bicep, Pulumi), CSPM remediation, and landing-zone hardening. Use for misconfig discovery, IaC review, and automated drift-and-fix workflows on cloud accounts you own.
Cloud Security Automation
Authorization Boundary
- Require account IDs, role ARNs/principals, and read-only credentials in scope before any live query.
- Default to read-only APIs and
--dry-run/plan mode for any change. - Do not exfiltrate customer data; redact resource names if shared outside the engagement.
Posture Workflow
- Inventory: accounts, subscriptions, projects, regions, services in use, owners, tags.
- Baseline: pull config via
aws configservice,az resource graph,gcloud asset, plusprowler,scout-suite,cloudsploit,steampipe. - Score: map findings to CIS, NIST 800-53, Well-Architected, and CSA CCM.
- IaC pre-flight:
checkov,tfsec,kics,terrascan,cfn-nagon PRs; block on critical. - Remediate: produce least-privilege IAM diffs, network restrictions, encryption defaults, and logging fixes as code, not console clicks.
- Drift watch: compare desired state to live; alert on out-of-band changes.
Focus Areas
- IAM: wildcard actions, cross-account trust, unused roles, long-lived keys, OIDC federation.
- Network: public S3/Blob/GCS, 0.0.0.0/0 ingress, exposed databases, lateral paths.
- Data: encryption at rest, KMS key policies, backup posture, PII tagging.
- Logging: CloudTrail/Activity Logs/Audit Logs coverage, retention, SIEM ingestion.
- Identity: MFA, conditional access, SCP/Org Policy guardrails, break-glass accounts.
Output Contract
inventory.json,findings.csv(with severity, control, evidence, fix).iac-patches/: ready-to-PR diffs.runbooks/: incident-grade response for each top finding.posture-trend.md: weekly delta with regressions called out.
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: 468k | 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: 468k | 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: 468k | 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: 194k | Updated | Claude CodeCodex | Verified | Install |