扫描IaC文件
# 扫描本地IaC文件
./veinmind-runner scan iac host:path/to/iac-file
./veinmind-runner scan iac path/to/iac-file
# 扫描远端Git仓库
./veinmind-runner scan iac git:http://xxxxxx.git
# auth
./veinmind-runner scan iac git:git@xxxxxx --sshkey=/your/ssh/key/path
./veinmind-runner scan iac git:http://{username}:password@xxxxxx.git
# add proxy
./veinmind-runner scan iac git:http://xxxxxx.git --proxy=http://127.0.0.1:8080
./veinmind-runner scan iac git:http://xxxxxx.git --proxy=scoks5://127.0.0.1:8080
# disable tls
./veinmind-runner scan iac git:http://xxxxxx.git --insecure-skip=true
# 扫描远端Kubernetes集群
./veinmind-runner scan iac kubernetes:resource/name -n namespace --kubeconfig=/your/k8sConfig/path
需要手动指定kubeconfig file