cognis-digital/seataudit

GitHub: cognis-digital/seataudit

一款可自托管的 SaaS 许可证与席位使用审计工具,帮助企业发现闲置席位和影子 IT 以降低 SaaS 支出。

Stars: 0 | Forks: 0

SEATAUDIT # SEATAUDIT ### SaaS 许可证、席位使用与影子 IT 审计工具 [![PyPI](https://img.shields.io/pypi/v/cognis-seataudit.svg?color=6b46c1)](https://pypi.org/project/cognis-seataudit/) [![CI](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/af3ea98477060213.svg)](https://github.com/cognis-digital/seataudit/actions) [![License: COCL 1.0](https://img.shields.io/badge/License-COCL%201.0-2b6cb0.svg)](LICENSE) [![Suite](https://img.shields.io/badge/Cognis-Neural%20Suite-6b46c1.svg)](https://github.com/cognis-digital) *商业运营 — 运营公司而无需为每个功能支付 SaaS 账单。*
``` pip install cognis-seataudit seataudit scan . # → prioritized findings in seconds ``` ## 目录 - [为什么选择 seataudit?](#why) · [功能](#features) · [快速开始](#quick-start) · [示例](#example) · [架构](#architecture) · [AI 技术栈](#ai-stack) · [对比](#how-it-compares) · [集成](#integrations) · [随处安装](#install-anywhere) · [相关项目](#related) · [贡献](#contributing) ## 使用 — 逐步指南 `seataudit` 审计 SaaS 资产清单 JSON,查找闲置席位、可回收支出以及影子 IT。 1. **安装** pip install seataudit 2. **审计资产清单文件** 查找席位浪费: seataudit audit inventory.json 3. **调整闲置阈值** 使用 `--inactive-days`(默认 45): seataudit audit inventory.json --inactive-days 30 4. **读取 JSON 输出**,或仅通过 `--summary` 查看 CFO 汇总数据: seataudit audit inventory.json --format json | jq '.reclaimable_annual' seataudit audit inventory.json --summary 5. **在自动化/CI 中使用** — 定期输出 JSON,并在可回收支出超出预算线时发出警报: seataudit audit inventory.json --format json --summary \ | jq -e '.reclaimable_monthly < 500' || echo "review SaaS spend" ## 为什么选择 seataudit? 减少 SaaS 浪费;CFO 友好 `seataudit` 是单一用途、可脚本化且可自托管的:将其指向目标,以您的工作流已支持的格式(table · JSON · SARIF)获取优先级排序的结果,以此为门槛限制 CI,并让代理通过 MCP 驱动它。
↑ 回到顶部
## 功能 - ✅ 加载资产清单 - ✅ 审计 - ✅ 汇总 - ✅ 可在 Linux/macOS/Windows · Docker · devcontainer 上运行 - ✅ 支持 Python、JavaScript、Go 和 Rust 移植版本 (`ports/`)
↑ 回到顶部
## 快速开始 ``` pip install cognis-seataudit seataudit --version seataudit scan . # scan current project seataudit scan . --format json # machine-readable seataudit scan . --fail-on high # CI gate (non-zero exit) ```
↑ 回到顶部
## 示例 ``` $ seataudit scan . [HIGH ] SEA-001 example finding (./src/app.py) [MEDIUM ] SEA-002 another signal (./config.yaml) 2 findings · risk score 5 · 38ms ```
↑ 回到顶部
## 架构 ``` flowchart LR IN[target / manifest] --> P[seataudit
checks + rules] P --> OUT[findings (JSON / SARIF)] ```
↑ 回到顶部
## 从任何 AI 技术栈中使用 `seataudit` 与每种流行的 AI 使用方式都兼容: - **MCP server** — `seataudit mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **兼容 OpenAI / JSON** — 将 `seataudit scan . --format json` 管道传输给任何代理或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 用一行代码将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI 流水线提供退出代码 + SARIF
↑ 回到顶部
## 对比 | | **Cognis seataudit** | Torii | |---|:---:|:---:| | 可自托管,无需账号 | ✅ | 视情况而定 | | 单一命令,零配置 | ✅ | ⚠️ | | 适用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | MCP 原生(AI 代理) | ✅ | ❌ | | 多语言移植(JS/Go/Rust) | ✅ | ❌ | | 开源许可证 | ✅ COCL | 视情况而定 | *秉承 **Torii / Zylo** 的精神,以 Cognis 的方式重新构建。遗漏了致谢?欢迎提交 PR。*
↑ 回到顶部
## 集成 接入您的技术栈:用于代码扫描的 **SARIF**,用于任何场景的 **JSON**,用于 AI 代理的 **MCP server** (`seataudit mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。
↑ 回到顶部
## 安装 — 各种方式,所有平台 ``` pip install "git+https://github.com/cognis-digital/seataudit.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/seataudit.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/seataudit.git" # uv pip install cognis-seataudit # PyPI (when published) docker run --rm ghcr.io/cognis-digital/seataudit:latest --help # Docker brew install cognis-digital/tap/seataudit # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/seataudit/main/install.sh | sh ``` | Linux | macOS | Windows | Docker | 云平台 | |---|---|---|---|---| | `scripts/setup-linux.sh` | `scripts/setup-macos.sh` | `scripts/setup-windows.ps1` | `docker run ghcr.io/cognis-digital/seataudit` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) |
↑ 回到顶部
## 相关的 Cognis 工具 - [`invoctl`](https://github.com/cognis-digital/invoctl) — 命令行开票 + 支付链接生成器,支持 PDF 和本地账本 - [`churnlens`](https://github.com/cognis-digital/churnlens) — 自托管的 SaaS 指标 — 从 Stripe 或 CSV 获取 MRR、流失率和 LTV - [`leadforge`](https://github.com/cognis-digital/leadforge) — 轻量级 MCP 原生 CRM pipeline,支持邮件序列 - [`quotecraft`](https://github.com/cognis-digital/quotecraft) — 提案 / 报价 / SOW 生成器 — 从 YAML 生成品牌化 PDF - [`boardroom`](https://github.com/cognis-digital/boardroom) — 根据您的指标生成投资者更新和 KPI 单页报告 - [`paywatch`](https://github.com/cognis-digital/paywatch) — 从银行/Plaid CSV 检测经常性费用和订阅的工具 **探索套件 →** [🗂️ 全部 170+ 工具](https://github.com/cognis-digital/cognis-neural-suite) · [⭐ awesome-cognis](https://github.com/cognis-digital/awesome-cognis) · [🔗 cognis-sources](https://github.com/cognis-digital/cognis-sources) · [🤖 uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet) · [🧠 engram](https://github.com/cognis-digital/engram)
↑ 回到顶部
## 互操作性 `{}` 与 300+ 工具的 Cognis 套件组合使用 — JSON 输入/输出和共享的 兼容 OpenAI 的 `/v1` 骨干网络。请参阅 **[INTEROP.md](INTEROP.md)** 了解 套件图谱、组合模式和参考技术栈。 ## 许可证 在 **Cognis Open Collaboration License (COCL) v1.0** 下源代码可见 — 个人、内部评估、研究和教育用途免费;**商业 / 生产用途需要许可证** (licensing@cognis.digital)。参见 [LICENSE](LICENSE)。
Cognis Digital · Cognis Neural Suite 中 170+ 工具之一 · 让明天在今天更美好
标签:IT运维, Python, SaaS管理, Socks5代理, 可视化界面, 影子IT, 成本优化, 数据可视化, 无后门, 日志审计, 许可证审计, 请求拦截, 逆向工具