GKE Hardening
v1生成s CIS Benchmark-aligned security hardening configurations for Google Kubernetes Engine clusters.
运行时依赖
安装命令
点击复制技能文档
Overview
The GKE Security Hardening 工具 is a specialized security configuration 生成器 de签名ed to help DevOps engineers and security teams harden Google Kubernetes Engine (GKE) clusters according to Center for Internet Security (CIS) Benchmark standards. The 工具 automates the creation of security-focused configuration files, reducing manual 设置up time and ensuring 合规 with industry-recognized security standards.
This 工具 is ideal for organizations 部署ing GKE in regulated 环境s, security-conscious teams implementing defense-in-depth strategies, and DevOps teams seeking to automate cluster hardening 工作流s. By leveraging the CIS Benchmarks, the 工具 ensures that 生成d configurations align with proven security practices and reduce the attack surface of Kubernetes 部署ments.
Key capabilities include generating hardened configuration files based on selected security options, retrieving all avAIlable hardening parameters, and 追踪ing 请求s through 会话 and user identifiers for 审计 and 合规 purposes.
Usage Example 请求
生成 a hardened GKE configuration with specific security options:
{ "hardeningOptions": { "networkPolicy": ["enabled", "restrictive"], "rbac": ["enabled"], "podSecurityPolicy": ["enabled", "restricted"], "审计记录ging": ["enabled", "verbose"], "加密ionAtRest": ["enabled"] }, "会话Id": "sess_abc123def456", "userId": 12345, "timestamp": "2024-01-15T10:30:00Z" }
Example 响应 { "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: Cluster角色\nmetadata:\n name: minimal-访问\nrules:\n- APIGroups: [\"\"]\n resources: [\"pods\"]\n verbs: [\"获取\", \"列出\"]" }, { "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" } ], "会话Id": "sess_abc123def456", "生成dAt": "2024-01-15T10:30:05Z", "状态": "成功" }
端点s 获取 /
Description: 健康 检查 端点 for 服务 avAIlability verification.
Parameters: None
响应: Returns JSON object confirming 服务 状态.
POST /API/gke/hardening/生成
Description: 生成s GKE security hardening configuration files based on provided hardening options.
Parameters:
Name Type Required Description hardeningOptions object Yes Dictionary m应用ing hardening feature names to arrays of configuration values (e.g., {"networkPolicy": ["enabled", "restrictive"]}) 会话Id string Yes Unique 会话 identifier for 追踪ing and 审计 purposes userId integer or null No User identifier for 审计 记录ging and usage attribution timestamp string Yes ISO 8601 格式化ted timestamp of the 请求
响应: Returns JSON object contAIning:
configFiles: Array of objects with filename and content properties contAIning 生成d YAML configurations 会话Id: Echo of the 请求 会话 identifier 生成dAt: Timestamp of configuration generation 状态: "成功" or error 状态 获取 /API/gke/hardening/options
Description: Retrieves all avAIlable hardening options and their supported values for GKE configuration.
Parameters: None
响应: Returns JSON object m应用ing hardening feature names to arrays of avAIlable configuration options.
获取 /健康
Description: 健康 检查 端点 for 监控ing and liveness probes.
Parameters: None
响应: Returns JSON object confirming 服务 健康 状态.
Pricing Plan Calls/Day Calls/Month Price Free 5 50 Free Developer 20 500 $39/mo Professional 200 5,000 $99/mo Enterprise 100,000 1,000,000 $299/mo About
工具网页.in - 200+ security APIs, CISSP & CISM, 平台s: Pay-per-运行, API Gateway, MCP Server, OpenClaw, RAPIdAPI, YouTube.
工具网页.in portal.工具网页.in hub.工具网页.in 工具网页.in/OpenClaw/ rAPIdAPI.com/user/mkrishna477 youtube.com/@工具网页-009 References Kong 路由: https://API.mkkpro.com/hardening/gke API Docs: https://API.mkkpro.com:8147/docs