Policy unit tests fail on aarch64 environment, because the policy engine checks for supported architecture before invoking Regorus binary (Regorus is not yet supported on aarch64).
We will be removing the dependency on Regorus, so policy should now be supported on all distros and architectures. This PR does the following:
remove the check for supported distro and architecture when enabling policy enforcement
remove all calls to Regorus and any supporting code/tests. We only keep the few functions that will be utilized in the Python-based policy implementation (next PR).
This change should not affect functionality, because this feature was disabled by default, except in policy unit tests.
PR information
[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made
Description
Issue #3219
Policy unit tests fail on aarch64 environment, because the policy engine checks for supported architecture before invoking Regorus binary (Regorus is not yet supported on aarch64).
We will be removing the dependency on Regorus, so policy should now be supported on all distros and architectures. This PR does the following:
This change should not affect functionality, because this feature was disabled by default, except in policy unit tests.
PR information
Quality of Code and Contribution Guidelines