This commit is contained in:
Oran Nadler 2018-04-17 12:47:52 +03:00
parent 0fa14d631c
commit 6d5d8595a0
1 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,10 @@ class Machine(object):
return found
@cache
def IsCriticalServer(self):
return len(self.GetCriticalServicesInstalled()) > 0
@cache
def GetUsernamesBySecret(self, secret):
sam = self.GetLocalSecrets()