# Class Kubernetes (1.45.0)

1.45.0 (latest) 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.1 1.33.1 1.32.1 1.31.0 1.30.1 1.29.0 1.28.0 1.27.0 1.26.1 1.25.0 1.24.1 1.23.2 1.22.0 1.21.0 1.20.0 1.19.1 1.18.2 1.17.0 1.16.2 1.15.0 1.14.0 1.13.0 1.12.0 1.11.1 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.2 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.7.3 0.6.0 0.5.0 0.4.0 0.3.0

    Kubernetes(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Kubernetes-related attributes.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `pods` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.Kubernetes.Pod]` Kubernetes `Pods `__ associated with the finding. This field contains Pod records for each container that is owned by a Pod. |
| `nodes` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.Kubernetes.Node]` Provides Kubernetes `node `__ information. |
| `node_pools` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.Kubernetes.NodePool]` GKE \`node pools |
| `roles` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.Kubernetes.Role]` Provides Kubernetes role information for findings that involve \`Roles or ClusterRoles |
| `bindings` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.Kubernetes.Binding]` Provides Kubernetes role binding information for findings that involve \`RoleBindings or ClusterRoleBindings |
| `access_reviews` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.Kubernetes.AccessReview]` Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding. |
| `objects` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.Kubernetes.Object]` Kubernetes objects related to the finding. |

## Classes

### AccessReview

    AccessReview(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Conveys information about a Kubernetes access review (such as one
returned by a
`` `kubectl auth can-i `` <https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access>\`__
command) that was involved in a finding.

### Binding

    Binding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Kubernetes RoleBinding or ClusterRoleBinding.

### Node

    Node(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Kubernetes nodes associated with the finding.

### NodePool

    NodePool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Provides GKE node pool information.

### Object

    Object(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Kubernetes object related to the finding, uniquely identified
by GKNN. Used if the object Kind is not one of Pod, Node,
NodePool, Binding, or AccessReview.

### Pod

    Pod(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Kubernetes Pod.

### Role

    Role(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Kubernetes Role or ClusterRole.

### Subject

    Subject(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Kubernetes subject.