Skip to content

borghei/Claude-Skills / engineering/cloud-security

cloud-security

Verified

Cloud posture security across AWS, Azure, and GCP — IAM least privilege, public exposure, encryption, logging coverage, landing-zone guardrails. Use when auditing a cloud account, before a production launch, or after a scan.

assets/sample_iam_export.json

View on GitHub
{
  "provider": "aws",
  "account_id": "412900771003",
  "exported": "2026-07-18",
  "principals": [
    {
      "name": "legacy-terraform-runner",
      "type": "role",
      "last_used_days": 12,
      "mfa": false,
      "trust": {"principals": ["account:412900771003"], "approved": ["account:412900771003"], "external_id": false},
      "policies": [
        {"name": "inline-admin", "statements": [
          {"effect": "allow", "actions": ["*"], "resources": ["*"]}
        ]}
      ]
    },
    {
      "name": "ci-deployer",
      "type": "role",
      "last_used_days": 2,
      "mfa": false,
      "trust": {"principals": ["*"], "approved": [], "external_id": false},
      "policies": [
        {"name": "deploy", "statements": [
          {"effect": "allow", "actions": ["iam:PassRole", "ec2:RunInstances", "lambda:UpdateFunctionCode"], "resources": ["*"]},
          {"effect": "allow", "actions": ["s3:GetObject", "s3:PutObject"], "resources": ["arn:aws:s3:::acme-artifacts/*"]}
        ]}
      ]
    },
    {
      "name": "analytics-readonly",
      "type": "role",
      "last_used_days": 5,
      "mfa": false,
      "permission_boundary": "boundary/data-read",
      "trust": {"principals": ["account:412900771003"], "approved": ["account:412900771003"], "external_id": false},
      "policies": [
        {"name": "read", "statements": [
          {"effect": "allow", "actions": ["s3:GetObject", "athena:StartQueryExecution"],
           "resources": ["arn:aws:s3:::acme-lake/*"], "conditions": {"aws:SourceVpce": "vpce-0a1b2c"}}
        ]}
      ]
    },
    {
      "name": "vendor-integration",
      "type": "role",
      "last_used_days": 214,
      "mfa": false,
      "trust": {"principals": ["account:998877665544"], "approved": ["account:412900771003"], "external_id": true},
      "policies": [
        {"name": "integration", "statements": [
          {"effect": "allow", "actions": ["s3:*"], "resources": ["*"]}
        ]}
      ]
    },
    {
      "name": "j.okonkwo",
      "type": "user",
      "last_used_days": 1,
      "mfa": false,
      "access_key_age_days": 412,
      "trust": {},
      "policies": [
        {"name": "power", "statements": [
          {"effect": "allow", "actions": ["iam:AttachRolePolicy", "ec2:TerminateInstances"], "resources": ["*"]}
        ]}
      ]
    },
    {
      "name": "app-runtime",
      "type": "service",
      "last_used_days": 1,
      "mfa": false,
      "permission_boundary": "boundary/app-runtime",
      "trust": {"principals": ["service:lambda.amazonaws.com"], "approved": ["service:lambda.amazonaws.com"], "external_id": false},
      "policies": [
        {"name": "runtime", "statements": [
          {"effect": "allow", "actions": ["secretsmanager:GetSecretValue"],
           "resources": ["arn:aws:secretsmanager:us-east-1:412900771003:secret:prod/app*"],
           "conditions": {"aws:RequestedRegion": "us-east-1"}}
        ]}
      ]
    }
  ]
}
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: 471kUpdated 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: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated 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