<  Back to rules search

Kubernetes Service Created with NodePort

kubernetes

Set up the kubernetes integration.

Goal

Detect when a service’s port is attached to the node’s IP.

Strategy

This rule monitors when a create (@http.method:create) action occurs for a service (@objectRef.resource:services) attaching the service’s port to the node’s IP @requestObject.spec.type:NodePort.

Exposing the service’s port to the the node’s IP allows other hosts on the network namespace to access this service.

Triage and response

  1. Determine if the service needs to expose it’s network connection with NodePort access.