Overview
The GKE integration ingests GKE control plane logs that are written to Cloud Logging:
kube-apiserver— Kubernetes API requestskube-audit— admission and authorization decisionskube-controller-managerandkube-schedulerevents- GKE security posture and binary authorization events
Prerequisites
- A GKE cluster with control plane logging enabled and routed to Cloud Logging.
- A service account with the Logs Viewer role on the cluster's project.
Step 1: Enable GKE control plane logging
- Open the Google Cloud Console → Kubernetes Engine → Clusters and select your cluster.
- Click the pencil icon next to Logging under Features.
- Enable the components you need:
API serverSchedulerController Manager
- Click Save changes.
Step 2: Create a service account
- Go to IAM & Admin → Service Accounts → Create service account.
- Name it
atatus-gkeand click Create and continue. - Grant the role Logs Viewer (
roles/logging.viewer). For Data Access logs, also grant Private Logs Viewer (roles/logging.privateLogViewer). - Click Done.
- Open the service account → Keys tab → Add Key → Create new key → JSON and download the file.
Step 3: Connect GKE in Atatus
- In Atatus, go to Security → Cloud SIEM → Integrations.
- Locate the GCP Kubernetes (GKE) card and click Connect.
- Fill in the form:
| Field | Description | Example |
|---|---|---|
| Service Account JSON | Paste the entire JSON key from Step 2. | { "type": "service_account", ... } |
| GCP Project ID | Project containing the cluster. | my-project-123 |
| Cluster Name | GKE cluster name. | prod-gke-cluster |
| Poll Interval (minutes) | How often to fetch new entries. | 5 |
| Enabled | Turn collection on. | true |
- Click Connect.
Verification
- The GCP Kubernetes (GKE) card shows Configured.
- Control plane events appear in Security → Cloud SIEM → Audit Logs → Events with source
gke.
+1-415-800-4104