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

Onboarding MDE for Linux to LISA #3113

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

zeeshan1995
Copy link

@zeeshan1995 zeeshan1995 commented Dec 21, 2023

Onboard Microsoft Defender for Endpoint(MDE) for Linux with basic tests.

@@ -0,0 +1,58 @@
name: azure default
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just for testing purpose. Will remove it once incorporate all the review comments

from .remote_copy import RemoteCopy
from .whoami import Whoami

class MDE(Tool):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used by MDE test suite only, so it can be in the same file with the test suite.


node.tools[Curl].fetch(arg="-o /tmp/eicar.com.txt",
execute_arg="",
url="https://secure.eicar.org/eicar.com.txt")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope it won't trigger any security alert?

lisa/tools/mde.py Outdated Show resolved Hide resolved
lisa/tools/mde.py Outdated Show resolved Hide resolved
lisa/tools/mde.py Outdated Show resolved Hide resolved
lisa/tools/mde.py Outdated Show resolved Hide resolved
log.error(e)
output = False

assert_that(output).described_as('Unable to install MDE').is_equal_to(True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the description (described_as) supposed to be opposite of what is being checked (is_equal_to) here and elsewhere?

@LiliDeng
Copy link
Collaborator

LiliDeng commented Jan 8, 2024

@zeeshan1995 any plan for this PR?

@zeeshan1995
Copy link
Author

@zeeshan1995 any plan for this PR?

@LiliDeng Yes, we plan to merge the PR. We are having some discussion on this. Will get back to you.

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.

None yet

5 participants