Kubernetes Service Created with NodePort

Set up the kubernetes integration.

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

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

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

Changelog

  • 7 May 2024 - Updated detection query to include logs from Azure Kubernetes Service.
  • 16 July 2024 - Updated detection query to include logs from Google Kubernetes Engine.
PREVIEWING: evan.li/clarify-agentless