@@ -3019,14 +3019,13 @@ Options inherited from parent commands
30193019
30203020### chainloop policy eval
30213021
3022- Evaluate policy using control plane
3022+ Evaluate a policy
30233023
30243024Synopsis
30253025
3026- Evaluate a policy using the control plane .
3026+ Evaluate a policy.
30273027
3028- This command connects to your Chainloop control plane to evaluate policies
3029- with your organization's security settings (allowed hostnames, etc.).
3028+ This command uses organization context to evaluate policies.
30303029
30313030For offline development and testing with debug capabilities, use 'chainloop policy develop eval' instead.
30323031
@@ -3038,21 +3037,17 @@ Examples
30383037
30393038```
30403039
3041- Evaluate a generic policy with inputs
3042- chainloop policy eval --policy ./my-policy.yaml --input key1=value1,key2=value2
3043-
3044- Evaluate a remote policy
3045- chainloop policy eval --policy https://my-domain.com/policy.yaml --input env=prod
3040+ chainloop policy eval --policy policy.yaml --input digest=sha256:80058e45a56daa50ae2a130bd1bd13b1fb9aff13a55b2d98615fff6eb3b0fffb
30463041```
30473042
30483043Options
30493044
30503045```
3051- --annotation strings Key-value pairs of material annotations (not yet supported, use 'policy develop eval' for material evaluation )
3046+ --annotation strings Key-value pairs of material annotations (key=value )
30523047-h, --help help for eval
30533048--input stringArray Key-value pairs of policy inputs (key=value)
3054- --kind string Kind of the material (not yet supported, use 'policy develop eval' for material evaluation)
3055- --material string Path to material or attestation file (not yet supported, use 'policy develop eval' for material evaluation)
3049+ --kind string Kind of the material: ["ARTIFACT" "ATTESTATION" "BLACKDUCK_SCA_JSON" "CHAINLOOP_RUNNER_CONTEXT" "CONTAINER_IMAGE" "CSAF_INFORMATIONAL_ADVISORY" "CSAF_SECURITY_ADVISORY" "CSAF_SECURITY_INCIDENT_RESPONSE" "CSAF_VEX" "EVIDENCE" "GHAS_CODE_SCAN" "GHAS_DEPENDENCY_SCAN" "GHAS_SECRET_SCAN" "GITLAB_SECURITY_REPORT" "HELM_CHART" "JACOCO_XML" "JUNIT_XML" "OPENVEX" "SARIF" "SBOM_CYCLONEDX_JSON" "SBOM_SPDX_JSON" "SLSA_PROVENANCE" "STRING" "TWISTCLI_SCAN_JSON" "ZAP_DAST_ZIP"]
3050+ --material string Path to material or attestation file
30563051-p, --policy string Policy reference (./my-policy.yaml, https://my-domain.com/my-policy.yaml)
30573052```
30583053
0 commit comments