Skip to content

Commit

Permalink
Merge pull request #507 from kubescape/disable-hostport-attackchains
Browse files Browse the repository at this point in the history
remove control C-0044 (hostPort) from attack tracks
  • Loading branch information
YiscahLevySilas1 authored Sep 18, 2023
2 parents 546619d + 44a1d4c commit 96b1f7e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions controls/C-0044-containerhostport.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@
"security",
"compliance",
"devops"
],
"attackTracks": [
{
"attackTrack": "workload-external-track",
"categories": [
"Initial Access"
]
},
{
"attackTrack": "service-destruction",
"categories": [
"Initial Access"
]
}
]
},
"description": "Configuring hostPort requires a particular port number. If two objects specify the same HostPort, they could not be deployed to the same node. It may prevent the second object from starting, even if Kubernetes will try reschedule it on another node, provided there are available nodes with sufficient amount of resources. Also, if the number of replicas of such workload is higher than the number of nodes, the deployment will consistently fail.",
Expand Down

0 comments on commit 96b1f7e

Please sign in to comment.