Repository navigation
feat(googlecloudcaik8s): generate GKE cluster and nodepool timeline revisions from Cloud Asset Inventory - #1002
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces support for fetching and mapping GKE cluster and node pool snapshots from Cloud Asset Inventory (CAI) to the timeline, including initial state extraction and integration with GKE API audit logs. Feedback on the changes suggests avoiding hex color conversions in favor of raw style.Color values to align with the display-p3 color space, and simplifying redundant nil checks before calling protobuf getter methods in the newly added files.
kyasbal
force-pushed
the
push-nsuuoyzxtuwz
branch
from
September 15, 2026 05:02
fa69821 to
091425e
Compare
kyasbal
marked this pull request as ready for review
September 15, 2026 06:53
kyasbal
requested review from
K53,
RyuSA,
jyane,
kkuchima and
renamoo
as code owners
September 15, 2026 06:53
…evisions from Cloud Asset Inventory
…tching, naming, and tests
…lish display names
…epools created after query start
…ized revision staging helpers
…date and streamline stageNodePoolInitialRevisions
…mCAI and add IsCluster predicate
…r tests, and timeline mapper parameters
…e mapper when GKE audit log is enabled
…rmined existence and audit initial manifest handling
kyasbal
force-pushed
the
push-nsuuoyzxtuwz
branch
from
September 15, 2026 07:45
797e13b to
a29f912
Compare
…and protobuf getters
Merged
via the queue into
GoogleCloudPlatform:main
with commit Sep 15, 2026
e47b20d
17 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds support for generating GKE cluster and nodepool timeline revisions from Cloud Asset Inventory (CAI) temporal assets, and integrates them with GKE API audit logs.
Key Changes
CAIGKEResourceFetcherTaskto query temporal history forcontainer.googleapis.com/Clusterandcontainer.googleapis.com/NodePoolfrom CAI.CAIGKEResourceLogIngesterTaskto parse and normalize temporal asset entries.CAIGKEResourceTimelineMapperTaskto construct timeline revisions (SnapshotFromCAI,NodePoolExistenceUndetermined) for clusters and nodepools.CAIGKEInitialResourceStateProviderto supply initial cluster and nodepool manifests at the start of the inspection window to the audit log parser.InitialResourceStateTaskingooglecloudloggkeapiauditto inject initial state into the operation tracker.OperationTrackerand audit log parser tasks to suppress redundantLogNotFoundrevisions when an initial resource state exists, and accurately record initial manifests and update operations.Testing
make test-go,make lint-go, andmake pre-commit.