Files
CyberStrikeAI/tools/checkov.yaml
2025-11-21 23:18:21 +08:00

60 lines
1.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: "checkov"
command: "checkov"
enabled: true
short_description: "基础设施即代码安全扫描工具"
description: |
Checkov是一个静态代码分析工具用于基础设施即代码IaC的安全扫描。
**主要功能:**
- 支持多种IaC框架Terraform, CloudFormation, Kubernetes等
- 数百个内置策略
- 自定义策略支持
- CI/CD集成
**使用场景:**
- IaC安全扫描
- 云配置审计
- 安全策略检查
- 合规性检查
parameters:
- name: "directory"
type: "string"
description: "要扫描的目录"
required: false
flag: "-d"
format: "flag"
default: "."
- name: "framework"
type: "string"
description: "要扫描的框架terraform, cloudformation, kubernetes等"
required: false
flag: "--framework"
format: "flag"
- name: "check"
type: "string"
description: "要运行的特定检查"
required: false
flag: "--check"
format: "flag"
- name: "output_format"
type: "string"
description: "输出格式json, yaml, cli"
required: false
flag: "--output"
format: "flag"
default: "json"
- name: "additional_args"
type: "string"
description: |
额外的checkov参数。用于传递未在参数列表中定义的checkov选项。
**示例值:**
- 根据工具特性添加常用参数示例
**注意事项:**
- 多个参数用空格分隔
- 确保参数格式正确,避免命令注入
- 此参数会直接追加到命令末尾
required: false
format: "positional"