Skip to content

fix(aws): let the managed EKS scan list CronJobs - #109

Draft
tim-thacker-nullify wants to merge 2 commits into
mainfrom
fix/managed-scan-lists-cronjobs
Draft

tim-thacker-nullify wants to merge 2 commits into
mainfrom
fix/managed-scan-lists-cronjobs

Conversation

@tim-thacker-nullify

@tim-thacker-nullify tim-thacker-nullify commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Claude

The managed EKS scan's nullify-readonly ClusterRole grants jobs but not cronjobs, so managed-scanned clusters never report CronJobs; the collector records the Forbidden as an allowed coverage gap and the cloud graph has no CronJob workloads to attribute scheduled Job pods to.

  • Add cronjobs.batch to RBAC_RESOURCES in setup-eks-managed-scan.sh.

  • managed_scan.tf (terraform and terraform-v6) grants batch jobs and cronjobs, list only; module tests updated.

  • README RBAC table and "Kinds read" cell updated; a stale comment about jobs being granted ahead of a monorepo stack removed.

  • Module tests now count 27 managed-scan kinds; the CloudFormation README table and verify text say 27 and list cronjobs.

Existing managed-scan customers pick this up by re-running apply or the script; until then the cronjobs Forbidden is recorded as a coverage gap. Open #107 adds a readonly manifest and chart granting batch jobs only: it needs cronjobs too (or a rebase after this), otherwise setup-eks-managed-scan.sh verify fails on cronjobs.batch.

🤖 Generated with Claude Code

tim-thacker-nullify and others added 2 commits September 27, 2026 21:51
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ation docs

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
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