Skip to content

Garyson26/Trident-SecOps-Skills / skills/cloud-security-automation

cloud-security-automation

Verified

Cloud 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

  1. Inventory: accounts, subscriptions, projects, regions, services in use, owners, tags.
  2. Baseline: pull config via aws configservice, az resource graph, gcloud asset, plus prowler, scout-suite, cloudsploit, steampipe.
  3. Score: map findings to CIS, NIST 800-53, Well-Architected, and CSA CCM.
  4. IaC pre-flight: checkov, tfsec, kics, terrascan, cfn-nag on PRs; block on critical.
  5. Remediate: produce least-privilege IAM diffs, network restrictions, encryption defaults, and logging fixes as code, not console clicks.
  6. 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.
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: 468kUpdated Claude CodeCodexVerifiedInstall
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: 468kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 468kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall