Files
code_scan/config.yaml
Dang Zerong 7e47d80d3e init
2026-03-09 10:50:22 +08:00

36 lines
898 B
YAML

server:
host: "0.0.0.0"
port: 5000
debug: true
gitea:
# Gitea 服务器地址(根据实际情况修改)
base_url: "http://154.9.253.114:3000"
# Gitea Webhook 签名密钥,需要与 Gitea 配置一致
webhook_secret: "BoschScan_2026_xxx"
feishu:
# 飞书机器人 Webhook 地址(替换为你的实际地址)
webhook_url: "https://open.feishu.cn/open-apis/bot/v2/hook/c436570a-e6af-49a1-867d-4331c0f1cb06"
# 飞书消息签名密钥(可选)
secret: ""
scanner:
# 支持的编程语言
languages:
- python
- javascript
- typescript
# 最大问题数量阈值,超过则标记为失败
max_issues: 10
# 是否启用详细扫描模式
detailed: true
# 克隆代码仓库的临时目录
temp_clone_dir: "/tmp/code_scanner_clones"
report:
# 报告保存目录
output_dir: "./reports"
# 是否保留报告文件
keep_files: true