KubernetesWorkloadDetails¶
Structure Class¶
KubernetesWorkloadDetails
dataclass
¶
Bases: _SerdeShape
Details about the Kubernetes workload involved in a Kubernetes finding.
Attributes¶
containers
class-attribute
instance-attribute
¶
Containers running as part of the Kubernetes workload.
host_ipc
class-attribute
instance-attribute
¶
host_ipc: bool | None = ...
Whether the host IPC flag is enabled for the pods in the workload.
host_network
class-attribute
instance-attribute
¶
host_network: bool | None = ...
Whether the hostNetwork flag is enabled for the pods included in the workload.
host_pid
class-attribute
instance-attribute
¶
host_pid: bool | None = ...
Whether the host PID flag is enabled for the pods in the workload.
namespace
class-attribute
instance-attribute
¶
namespace: str | None = ...
Kubernetes namespace that the workload is part of.
service_account_name
class-attribute
instance-attribute
¶
service_account_name: str | None = ...
The service account name that is associated with a Kubernetes workload.