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

veinmind-iac_linux_amd64 scan iac 扫描报错 ERRO[0000] un support iac type #273

Open
Qclover opened this issue May 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Qclover
Copy link

Qclover commented May 21, 2024

Bug 具体描述
veinmind-iac_linux_amd64 scan iac 扫描代码项目报错 ERRO[0000] un support iac type
复现步骤
/veinmind-iac_linux_amd64 scan iac cmn_promotion -f json project

相关截图
image

补充说明
镜像代码project 存在多种形式文件时报错。无法指定输出json或html文件。

@Qclover Qclover added the bug Something isn't working label May 21, 2024
@DVKunion
Copy link
Collaborator

注意到你截图和提供的命令中使用的是:

./veinmind-iac_linux_amd64 scan iac cmn_promotion -f json project

实际语法为:

./veinmind-iac scan iac -f json <your_scan_dir>

如果你需要指定扫描 iac 文件的类型,还可以加入 --iac-type 参数

./veinmind-iac scan iac -f json --iac-type=dockerfile <your_scan_dir>

没有理解你命令中 cmn_promotion 参数是什么作用。如果 project是你期望扫描的路径的话。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants