Files
CyberStrikeAI/tools/api-schema-analyzer.yaml
2025-11-09 14:59:56 +08:00

51 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: "api-schema-analyzer"
command: "spectral"
enabled: true
short_description: "API模式分析工具识别潜在安全问题"
description: |
分析API模式OpenAPI/Swagger/GraphQL并识别潜在安全问题。
**主要功能:**
- API模式分析
- 安全问题识别
- 端点发现
- 建议生成
**使用场景:**
- API安全审计
- 模式分析
- 安全问题发现
- 安全评估
parameters:
- name: "schema_url"
type: "string"
description: "API模式URLOpenAPI/Swagger/GraphQL"
required: true
flag: "-s"
format: "flag"
- name: "schema_type"
type: "string"
description: "模式类型openapi, swagger, graphql"
required: false
default: "openapi"
flag: "--type"
format: "flag"
- name: "additional_args"
type: "string"
description: |
额外的api-schema-analyzer参数。用于传递未在参数列表中定义的api-schema-analyzer选项。
**示例值:**
- 根据工具特性添加常用参数示例
**注意事项:**
- 多个参数用空格分隔
- 确保参数格式正确,避免命令注入
- 此参数会直接追加到命令末尾
required: false
format: "positional"