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

Bugfix/remove wmi requirement from non windows #644

Conversation

acepace
Copy link
Contributor

@acepace acepace commented May 11, 2020

What is this?

Simplifies requirements.txt for the Monkey by removing need to install wmi package on Linux envs

Linux keeps working
image

Ace Pace added 2 commits May 11, 2020 14:35
Moved WMI imports to be gated behind win32 check.
Set wmi package to be installed only on win32 platform.

The mongo_utils and wmi_utils modules are only imported by the windows_info_collector which is only imported if we're on windows.
@ShayNehmad
Copy link
Contributor

About reg_utils
I might be missing something.

In this commit:

17b344f

It's being moved from the windows info collector (where it was commented out) to a utils file. Was it ever actually used? If so, what for?

@acepace
Copy link
Contributor Author

acepace commented May 11, 2020

I think we used it as part of a long ago PTH collection effort.

@ShayNehmad ShayNehmad merged commit c700412 into guardicore:develop May 11, 2020
@acepace acepace deleted the bugfix/remove_wmi_requirement_from_non_windows branch May 11, 2020 15:32
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.

2 participants