Skip to content

[codex] add prod-like Terraform IAM relationships#40

Merged
InfoSecHack merged 1 commit into
mainfrom
codex/prod-like-terraform-iam-relationships
Jun 4, 2026
Merged

[codex] add prod-like Terraform IAM relationships#40
InfoSecHack merged 1 commit into
mainfrom
codex/prod-like-terraform-iam-relationships

Conversation

@InfoSecHack

Copy link
Copy Markdown
Owner

Summary

  • add IAM-only source inline policies, policy attachments, permission-boundary assignments, guardrail simulation attachments, and explicit deny attachment to the prod-like accuracy sandbox Terraform source
  • preserve unsupported oracle rows as static-only/no-live-resource mappings
  • add focused static tests for IAM relationship resources, forbidden AWS resource/resource-secret classes, row coverage, non-claims, and artifact hygiene

Boundaries

  • no Terraform commands run
  • no live AWS
  • no AWS CLI, STS, Lambda, or iam:PassRole calls
  • no runner/reasoner/benchmark semantic changes
  • no composite score or pass/fail benchmark label

Validation

  • python -m pytest -q tests/test_prod_like_terraform_sandbox_files.py: 15 passed
  • account/ARN hygiene greps: clean
  • Terraform/live artifact find scan: clean
  • ./scripts/check.sh: passed
  • ./scripts/test_fast.sh: 1923 passed
  • git diff --check: passed

@InfoSecHack
InfoSecHack marked this pull request as ready for review June 4, 2026 05:53
@InfoSecHack
InfoSecHack merged commit fec0212 into main Jun 4, 2026
6 checks passed
@InfoSecHack
InfoSecHack deleted the codex/prod-like-terraform-iam-relationships branch June 4, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant