Skip to content

Expand EKS resources with typed references, insights, and addon versions#7159

Merged
tas50 merged 2 commits intomainfrom
expand-eks-resources
Apr 11, 2026
Merged

Expand EKS resources with typed references, insights, and addon versions#7159
tas50 merged 2 commits intomainfrom
expand-eks-resources

Conversation

@tas50
Copy link
Copy Markdown
Member

@tas50 tas50 commented Apr 11, 2026

Summary

  • Typed resource references: Replace raw ID/ARN strings with typed MQL references across EKS cluster (vpc(), clusterSubnets(), clusterSecurityGroups(), clusterSecurityGroup()), Fargate profiles (podExecutionRole(), fargateSubnets()), and pod identity associations (iamRole())
  • New resources: aws.eks.insight (cluster upgrade readiness and best practices), aws.eks.addonVersion (compatible add-on versions), aws.eks.accessPolicy (access entry policies)
  • Expanded fields: Nodegroup (health, taints, releaseVersion, remoteAccess, updateConfig, nodeVersion), addon (health), cluster (health, certificateAuthority), pod identity (modifiedAt, ownerArn)

Test plan

  • Build and install the AWS provider (make providers/build/aws && make providers/install/aws)
  • Verify cluster typed references: mql run aws -c "aws.eks.clusters { vpc clusterSubnets clusterSecurityGroups clusterSecurityGroup }"
  • Verify insights: mql run aws -c "aws.eks.clusters { insights { name category insightStatus } }"
  • Verify addon versions: mql run aws -c "aws.eks.clusters { availableAddonVersions { addonName addonVersion } }"
  • Verify nodegroup fields: mql run aws -c "aws.eks.clusters { nodegroups { health taints releaseVersion nodeVersion } }"
  • Verify Fargate typed refs: mql run aws -c "aws.eks.clusters { fargateProfiles { podExecutionRole fargateSubnets } }"
  • Verify access policies: mql run aws -c "aws.eks.clusters { accessEntries { accessPolicies } }"
  • Verify addon health: mql run aws -c "aws.eks.clusters { addons { health } }"

🤖 Generated with Claude Code

…sions

Add typed resource references to EKS cluster (vpc, subnets, security groups),
Fargate profiles (subnets, pod execution role), and pod identity associations
(IAM role). Add new resources for cluster insights, addon versions, and access
policies. Expand nodegroup and addon fields for health, taints, and config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@mondoo-code-review mondoo-code-review bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New EKS resources (insights, addon versions, access policies) and typed references are correctly generated and properly implemented.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 11, 2026

Test Results

6 502 tests  ±0   6 498 ✅ ±0   2m 2s ⏱️ -10s
  459 suites ±0       4 💤 ±0 
   38 files   ±0       0 ❌ ±0 

Results for commit 8fa2318. ± Comparison against base commit 6ec616d.

♻️ This comment has been updated with latest results.

- Eagerly populate insight fields from ListInsights summary to avoid
  N+1 DescribeInsight calls (name, category, insightStatus are @defaults)
- Include region in addonVersion __id to prevent cache collisions across regions
- Add nil check on DescribeInsight response to prevent nil pointer panic

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tas50 tas50 merged commit 1f5e4e6 into main Apr 11, 2026
22 checks passed
@tas50 tas50 deleted the expand-eks-resources branch April 11, 2026 18:29
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant