OSS Review Toolkit is used to Evaluate the image's license compliance against a policy. The policy is defined with a license classification grouping licenses in categories and a rules script file.
The license classifications file and rules script file should be stored in a configuration directory
for ORT and be named
rules.kts respectively. This enables ORT
to use them automatically without having to specify them separately.
ORT_CONFIG_DIR=<POLICY_DIR> \ ort evaluate \ -i <ORT_RESULT> \ -o <EVALUATOR_RESULT_DIR> \
An example of the rules file can be found in the ORT repository.