Azure / WALinuxAgent

Microsoft Azure Linux Guest Agent
http://azure.microsoft.com/
Apache License 2.0
543 stars 372 forks source link

Replace Regorus with Python-based policy engine #3234

Closed mgunnala closed 1 month ago

mgunnala commented 2 months ago

Description

Issue #


Add Python-based policy handing logic to replace Regorus. Extension handling code is not changed in this PR, so agent functionality is not affected. No e2e tests were added.

PR information

Quality of Code and Contribution Guidelines

narrieta commented 2 months ago

Did not go thru the implementation details, but approach looks good to me

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 94.89796% with 5 lines in your changes missing coverage. Please review.

Project coverage is 72.40%. Comparing base (3aebcdd) to head (e038560). Report is 314 commits behind head on develop.

Files with missing lines Patch % Lines
azurelinuxagent/ga/policy/policy_engine.py 94.68% 3 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #3234 +/- ## =========================================== + Coverage 71.97% 72.40% +0.42% =========================================== Files 103 113 +10 Lines 15692 16956 +1264 Branches 2486 2452 -34 =========================================== + Hits 11295 12277 +982 - Misses 3881 4121 +240 - Partials 516 558 +42 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.