CLI Referencevalqore evaluate
valqore evaluate
Evaluate manifests, Terraform, Helm charts, or Kustomize against 1,054 governance rules.
valqore evaluate
Evaluate Kubernetes manifests, Terraform plans, Helm charts, or Kustomize overlays against 1,054 built-in rules spanning security, cost, reliability, and carbon efficiency.
Usage
valqore evaluate <file-or-directory> [OPTIONS]Options
| Flag | Default | Description |
|---|---|---|
--score | -- | Show composite Valqore score (0-100). |
--cost | -- | Estimate monthly cost of evaluated resources. |
--carbon-region <region> | us-east-1 | Cloud region for carbon-intensity calculations. |
--fix | -- | Auto-generate fixed manifests for failing rules. |
--fix-output <path> | stdout | Write fixed manifests to a file or directory. |
--output <format> | table | Output format: table, json, or yaml. |
--iac <type> | auto | IaC type: terraform, helm, or kustomize. |
--helm-values <path> | -- | Path to a values file for Helm chart evaluation. |
--helm-set <key=val> | -- | Override individual Helm values (repeatable). |
--attack-paths | -- | Map multi-resource attack paths and privilege-escalation chains. |
--diagram | -- | Generate an architecture diagram from evaluated resources. |
--right-size | -- | Recommend optimal CPU/memory requests and limits. |
--compliance-pack <name> | -- | Evaluate against a compliance pack (e.g. soc2, hipaa, pci-dss). |
Examples
# Evaluate a YAML manifest
valqore evaluate deployment.yaml --score --cost
# Evaluate a Terraform directory
valqore evaluate ./infra --iac terraform --output json
# Evaluate and auto-fix
valqore evaluate ./k8s --fix --fix-output ./k8s-fixed
# Evaluate with a compliance pack
valqore evaluate ./manifests --compliance-pack soc2 --output tableExit Codes
| Code | Meaning |
|---|---|
0 | PASS -- all rules passed. |
1 | BLOCK -- one or more blocking rules failed. |
2 | ERROR -- invalid input, parse failure, or internal error. |
Output Example (Table)
RULE SEVERITY RESOURCE STATUS
sec-no-root BLOCK Deployment/api-server FAIL
sec-read-only-fs WARN Deployment/api-server FAIL
cost-cpu-request-missing BLOCK Deployment/api-server FAIL
rel-replicas-min WARN Deployment/api-server PASS
carbon-region-intensity INFO Deployment/api-server PASS
Score: 62/100 | Cost: ~$43.20/mo | Carbon: 12.4 kg CO₂e/mo
3 BLOCK 1 WARN 0 INFO ⟶ exit 1Was this helpful?
Next