manishjnv/intelwatch

GitHub: manishjnv/intelwatch

企业级威胁情报聚合平台,内置 12 个情报源连接器,统一采集、标准化并提供 API 服务。

Stars: 0 | Forks: 0

# IntelWatch ETIP — 企业威胁情报平台 [![CI/CD](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/ecd3378933192953.svg)](https://github.com/manishjnv/intelwatch/actions/workflows/deploy.yml) ![Version](https://img.shields.io/badge/version-4.0.0-00ff88) ![Phase](https://img.shields.io/badge/phase-1%20foundation-00aaff) ![Tests](https://img.shields.io/badge/tests-266%20unit%20+%2017%20prod-00ff88) **在线 API**: https://ti.intelwatch.in/health ## 当前状态 | 组件 | 状态 | 测试数 | |-----------|--------|-------| | 共享包 (types, utils, cache) | ✅ 已部署 | 153 | | 认证包 (JWT, RBAC, bcrypt) | ✅ 已部署 | 71 | | API 网关 (Fastify, middleware) | ✅ **VPS 上运行** | 26 | | 用户服务 (register, login, refresh) | ✅ **VPS 上运行** | 16 | | Prisma Schema (5 张表已应用) | ✅ **已应用到数据库** | — | | 基础设施 (9 个 Docker 容器) | ✅ 全部健康 | — | | CI/CD (test → deploy) | ✅ 自动部署 | — | | 生产环境测试 (VPS) | ✅ 17/17 通过 | 17 | | 前端框架 | ⬜ 下一步 | — | | **阶段 1 进度** | **95%** | **266 + 17** | ## 在线 API ``` # 健康 curl https://ti.intelwatch.in/health # 注册 curl -X POST https://ti.intelwatch.in/api/v1/auth/register \ -H "Content-Type: application/json" \ -d '{"email":"you@example.com","password":"YourSecurePass12!","displayName":"Name","tenantName":"Org","tenantSlug":"my-org"}' # Login → 返回 accessToken + refreshToken curl -X POST https://ti.intelwatch.in/api/v1/auth/login \ -H "Content-Type: application/json" \ -d '{"email":"you@example.com","password":"YourSecurePass12!"}' # 个人资料 curl -H "Authorization: Bearer " https://ti.intelwatch.in/api/v1/auth/me ``` ## 系统架构 ``` Internet → Caddy (SSL) → etip_nginx → etip_api:3001 (Fastify) ↕ etip_postgres · etip_redis ``` 9 个容器:PostgreSQL, Redis, Elasticsearch, Neo4j, MinIO, Prometheus, Grafana, Nginx, API ## 安全措施 JWT access (15分钟) + refresh (7天),支持轮换与盗用检测 · bcrypt cost 12 · RBAC 5 种角色 · PII 脱敏 · Rate limiting · Zod 验证 · CORS + Helmet ## 部署流程 推送到 `master` → 266 项测试 → 自动部署 → prisma db push → 健康检查。 故障排除请参阅 [部署 RCA](docs/DEPLOYMENT_RCA.md)。 **基于 Claude 构建** · [系统架构](PROJECT_BRAIN.md) · [部署 RCA](docs/DEPLOYMENT_RCA.md)
标签:API网关, Cybersecurity, Docker, ESC4, ETIP, Fastify, Feed Engine, GNU通用公共许可证, JWT, masscan, Node.js, nuclei, OSINT, PostgreSQL, Prisma, RBAC, Redis, TIP, TypeScript, 企业安全, 威胁情报平台, 威胁情报源连接器, 安全插件, 安全运营, 安全防御评估, 密码管理, 微服务架构, 情报聚合, 扫描框架, 搜索引擎查询, 测试用例, 特权提升, 网络安全, 网络测绘, 网络资产管理, 自动化攻击, 自动化部署, 自定义请求头, 请求拦截, 隐私保护