128 Star 655 Fork 102

GVP悬镜安全 / OpenSCA-cli

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.json 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
骆天奇 提交于 2024-01-09 16:30 . feat: default skip tls verify
{
// 检测项目路径
// project path
// support http(s)/ftp/file protocol
"path": "",
// 导出报告路径
// report path
// suport ext: html/json/xml/csv/sqlite/cdx/spdx/swid/dsdx
"out": "output.json,output.html",
// 检测日志路径
// log path
"log": "opensca.log",
// opensca 配置项
// opensca optional
"optional": {
// 开启ui
// open ui
"ui": false,
// 相同组件仅保留一条数据 检出路径合并
// delete duplicate components and merge path
"dedup": false,
// 仅检测目录(跳过压缩包)
// only detect directory (skip compress file)
"dir": false,
// 仅保留漏洞组件
// only save components with vulnerability
"vuln": false,
// 开启进度条
// open progress bar
"progress": true,
// 保留开发组件
// save develop components
"dev": true,
// 开启 TLS 验证
// use tls verify, default: false
"tls": false,
// 全局http代理
// global proxy for http requests, eg: http://127.0.0.1:7890
"proxy": ""
},
// 组件仓库配置
// repo config
"repo": {
// maven repo
"maven": [
{
"url": "https://maven.aliyun.com/repository/public",
// 认证信息 没有可不填
// auth info, not required
"username": "",
"password": ""
},
{
"url": "https://repo.maven.apache.org/maven2/"
}
],
// npm repo
"npm": [
{
"url": "https://registry.npmmirror.com"
}
],
// composer repo
"composer": [
{
"url":"https://mirrors.aliyun.com/composer/p2"
}
]
},
// 数据库源
// database origin
"origin": {
// opensca web service url
"url": "https://opensca.xmirror.cn",
// opensca web service token
"token": "",
// opensca saas project id, not required
// "proj": "",
// json dbfile
"json": "",
// mysql origin
"mysql": {
// user:password@tcp(ip:port)/dbname
"dsn": "",
"table": ""
},
// sqlite origin
"sqlite": {
// sqlite dbfile
"dsn": "",
"table": ""
}
}
}
1
https://gitee.com/XmirrorSecurity/OpenSCA-cli.git
git@gitee.com:XmirrorSecurity/OpenSCA-cli.git
XmirrorSecurity
OpenSCA-cli
OpenSCA-cli
master

搜索帮助