Class Object (1.31.0)

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.

Attributes

Name Description
group str
Kubernetes object group, such as "policy.k8s.io/v1".
kind str
Kubernetes object kind, such as "Namespace".
ns str
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
name str
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
containers MutableSequence[google.cloud.securitycenter_v2.types.Container]
Pod containers associated with this finding, if any.