Skip to content

audit-github-iac-drift: add the drift plan identity - #150

Closed
mattlorimor wants to merge 1 commit into
wolfi-dev:mainfrom
mattlorimor:matthewlorimor/audit-github-iac-drift
Closed

mattlorimor wants to merge 1 commit into
wolfi-dev:mainfrom
mattlorimor:matthewlorimor/audit-github-iac-drift

Conversation

@mattlorimor

Copy link
Copy Markdown
Contributor

Adds the audit-github-iac-drift identity for chainguard-dev/infra's audit-github-iac-drift.yaml. That workflow plans every github-iac organization from main and reports a plan that is not empty. It has no apply step and writes no plan file. The policy trusts only that workflow on refs/heads/main, so no pull request can mint it.

The scopes are the ones sync-github reads during a refresh, at read, except administration and organization_administration. GitHub returns ruleset bypass actors and repository merge settings only to a writer, so with read alone every plan would report them as drift.

🤖 Generated with Claude Code

chainguard-dev/infra's audit-github-iac-drift.yaml plans every github-iac
organization from main and reports a plan that is not empty. It has no
apply step and writes no plan file.

The scopes are the ones sync-github reads during a refresh, at read,
except administration and organization_administration. GitHub returns
ruleset bypass actors and repository merge settings only to a writer, so
with read alone every plan would report them as drift.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mattlorimor

Copy link
Copy Markdown
Contributor Author

Closing: the drift plan will use the existing sync-github identity through .terraform.yaml with apply switched off, so this identity is not needed.

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