← 返回
未分类 中文

Cisco NXOS Hardening

Generates security hardening configurations for Cisco NX-OS network devices based on specified options.
根据指定选项为Cisco NX-OS网络设备生成安全加固配置。
krishnakumarmahadevan-cmd krishnakumarmahadevan-cmd 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 316
下载
💾 0
安装
1
版本
#latest

概述

Overview

The Cisco NX-OS Hardening Tool is a specialized security API designed to generate enterprise-grade hardening configurations for Cisco Nexus switches and NX-OS platforms. This tool helps network security teams and infrastructure engineers quickly produce validated security policies and configuration templates that align with industry best practices and security standards.

The tool accepts a set of hardening options and contextual metadata (session ID, user ID, and timestamp) to generate customized hardening configurations. It supports flexible option arrays, enabling teams to selectively apply security controls based on their specific environment and compliance requirements.

Ideal users include network engineers, security architects, DevOps teams managing Cisco infrastructure, and organizations requiring automated compliance configuration generation for Cisco Nexus environments.

Usage

Sample Request

{
  "sessionId": "sess_abc123def456",
  "userId": 42,
  "timestamp": "2025-01-15T10:30:00Z",
  "hardeningOptions": {
    "authentication": [
      "enable_aaa",
      "configure_radius",
      "enforce_password_policy"
    ],
    "access_control": [
      "disable_telnet",
      "enable_ssh_v2",
      "restrict_console_access"
    ],
    "logging": [
      "enable_syslog",
      "configure_ntp",
      "audit_command_logging"
    ]
  }
}

Sample Response

{
  "status": "success",
  "sessionId": "sess_abc123def456",
  "userId": 42,
  "timestamp": "2025-01-15T10:30:00Z",
  "configuration": {
    "authentication": {
      "commands": [
        "aaa new-model",
        "radius server 192.168.1.100",
        "password-policy min-length 12 uppercase lowercase digits special-chars"
      ]
    },
    "access_control": {
      "commands": [
        "no feature telnet",
        "feature ssh",
        "ssh key-length 2048",
        "line console 0",
        "access-class CONSOLE_ACL in"
      ]
    },
    "logging": {
      "commands": [
        "logging server 192.168.1.50 facility local7",
        "ntp server 192.168.1.60 prefer",
        "logging source-interface Loopback0",
        "logging level aaa 6"
      ]
    }
  },
  "appliedOptions": 9,
  "warnings": []
}

Endpoints

GET /

Summary: Root endpoint health check

Method: GET

Path: /

Description: Returns basic API status information and confirms the service is operational.

Parameters: None

Response:

  • 200 OK: Service is operational
  • Content-Type: application/json

POST /api/hardening/generate

Summary: Generate hardening configuration

Method: POST

Path: /api/hardening/generate

Description: Generates Cisco NX-OS hardening configurations based on the provided options, session context, and user information. Processes multiple hardening categories and returns validated configuration commands.

Parameters:

NameTypeRequiredDescription
-----------------------------------
hardeningOptionsObject (map of string → array of strings)YesDictionary of hardening categories with arrays of specific options. Keys represent categories (e.g., "authentication", "access_control"); values are arrays of option identifiers.
sessionIdStringYesUnique session identifier for tracking and audit purposes.
userIdInteger or nullNoIdentifier of the user requesting the configuration. Optional for anonymous requests.
timestampStringYesISO 8601 formatted timestamp indicating when the request was made (e.g., "2025-01-15T10:30:00Z").

Request Body Schema:

{
  "hardeningOptions": {
    "category_name": ["option1", "option2"]
  },
  "sessionId": "string",
  "userId": null,
  "timestamp": "2025-01-15T10:30:00Z"
}

Responses:

  • 200 OK: Configuration successfully generated
  • Content-Type: application/json
  • Returns hardening configuration with commands organized by category
  • 422 Unprocessable Entity: Validation error in request
  • Content-Type: application/json
  • Returns validation error details including field location, error message, and error type

Example Error Response:

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

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/cisco-nxos
  • API Docs: https://api.mkkpro.com:8137/docs

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 11:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,558
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,016
office-efficiency

PDF To PPTX

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