Skip to content

Guardduty  >  Structures  >  KubernetesWorkloadDetails

KubernetesWorkloadDetails

Structure Class

KubernetesWorkloadDetails dataclass

Details about the Kubernetes workload involved in a Kubernetes finding.

Attributes

containers class-attribute instance-attribute
containers: list[Container] | None = None

Containers running as part of the Kubernetes workload.

host_ipc class-attribute instance-attribute
host_ipc: bool | None = None

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

host_network class-attribute instance-attribute
host_network: bool | None = None

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

host_pid class-attribute instance-attribute
host_pid: bool | None = None

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

name class-attribute instance-attribute
name: str | None = None

Kubernetes workload name.

namespace class-attribute instance-attribute
namespace: str | None = None

Kubernetes namespace that the workload is part of.

service_account_name class-attribute instance-attribute
service_account_name: str | None = None

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

type class-attribute instance-attribute
type: str | None = None

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

uid class-attribute instance-attribute
uid: str | None = None

Kubernetes workload ID.

volumes class-attribute instance-attribute
volumes: list[Volume] | None = None

Volumes used by the Kubernetes workload.