We need to separate check and its policy evaluation. This will allow us to return 'raw' results for users to apply arbitrary policies.
The first step is to do the separation within the checks package. Then all checks are migrated, we will create a pkg.RunRawScorecards() and create our default policy (currently the scores) thru an additional call.
We will later expose this in the CLI
We need to separate check and its policy evaluation. This will allow us to return 'raw' results for users to apply arbitrary policies.
The first step is to do the separation within the
checkspackage. Then all checks are migrated, we will create apkg.RunRawScorecards()and create our default policy (currently the scores) thru an additional call.We will later expose this in the CLI