Skip to content

fix: set runAsUser high UID on restart_process test job (CKV_K8S_40)#138

Draft
jcogs33 with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-code-scanning-alerts-again
Draft

fix: set runAsUser high UID on restart_process test job (CKV_K8S_40)#138
jcogs33 with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-code-scanning-alerts-again

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown

Alert CKV_K8S_40 flags containers missing a runAsUser with a high UID (≥ 10000), which risks UID collision with host system users.

Changes

  • tilt_modules/restart_process/test/job.yaml: Added securityContext.runAsUser: 10000 to the container spec
containers:
  - name: failing-job
    image: failing_job
    securityContext:
      runAsUser: 10000

Copilot AI changed the title [WIP] Fix code scanning alerts flagged in repository fix: set runAsUser high UID on restart_process test job (CKV_K8S_40) Jul 10, 2026
Copilot AI requested a review from jcogs33 July 10, 2026 23:17
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.

2 participants