Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Regorus and platform check for policy enforcement #3222

Merged
merged 8 commits into from
Sep 23, 2024

Conversation

mgunnala
Copy link

@mgunnala mgunnala commented Sep 19, 2024

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:

  • 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

Quality of Code and Contribution Guidelines

@mgunnala mgunnala marked this pull request as ready for review September 20, 2024 19:03
@mgunnala mgunnala changed the title Support policy enforcement on all platforms Remove Regorus and platform check for policy enforcement Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants