skillhub/scanner
2026-04-07 14:18:59 +08:00
..
docs feat(security): add security scanning system with multi-scanner support and frontend UI (#144) 2026-03-23 09:56:03 +08:00
examples/vetter-rules feat(security): add security scanning system with multi-scanner support and frontend UI (#144) 2026-03-23 09:56:03 +08:00
manifests feat : 创建 Kubernetes 部署清单文件 2026-04-03 22:54:02 +08:00
.env.example feat(security): add security scanning system with multi-scanner support and frontend UI (#144) 2026-03-23 09:56:03 +08:00
.flow.yml feat : 更新后的云效流水线配置(使用 docker build 而不是 buildx 2026-04-03 23:14:29 +08:00
check-image.sh feat : 更新后的云效流水线配置(使用 docker build 而不是 buildx 2026-04-03 23:14:29 +08:00
DISABLE_CACHE_GUIDE.md feat : 更新后的云效流水线配置(使用 docker build 而不是 buildx 2026-04-03 23:14:29 +08:00
Dockerfile feat : 调整skillhub-scanner 服务启动 root_path路径问题 2026-04-07 14:18:59 +08:00
Dockerfile.debug feat : 调整skillhub-scanner 服务启动 root_path路径问题 2026-04-07 14:07:33 +08:00
Dockerfile.fallback feat : 调整skillhub-scanner 服务启动 root_path路径问题 2026-04-07 14:07:33 +08:00
Dockerfile.official feat : 调整skillhub-scanner 服务启动 root_path路径问题 2026-04-07 14:07:33 +08:00
Dockerfile.official-pypi feat : 调整skillhub-scanner 服务启动 root_path路径问题 2026-04-07 14:07:33 +08:00
README.md feat(security): add security scanning system with multi-scanner support and frontend UI (#144) 2026-03-23 09:56:03 +08:00
yunxiao-build.sh feat : 移除清华镜像源 2026-04-03 23:28:08 +08:00
云效图形化配置指南.md feat : 移除清华镜像源 2026-04-03 23:28:08 +08:00

Skill Scanner

本目录提供 Cisco skill-scanner 的本地 Docker 构建上下文,用于 make dev-all 开发流程。

开发流程会将 cisco-ai-skill-scanner 构建到本地容器中,并在 http://localhost:8000 上暴露服务。

快速开始

环境变量

Scanner 服务的可选环境变量:

  • SKILL_SCANNER_LLM_API_KEY - LLM API 密钥
  • SKILL_SCANNER_LLM_BASE_URL - LLM API 基础 URL
  • SKILL_SCANNER_LLM_MODEL - LLM 模型名称

启动服务

# 启动所有服务(包括 Scanner)
make dev-all

# 检查 Scanner 服务状态
curl http://localhost:8000/health

文档

架构说明

Scanner 服务与 SkillHub 的集成架构:

SkillHub Backend
    ↓
SecurityScanService.triggerScan()
    ↓
Redis Stream (skillhub:scan:requests)
    ↓
ScanTaskConsumer
    ↓
SkillScannerAdapter
    ↓
SkillScannerService (HTTP Client)
    ↓
Cisco skill-scanner API

相关配置

SkillHub 后端的 Scanner 配置位于:

  • server/skillhub-app/src/main/resources/application.yml
  • deploy/k8s/configmap.yaml
  • deploy/k8s/secret.yaml

详见 配置说明。