turbot/kubernetes_compliance

Control: Kubernetes API should serve on secure port

Description

Kubernetes API should serve on port 443 or port 6443, protected by TLS. Once TLS is established, the HTTP request moves to the authentication step. If the request cannot be authenticated, it is rejected with HTTP status code 401.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.endpoint_api_serve_on_secure_port

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run kubernetes_compliance.control.endpoint_api_serve_on_secure_port --share

SQL

This control uses a named query:

endpoint_api_serve_on_secure_port

Tags