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.
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.).