Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug:CodeCC 用户配置代码存放路经与扫描的白名单后,扫描结束没有告警 #5802

Closed
Yuanruitao opened this issue Dec 15, 2021 · 1 comment
Labels
doing 开发中 done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy kind/bug 程序故障Bug,漏洞 kind/version/sample 所属开源版本特性 sample/passed 开源验证通过 streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功

Comments

@Yuanruitao
Copy link
Collaborator

问题:用户配置代码存放路经与扫描的白名单后,扫描结束没有告警

@Yuanruitao Yuanruitao added the kind/bug 程序故障Bug,漏洞 label Dec 15, 2021
@Yuanruitao
Copy link
Collaborator Author

原因:白名单使用相对路径进行匹配,用户自定义的代码存放路径不包含在内
修复措施:使用绝对路径对用户的白名单进行匹配

Yuanruitao added a commit to Yuanruitao/bk-ci that referenced this issue Dec 19, 2021
Yuanruitao added a commit to Yuanruitao/bk-ci that referenced this issue Dec 21, 2021
Yuanruitao added a commit to Yuanruitao/bk-ci that referenced this issue Dec 21, 2021
Yuanruitao added a commit to Yuanruitao/bk-ci that referenced this issue Dec 21, 2021
Yuanruitao added a commit to Yuanruitao/bk-ci that referenced this issue Dec 21, 2021
Yuanruitao added a commit to Yuanruitao/bk-ci that referenced this issue Dec 21, 2021
irwinsun added a commit that referenced this issue Dec 22, 2021
irwinsun added a commit that referenced this issue Dec 22, 2021
bugfix: 修复CodCC白名单无效问题 #5802
irwinsun added a commit that referenced this issue Dec 23, 2021
@irwinsun irwinsun added kind/version/sample 所属开源版本特性 sample/passed 开源验证通过 area/codecc/backend labels Dec 23, 2021
@bkci-bot bkci-bot added the for gray UAT environment in tencent has been deploy label Dec 30, 2021
@bkci-bot bkci-bot closed this as completed Jan 6, 2022
@bkci-bot bkci-bot added the done Production environment in tencent has been deploy label Jan 6, 2022
@bkci-bot bkci-bot added doing 开发中 for test Test environment in tencent has been deploy streams/for gray stream 灰度环境部署成功 labels May 17, 2022
@bkci-bot bkci-bot added the streams/done stream 生产部署成功 label May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doing 开发中 done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy kind/bug 程序故障Bug,漏洞 kind/version/sample 所属开源版本特性 sample/passed 开源验证通过 streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功
Projects
None yet
Development

No branches or pull requests

3 participants