Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 583 Bytes

kubescape-c-0041-deny-resources-with-host-network-access.md

File metadata and controls

21 lines (16 loc) · 583 Bytes

Kubescape C-0041: Deny resources with hostNetwork access.

Severity Level: High

Configuration Parameters:

  • Not Configurable

Resources this policy could be applied to:

  • CronJob
  • DaemonSet
  • Deployment
  • Job
  • Pod
  • ReplicaSet
  • StatefulSet

What does this policy do:

This Policy checks if hostNetwork is not set or set to false. If not, the resource is denied from being deployed in the cluster.

Implementing this policy in the Cluster:

Refer here for using the policy in the cluster