360 Secure SkillHub
360 安全技能中心

Cisco IOSXR Hardening

这是面向Cisco IOS XR设备的安全加固API,核心功能是自动化生成符合行业最佳实践的定制化加固配置,支持会话追踪与审计,减少人工配置失误。适合网络管理员、安全团队等管理大量XR设备时,实现一致可重复的安全加固。输入为含会话标识、时间戳及定制加固选项的JSON请求,输出为可部署或审查的设备配置JSON响应。

krishnakumarmahadevan-cmd
krishnakumarmahadevan-cmd
热度 42.62
最近更新 2026-05-11 17:38:25
分类:安全依赖:第三方 API应用场景:DevOps / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add toolweb-cisco-iosxr-hardening
Metadata
name
Cisco IOS XR Hardening Tool
description
Generate security hardening configurations for Cisco IOS XR devices with customizable hardening options.

Overview

The Cisco IOS XR Hardening Tool is a security-focused API that automates the generation of hardening configurations for Cisco IOS XR networking devices. This tool enables network engineers and security teams to quickly produce baseline security configurations aligned with industry best practices, reducing manual configuration time and minimizing security misconfigurations.

The tool accepts customizable hardening options and generates device-ready configurations that can be directly deployed or reviewed before implementation. With built-in session tracking and timestamp validation, it supports audit trails and integration into automated network security workflows.

Ideal users include network administrators, security operations teams, infrastructure automation engineers, and organizations managing large Cisco IOS XR deployments who need consistent, repeatable security hardening across their network infrastructure.

Usage

Sample Request:

{
  "sessionId": "sess_abc123def456",
  "userId": 1001,
  "timestamp": "2024-01-15T14:30:00Z",
  "hardeningOptions": {
    "enableAAAAuthentication": true,
    "disableUnusedServices": true,
    "enforceSSHOnly": true,
    "enableLogging": true,
    "applyAccessLists": true,
    "minimumSecurityLevel": "high"
  }
}

Sample Response:

{
  "status": "success",
  "sessionId": "sess_abc123def456",
  "timestamp": "2024-01-15T14:30:05Z",
  "config": {
    "aaa": "aaa authentication login default group tacacs+ local\naaa authorization exec default group tacacs+ local",
    "services": "no service udp-small-servers\nno service tcp-small-servers\nno telnet",
    "ssh": "ip ssh version 2\nip ssh rsa keypair-name ssh-key",
    "logging": "logging 10.0.0.1 severity 6\nlogging facility local6",
    "acl": "access-list 101 permit ip 10.0.0.0 0.0.0.255 any"
  },
  "appliedOptions": {
    "enableAAAAuthentication": true,
    "disableUnusedServices": true,
    "enforceSSHOnly": true,
    "enableLogging": true,
    "applyAccessLists": true
  }
}

Endpoints

POST /api/hardening/generate

Generates a security hardening configuration for Cisco IOS XR devices based on provided options.

Method: POST

Path: /api/hardening/generate

Description: Accepts a hardening request with customizable security options and returns a generated configuration ready for deployment or review.

Request Parameters:

Name Type Required Description
hardeningOptions object Yes Object containing specific hardening configurations to apply (e.g., authentication, service restrictions, logging policies).
sessionId string Yes Unique session identifier for tracking and audit purposes.
userId integer No ID of the user requesting the hardening configuration for audit logging.
timestamp string Yes ISO 8601 formatted timestamp indicating when the request was generated.

Response Shape:

{
  "status": "string",
  "sessionId": "string",
  "timestamp": "string",
  "config": "object",
  "appliedOptions": "object",
  "warnings": ["string"]
}

Status Codes:

  • 200 OK: Configuration generated successfully.
  • 422 Unprocessable Entity: Request validation failed (missing or invalid parameters).

GET /

Returns service status and basic information about the API.

Method: GET

Path: /

Description: Health check and root endpoint providing API metadata and availability status.

Response Shape:

{
  "status": "string",
  "version": "string",
  "service": "string"
}

Status Codes:

  • 200 OK: Service is operational.

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