Skip to content

rego

Command Reference

Run unit test cases of the rego policy files

Terminal window
./tam run

Evaluates a rego policy using Trimble Access Management.

path (Required) The path to the rego policy file for running the test.

printCoverageReport (Optional) A booleon value(default false if not given), if set as true, prints the full coverage report.

Terminal window
./tam run test --policy "path/to/policy/folder"--printCoverageReport true
Terminal window
./tam run test --policy "path/to/policy/folder"