You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code of the WazuhAgent class has many if statements based on the os_type,distribution, and architecture taken from the inventory. Creating an inheritance hierarchy will make the code more organized and easy to maintain.
Each inherited Agent class can reimplement functions like install, download, restart, etc.
The text was updated successfully, but these errors were encountered:
juliamagan
changed the title
DTT1- Testing Module. Redesign/refactor WazuhAgent class in agent.py
DTT2 - Testing Module. Redesign/refactor WazuhAgent class in agent.py
Jul 12, 2024
The current code of the WazuhAgent class has many
if
statements based on theos_type,
distribution,
andarchitecture
taken from the inventory. Creating an inheritance hierarchy will make the code more organized and easy to maintain.Each inherited Agent class can reimplement functions like install, download, restart, etc.
The text was updated successfully, but these errors were encountered: