← 返回 Skills 市场
krishnakumarmahadevan-cmd

Amazon EKS Hardening

作者 ToolWeb · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
107
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install toolweb-amazon-eks-hardening
功能描述
Professional Amazon EKS security configuration generator based on CIS Benchmarks for automated Kubernetes cluster hardening.
使用说明 (SKILL.md)

Overview

The Amazon EKS Security Hardening Tool is a professional-grade security configuration generator designed for DevOps and security engineers deploying Amazon Elastic Kubernetes Service (EKS) clusters. Built on industry-standard CIS Benchmarks, this tool automates the generation of hardened security configurations, reducing manual configuration errors and ensuring compliance with security best practices.

The tool provides intelligent configuration generation based on your specific security requirements and deployment context. It supports multiple hardening strategies aligned with CIS Kubernetes Benchmarks, enabling teams to implement defense-in-depth security postures without extensive manual tuning. The generated configurations can be directly applied to EKS clusters, significantly accelerating secure deployment workflows.

Ideal users include AWS DevOps teams, Kubernetes security architects, cloud infrastructure engineers, and organizations subject to compliance frameworks such as CIS, SOC 2, or industry-specific security standards. The tool is particularly valuable for enterprises standardizing EKS deployments across multiple clusters and teams.

Usage

Sample Request

{
  "sessionId": "sess_3f8k2j9lm0q1r2s3",
  "userId": 12345,
  "timestamp": "2024-01-15T14:30:00Z",
  "hardeningOptions": {
    "rbac": ["enable_strict_policies", "enforce_service_accounts"],
    "network_policies": ["default_deny_ingress", "default_deny_egress"],
    "audit_logging": ["enable_audit_logs", "log_authentication_events"],
    "pod_security": ["enforce_pod_security_standards", "disable_privileged_containers"],
    "encryption": ["enable_etcd_encryption", "enable_secrets_encryption"]
  }
}

Sample Response

{
  "status": "success",
  "sessionId": "sess_3f8k2j9lm0q1r2s3",
  "generated_configs": {
    "rbac": {
      "cluster_role_binding": "apiVersion: rbac.authorization.k8s.io/v1\
kind: ClusterRoleBinding\
metadata:\
  name: restrict-system-access\
roleRef:\
  apiGroup: rbac.authorization.k8s.io\
  kind: ClusterRole\
  name: view\
subjects:\
- kind: ServiceAccount\
  name: default\
  namespace: default",
      "network_policies": "apiVersion: networking.k8s.io/v1\
kind: NetworkPolicy\
metadata:\
  name: default-deny-all\
  namespace: default\
spec:\
  podSelector: {}\
  policyTypes:\
  - Ingress\
  - Egress"
    },
    "audit_logging": {
      "audit_policy": "apiVersion: audit.k8s.io/v1\
kind: Policy\
rules:\
- level: RequestResponse\
  omitStages:\
  - RequestReceived\
  resources:\
  - group: \"\"\
    resources:\
    - secrets"
    },
    "pod_security": {
      "pod_security_standards": "apiVersion: policy/v1beta1\
kind: PodSecurityPolicy\
metadata:\
  name: restricted\
spec:\
  privileged: false\
  allowPrivilegeEscalation: false\
  requiredDropCapabilities:\
  - ALL"
    }
  },
  "deployment_guide": "Apply configurations in the following order: 1. RBAC policies 2. Network policies 3. Audit logging 4. Pod security standards 5. Encryption settings",
  "recommendations": [
    "Enable CloudTrail logging for EKS API audit events",
    "Implement AWS Security Hub for continuous compliance monitoring",
    "Use AWS KMS for encryption key management",
    "Configure VPC security groups to restrict cluster access"
  ],
  "timestamp": "2024-01-15T14:30:15Z"
}

Endpoints

GET /

Health Check Endpoint

Returns the service health status.

Parameters: None

Response:

Content-Type: application/json
Status: 200 OK
Body: {} (empty JSON object)

POST /api/eks/hardening/generate

Generate Amazon EKS Security Hardening Configuration

Generates customized Amazon EKS security hardening configuration files based on specified hardening options and CIS Benchmark standards.

Parameters:

Name Type Required Description
hardeningOptions object (string arrays) Yes Dictionary mapping hardening categories to configuration options. Each key represents a security domain (e.g., "rbac", "network_policies") and values are arrays of specific hardening measures to apply.
sessionId string Yes Unique session identifier for tracking and audit purposes.
userId integer or null No Identifier of the user requesting the configuration. Optional for anonymous requests.
timestamp string Yes ISO 8601 formatted timestamp indicating when the request was initiated.

Response (200 OK):

{
  "status": "success",
  "sessionId": "string",
  "generated_configs": {
    "[category]": {
      "[config_name]": "string (YAML/manifest content)"
    }
  },
  "deployment_guide": "string",
  "recommendations": ["string"]
}

Error Response (422 Unprocessable Entity):

{
  "detail": [
    {
      "loc": ["body", "hardeningOptions"],
      "msg": "field required",
      "type": "value_error.missing"
    }
  ]
}

GET /api/eks/hardening/options

Retrieve Available EKS Hardening Options

Returns a comprehensive list of all available hardening options and configuration choices supported by the tool.

Parameters: None

Response (200 OK):

{
  "hardening_categories": {
    "rbac": [
      "enable_strict_policies",
      "enforce_service_accounts",
      "restrict_default_sa",
      "implement_least_privilege"
    ],
    "network_policies": [
      "default_deny_ingress",
      "default_deny_egress",
      "whitelist_trusted_namespaces",
      "enable_calico_network_policies"
    ],
    "audit_logging": [
      "enable_audit_logs",
      "log_authentication_events",
      "log_authorization_decisions",
      "log_sensitive_data_access"
    ],
    "pod_security": [
      "enforce_pod_security_standards",
      "disable_privileged_containers",
      "enforce_read_only_rootfs",
      "restrict_host_access"
    ],
    "encryption": [
      "enable_etcd_encryption",
      "enable_secrets_encryption",
      "use_aws_kms_keys",
      "rotate_encryption_keys"
    ],
    "image_security": [
      "enforce_image_registry_policies",
      "enable_image_scanning",
      "require_signed_images",
      "block_untrusted_registries"
    ]
  },
  "cis_benchmark_version": "1.7.0",
  "last_updated": "2024-01-15T00:00:00Z"
}

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

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

References

安全使用建议
This skill appears coherent and low-risk as a generator of EKS hardening manifests. Before using it: 1) Review generated YAMLs manually (especially RBAC and PodSecurityPolicy-like rules) and test in a staging cluster — do not apply to production blindly. 2) The skill does not request AWS credentials; if you later choose to apply configs, supply cluster credentials separately and limit their scope (use least privilege). 3) Because this is instruction-only with no code, there is minimal install-time risk, but always validate content for unexpected privileged settings (e.g., granting wide ClusterRoleBindings or allowing privileged containers) before applying.
功能分析
Type: OpenClaw Skill Name: toolweb-amazon-eks-hardening Version: 1.0.0 The skill bundle describes a legitimate security utility for generating Amazon EKS hardening configurations based on CIS Benchmarks. It interacts with an external API (api.mkkpro.com) to provide Kubernetes manifests (YAML) for RBAC, network policies, and audit logging. There is no evidence of data exfiltration, malicious execution, or prompt injection; the tool's behavior aligns with its stated purpose of assisting DevOps engineers with cluster security.
能力评估
Purpose & Capability
The name/description claim to generate CIS-aligned EKS configurations. The SKILL.md and openapi.json only describe generating and returning YAML manifests and guidance. There are no unrelated required binaries, env vars, or config paths.
Instruction Scope
The runtime instructions focus on generating configuration files and returning deployment guidance. The SKILL.md suggests the generated configs "can be directly applied to EKS clusters," but it does not itself instruct the agent to obtain AWS credentials or execute kubectl/eksctl commands. Users should be aware that applying these manifests to a live cluster requires appropriate cluster credentials and privileges (which the skill does not request).
Install Mechanism
This is an instruction-only skill with no install spec or shipped binaries; nothing will be written to disk or downloaded when installed from the registry.
Credentials
The skill declares no required environment variables, credentials, or config paths. The lack of AWS credentials is expected for a generator-only tool; however, applying the output to real clusters will require separate, explicit credentials that the user must provide deliberately.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system privileges. It does not claim to modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install toolweb-amazon-eks-hardening
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /toolweb-amazon-eks-hardening 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Amazon EKS Security Hardening Tool. - Generates security configurations for Amazon EKS clusters based on CIS Benchmarks. - Supports custom hardening options for RBAC, network policies, audit logging, pod security, encryption, and image security. - Provides API endpoints to generate configurations, retrieve available hardening options, and perform health checks. - Delivers deployment guides and additional security recommendations with each configuration. - Includes clear usage documentation and transparent pricing plans.
元数据
Slug toolweb-amazon-eks-hardening
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Amazon EKS Hardening 是什么?

Professional Amazon EKS security configuration generator based on CIS Benchmarks for automated Kubernetes cluster hardening. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 107 次。

如何安装 Amazon EKS Hardening?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install toolweb-amazon-eks-hardening」即可一键安装,无需额外配置。

Amazon EKS Hardening 是免费的吗?

是的,Amazon EKS Hardening 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Amazon EKS Hardening 支持哪些平台?

Amazon EKS Hardening 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Amazon EKS Hardening?

由 ToolWeb(@krishnakumarmahadevan-cmd)开发并维护,当前版本 v1.0.0。

💬 留言讨论