← 返回
未分类 中文

GKE Hardening

Generates CIS Benchmark-aligned security hardening configurations for Google Kubernetes Engine clusters.
生成符合CIS基准的Google Kubernetes Engine集群安全加固配置。
krishnakumarmahadevan-cmd krishnakumarmahadevan-cmd 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 327
下载
💾 0
安装
1
版本
#latest

概述

Overview

The GKE Security Hardening Tool is a specialized security configuration generator designed to help DevOps engineers and security teams harden Google Kubernetes Engine (GKE) clusters according to Center for Internet Security (CIS) Benchmark standards. The tool automates the creation of security-focused configuration files, reducing manual setup time and ensuring compliance with industry-recognized security standards.

This tool is ideal for organizations deploying GKE in regulated environments, security-conscious teams implementing defense-in-depth strategies, and DevOps teams seeking to automate cluster hardening workflows. By leveraging the CIS Benchmarks, the tool ensures that generated configurations align with proven security practices and reduce the attack surface of Kubernetes deployments.

Key capabilities include generating hardened configuration files based on selected security options, retrieving all available hardening parameters, and tracking requests through session and user identifiers for audit and compliance purposes.

Usage

Example Request

Generate a hardened GKE configuration with specific security options:

{
  "hardeningOptions": {
    "networkPolicy": ["enabled", "restrictive"],
    "rbac": ["enabled"],
    "podSecurityPolicy": ["enabled", "restricted"],
    "auditLogging": ["enabled", "verbose"],
    "encryptionAtRest": ["enabled"]
  },
  "sessionId": "sess_abc123def456",
  "userId": 12345,
  "timestamp": "2024-01-15T10:30:00Z"
}

Example Response

{
  "configFiles": [
    {
      "filename": "network-policy.yaml",
      "content": "apiVersion: networking.k8s.io/v1\nkind: NetworkPolicy\nmetadata:\n  name: default-deny\nspec:\n  podSelector: {}\n  policyTypes:\n  - Ingress\n  - Egress"
    },
    {
      "filename": "rbac-config.yaml",
      "content": "apiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n  name: minimal-access\nrules:\n- apiGroups: [\"\"]\n  resources: [\"pods\"]\n  verbs: [\"get\", \"list\"]"
    },
    {
      "filename": "pod-security-policy.yaml",
      "content": "apiVersion: policy/v1beta1\nkind: PodSecurityPolicy\nmetadata:\n  name: restricted\nspec:\n  privileged: false\n  allowPrivilegeEscalation: false\n  requiredDropCapabilities:\n  - ALL"
    }
  ],
  "sessionId": "sess_abc123def456",
  "generatedAt": "2024-01-15T10:30:05Z",
  "status": "success"
}

Endpoints

GET /

Description: Health check endpoint for service availability verification.

Parameters: None

Response: Returns JSON object confirming service status.


POST /api/gke/hardening/generate

Description: Generates GKE security hardening configuration files based on provided hardening options.

Parameters:

NameTypeRequiredDescription
-----------------------------------
hardeningOptionsobjectYesDictionary mapping hardening feature names to arrays of configuration values (e.g., {"networkPolicy": ["enabled", "restrictive"]})
sessionIdstringYesUnique session identifier for tracking and audit purposes
userIdinteger or nullNoUser identifier for audit logging and usage attribution
timestampstringYesISO 8601 formatted timestamp of the request

Response: Returns JSON object containing:

  • configFiles: Array of objects with filename and content properties containing generated YAML configurations
  • sessionId: Echo of the request session identifier
  • generatedAt: Timestamp of configuration generation
  • status: "success" or error status

GET /api/gke/hardening/options

Description: Retrieves all available hardening options and their supported values for GKE configuration.

Parameters: None

Response: Returns JSON object mapping hardening feature names to arrays of available configuration options.


GET /health

Description: Health check endpoint for monitoring and liveness probes.

Parameters: None

Response: Returns JSON object confirming service health status.

Pricing

PlanCalls/DayCalls/MonthPrice
-------------------------------------
Free550Free
Developer20500$39/mo
Professional2005,000$99/mo
Enterprise100,0001,000,000$299/mo

About

ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube.

References

  • Kong Route: https://api.mkkpro.com/hardening/gke
  • API Docs: https://api.mkkpro.com:8147/docs

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 08:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,957
office-efficiency

PDF To PPTX

krishnakumarmahadevan-cmd
将PDF文档智能转换为可编辑的PowerPoint演示文稿,自动提取内容并优化格式。
★ 0 📥 1,367
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,644