• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elastic / cloudbeat / 28810080252
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: 8.19
DEFAULT BRANCH: main
Ran 06 Jul 2026 05:39PM UTC
Jobs 1
Files 245
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jul 2026 05:21PM UTC coverage: 76.093% (+0.2%) from 75.943%
28810080252

push

github

web-flow
[Cloud Asset Inventory] Add extra resource fields #2 (EKS & Route 53) (#7183)

## Summary

Follow-up to InfoSec's review of #6991: adds two AWS asset types the
FedRAMP inventory needs but cloudbeat didn't emit — **Route53 DNS
records** and **EKS clusters**. Both are greenfield providers +
fetchers. All resource-specific fields land in `entity.attributes.*`
(non-ECS, flattened), so no integration mapping change is required.

Tracking: https://github.com/elastic/security-team/issues/17750
Merge after: https://github.com/elastic/cloudbeat/pull/6991

## Route53 (`awslib/route53`)

- New global provider (`ListHostedZones` → `ListResourceRecordSets`,
paginated); one asset per record set, carrying its parent zone.
- `entity.attributes`: `Type`, `ResourceRecords`, `Weight`, `Region`,
`ZoneID`, `ZoneName`, `AliasTargetDNS`, `AliasTargetZoneId`,
`HealthCheckId`.
- Classification: `{Infrastructure, "AWS Route53 DNS Record"}`. Region
reported as `global`. Records have no creation time in the SDK, so no
`CreatedAt`.

## EKS (`awslib/eks`)

- New regional provider (`ListClusters` → `DescribeCluster` per
cluster); one asset per cluster.
- `entity.attributes`: `Status`, `Version`, `Endpoint`, `RoleArn`,
`PlatformVersion`, `EndpointPublicAccess`, `EndpointPrivateAccess`,
`OwnerTag`; plus `entity.lifecycle.CreatedAt`.
- Classification: `{Orchestrator, "AWS EKS Cluster"}` (consistent with
GCP GKE).

## Notes

- **Dependency bump:** adding the EKS SDK pulled a core bump —
`aws-sdk-go-v2` 1.41.1→1.42.1, `smithy-go` 1.24.0→1.27.3, and two
indirect internal modules. Whole repo builds and tests pass.
- **ASSETS.md / spreadsheet:** regenerated (AWS coverage 21→23/85). The
`cloud_assets.xlsx` "EKS Cluster" row was moved from Infrastructure to
Orchestrator to match the classification (and GKE); the Route53 and EKS
"Updated Type" cells were filled so the generator marks them
implemented.
- **No `elastic/integrations` change:** `entity.attributes` is flattened
(arbitrary keys) an... (continued)

235 of 283 new or added lines in 9 files covered. (83.04%)

10201 of 13406 relevant lines covered (76.09%)

15.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
0.0
internal/resources/providers/awslib/eks/eks.go
9
78.57
internal/resources/providers/awslib/route53/provider.go
6
0.0
internal/resources/providers/awslib/route53/route53.go
5
86.84
internal/resources/providers/awslib/route53/record.go
4
0.0
0.0% internal/inventory/awsfetcher/awsfetchers.go
4
93.44
internal/inventory/awsfetcher/fetcher_eks.go
4
93.94
internal/inventory/awsfetcher/fetcher_route53.go
4
83.33
internal/resources/providers/awslib/eks/provider.go
3
90.91
internal/resources/providers/awslib/eks/cluster.go
Jobs
ID Job ID Ran Files Coverage
1 28810080252.1 06 Jul 2026 05:39PM UTC 245
76.09
GitHub Action Run
Source Files on build 28810080252
  • Tree
  • List 245
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 74745e63 on github
  • Prev Build on gh-readonly-queue/main/pr-6991-81331680eb77b1b0b8cf610ee9a66a95a1bb419f (#28806805968)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc