Skip to content

test: WIF auth validation for ITPC centralized pool#289

Closed
sonupreetam wants to merge 3 commits into
complytime:mainfrom
sonupreetam:feat/vertex-ai-wif-integration
Closed

test: WIF auth validation for ITPC centralized pool#289
sonupreetam wants to merge 3 commits into
complytime:mainfrom
sonupreetam:feat/vertex-ai-wif-integration

Conversation

@sonupreetam

@sonupreetam sonupreetam commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Expected result: WIF auth step FAILS.

This PR tests that the ITPC centralized WIF pool correctly rejects
authentication from the complytime GitHub org, which has NOT been
registered with ITPC yet (only unbound-force is registered).

Context:

After this fails (confirming isolation):

  • Report results to ITPC team
  • Request complytime registration
  • Re-run to confirm it passes

Test plan

  • Council Review Test workflow triggers
  • Gate checks pass (secrets are configured)
  • WIF auth step FAILS (complytime not registered with ITPC)
  • Error message confirms org rejection

@sonupreetam sonupreetam force-pushed the feat/vertex-ai-wif-integration branch from f48e12e to dab097b Compare May 28, 2026 09:25
@sonupreetam sonupreetam changed the title test: validate ITPC WIF isolation — complytime org should be REJECTED test: validate ITPC WIF isolation (complytime org should be REJECTED) May 28, 2026
@sonupreetam sonupreetam force-pushed the feat/vertex-ai-wif-integration branch 3 times, most recently from d6ac8d4 to 5b24c5e Compare May 28, 2026 09:32
Add temporary validation workflow (ci_council_review_test.yml) that
tests keyless authentication from GitHub Actions to GCP via the ITPC
centralized WIF pool. Includes gate checks (skip drafts, dependabot,
missing secrets), WIF auth verification, Vertex AI API access check,
and Claude Code CLI connectivity test with PR comment reporting.

Also gitignore internal research docs containing GCP project IDs and
internal contact information.

Assisted-by: Cursor (claude-opus-4-6)
Signed-off-by: sonupreetam <[email protected]>
Co-authored-by: Cursor <[email protected]>
Signed-off-by: sonupreetam <[email protected]>
Co-authored-by: Cursor <[email protected]>
Signed-off-by: sonupreetam <[email protected]>
Co-authored-by: Cursor <[email protected]>
@sonupreetam sonupreetam force-pushed the feat/vertex-ai-wif-integration branch from 5b24c5e to 95cf003 Compare May 28, 2026 10:19
@sonupreetam sonupreetam changed the title test: validate ITPC WIF isolation (complytime org should be REJECTED) test: WIF auth validation for ITPC centralized pool May 28, 2026
@sonupreetam sonupreetam marked this pull request as draft May 28, 2026 11:45
The --model sonnet flag resolves to claude-sonnet-4-5@20250929 which
is not enabled on the unbound-force project. Use the explicit model ID
claude-sonnet-4-6 that ITPC has enabled via SNOW request.

Assisted-by: Cursor (claude-opus-4-6)
Signed-off-by: sonupreetam <[email protected]>
Co-authored-by: Cursor <[email protected]>
steps:
- name: Authenticate to Google Cloud (ITPC WIF)
id: auth
uses: google-github-actions/auth@v3
echo "ADC file: ${GOOGLE_APPLICATION_CREDENTIALS:-${CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE:-not set}}"
echo "wif_ok=true" >> "$GITHUB_OUTPUT"

- uses: google-github-actions/setup-gcloud@v2

- name: Install Claude Code
run: |
curl -fsSL https://claude.ai/install.sh | bash
The Post test results step fails on workflow_dispatch because
github.event.pull_request.number is empty. Guard the step with
an event name check.

Assisted-by: Cursor (claude-opus-4-6)
Signed-off-by: sonupreetam <[email protected]>
Co-authored-by: Cursor <[email protected]>
@sonupreetam

Copy link
Copy Markdown
Contributor Author

Closing: this was a one-shot WIF isolation test (expected failure). Validation complete — production workflow continues in #313.

@github-project-automation github-project-automation Bot moved this from Backlog to Done ✔️ in ComplyTime planning Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done ✔️

Development

Successfully merging this pull request may close these issues.

3 participants