Skip to content

[SRENG-2471] cdxgen runs as the runner's own uid - #1

Merged
evelynq3661 merged 1 commit into
mainfrom
feature/SRENG-2471_eks-runner-fix
Oct 28, 2026
Merged

evelynq3661 merged 1 commit into
mainfrom
feature/SRENG-2471_eks-runner-fix

Conversation

@evelynq3661

Copy link
Copy Markdown
Contributor

Current status

gitleaks-workflow.yaml runs cdxgen with docker run -u 1000:1000 and writes bom.json into the workspace. 1000 is the EC2 runner's ubuntu uid; the new EKS runners run as uid 1001, so cdxgen cannot write there. Ruleset Required workflow: git-scan iOS/Android runs this file from main on pull requests to release_* in iOS and Android.

Changes

  • cdxgen runs as $(id -u):$(id -g), the runner's own uid and gid.
  • On the EC2 runners that is still 1000:1000, so their behavior is unchanged.

Reason

Checks jobs are moving to ephemeral ARC runners on EKS, and both runner types serve Checks during the switch. SRENG-2471

🤖 Generated with Claude Code

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

Copy link
Copy Markdown

Security scan is turned on for this repository.
Please go to Actions check the findings and fix them.

  • grype check failure

@evelynq3661
evelynq3661 merged commit dcb6a60 into main Oct 28, 2026
3 checks passed
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