Skip to content

KubernetesWorkloadDetails

Source code in docs_src/capo_guardduty/types/kubernetes_workload_details.py
class KubernetesWorkloadDetails(TypedDict, closed=True):
    name: NotRequired["capo_guardduty.types.string.String"]
    """<p>Kubernetes workload name.</p>"""
    type: NotRequired["capo_guardduty.types.string.String"]
    """<p>Kubernetes workload type (e.g. Pod, Deployment, etc.).</p>"""
    uid: NotRequired["capo_guardduty.types.string.String"]
    """<p>Kubernetes workload ID.</p>"""
    namespace: NotRequired["capo_guardduty.types.string.String"]
    """<p>Kubernetes namespace that the workload is part of.</p>"""
    host_network: NotRequired["capo_guardduty.types.boolean.Boolean"]
    """<p>Whether the hostNetwork flag is enabled for the pods included in the workload.</p>"""
    service_account_name: NotRequired["capo_guardduty.types.string.String"]
    """<p>The service account name that is associated with a Kubernetes workload.</p>"""
    containers: NotRequired["capo_guardduty.types.containers.Containers"]
    """<p>Containers running as part of the Kubernetes workload.</p>"""
    volumes: NotRequired["capo_guardduty.types.volumes.Volumes"]
    """<p>Volumes used by the Kubernetes workload.</p>"""
    host_ipc: NotRequired["capo_guardduty.types.boolean.Boolean"]
    """<p>Whether the host IPC flag is enabled for the pods in the workload.</p>"""
    host_pid: NotRequired["capo_guardduty.types.boolean.Boolean"]
    """<p>Whether the host PID flag is enabled for the pods in the workload. </p>"""

containers instance-attribute

containers: NotRequired[Containers]

Containers running as part of the Kubernetes workload.

host_ipc instance-attribute

host_ipc: NotRequired[Boolean]

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

host_network instance-attribute

host_network: NotRequired[Boolean]

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

host_pid instance-attribute

host_pid: NotRequired[Boolean]

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

name instance-attribute

name: NotRequired[String]

Kubernetes workload name.

namespace instance-attribute

namespace: NotRequired[String]

Kubernetes namespace that the workload is part of.

service_account_name instance-attribute

service_account_name: NotRequired[String]

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

type instance-attribute

type: NotRequired[String]

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

uid instance-attribute

uid: NotRequired[String]

Kubernetes workload ID.

volumes instance-attribute

volumes: NotRequired[Volumes]

Volumes used by the Kubernetes workload.