Evaluation Commands
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bash-4.2$ ./opa eval --format values --data policy1.rego --input ansibleplan.json "data.rules"
[
{
"allow_update": false
}
]
./opa eval --format pretty --data policy1.rego --input nsupdate-con111.json "data.rules"
./opa eval --format pretty --data policy-111.rego --input meteor.json "data.ast"
./opa eval --format values --data policy-111.rego --input meteor.json "data.ast"
./opa eval --format values --data policy-111.rego --input meteor.json "data.ast"
BELOW TWO TO EVALUATE BELOW TWO SCENARIOS
./opa eval --format pretty --data terraform1.rego --input tfplan222.json "data.terraform.analysis" > ops-eval_CHECK1.txt
./opa eval --format pretty --data terraform1.rego --input tfplan11.json "data.terraform.analysis"
./opa eval --format pretty --data policy.rego --input ansibleplan.json "data.terraform.analysis"
Comments
Post a Comment