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

java基础安全规则扫描报错 #1222

Open
closetou opened this issue Feb 28, 2025 · 2 comments
Open

java基础安全规则扫描报错 #1222

closetou opened this issue Feb 28, 2025 · 2 comments

Comments

@closetou
Copy link

选择官方规则包【java基础安全】
扫描开源java靶场java-sec-code,扫描未报错,没有任何漏洞结果,下载执行日志,发现如下报错
2025-02-28 14:07:00,505-INFO: [debug] cmd: python3 -m semgrep scan --config /var/opt/tca/tools/custom-semgrep/config_rules --no-git-ignore --no-rewrite-rule-ids --json --output /CodeAnalysis/client/data/taskdirs/task_72/workdir/error_output.json /CodeAnalysis/client/data/sourcedirs/git_oxcjt22g
2025-02-28 14:07:00,505-INFO: start data handle
2025-02-28 14:07:00,505-INFO: [error]: {
2025-02-28 14:07:00,505-INFO: "code": 7,
2025-02-28 14:07:00,505-INFO: "level": "error",
2025-02-28 14:07:00,505-INFO: "message": "No config given. Run with --config auto or see https://semgrep.dev/docs/running-rules/ for instructions on running with a specific config\n",
2025-02-28 14:07:00,505-INFO: "type": "SemgrepError"
2025-02-28 14:07:00,506-INFO: }
2025-02-28 14:07:00,506-INFO: -- end ...
2025-02-28 14:07:00,517-INFO: 格式化结果 ...
2025-02-28 14:07:00,518-INFO: done_analyze start.
2025-02-28 14:07:00,518-INFO: done_analyze done.

@closetou
Copy link
Author

Image
另外cobra安全工具里面的规则,执行后日志提升工具没装成功。扫描界面还是正常完成,就是没扫描结果

@closetou
Copy link
Author

closetou commented Mar 3, 2025

上面都是基于docekr环境安装部署的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant