Module Values.KubernetesWorkloadDetailsSource

Details about the Kubernetes workload involved in a Kubernetes finding.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    Kubernetes workload name.

    *)
  2. type_ : String_.t option;
    (*

    Kubernetes workload type (e.g. Pod, Deployment, etc.).

    *)
  3. uid : String_.t option;
    (*

    Kubernetes workload ID.

    *)
  4. namespace : String_.t option;
    (*

    Kubernetes namespace that the workload is part of.

    *)
  5. hostNetwork : Boolean.t option;
    (*

    Whether the hostNetwork flag is enabled for the pods included in the workload.

    *)
  6. serviceAccountName : String_.t option;
    (*

    The service account name that is associated with a Kubernetes workload.

    *)
  7. containers : Containers.t option;
    (*

    Containers running as part of the Kubernetes workload.

    *)
  8. volumes : Volumes.t option;
    (*

    Volumes used by the Kubernetes workload.

    *)
  9. hostIPC : Boolean.t option;
    (*

    Whether the host IPC flag is enabled for the pods in the workload.

    *)
  10. hostPID : Boolean.t option;
    (*

    Whether the host PID flag is enabled for the pods in the workload.

    *)
}
Sourceval make : ?name:??? -> ?type_:??? -> ?uid:??? -> ?namespace:??? -> ?hostNetwork:??? -> ?serviceAccountName:??? -> ?containers:??? -> ?volumes:??? -> ?hostIPC:??? -> ?hostPID:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ]) list ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t