View Source GoogleApi.SecurityCenter.V1.Model.Object (google_api_security_center v0.29.0)

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

  • containers (type: list(GoogleApi.SecurityCenter.V1.Model.Container.t), default: nil) - Pod containers associated with this finding, if any.
  • group (type: String.t, default: nil) - Kubernetes object group, such as "policy.k8s.io/v1".
  • kind (type: String.t, default: nil) - Kubernetes object kind, such as "Namespace".
  • name (type: String.t, default: nil) - Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
  • ns (type: String.t, default: nil) - 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/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.Object{
  containers: [GoogleApi.SecurityCenter.V1.Model.Container.t()] | nil,
  group: String.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  ns: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.