mirror of https://github.com/jumpserver/jumpserver
perf: gather account windows
parent
094e144a51
commit
4f2250b7a8
|
@ -39,8 +39,11 @@ class GatherAccountsFilter:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def windows_filter(info):
|
def windows_filter(info):
|
||||||
# TODO
|
info = info[4:-2]
|
||||||
result = {}
|
result = {}
|
||||||
|
for i in info:
|
||||||
|
for username in i.split():
|
||||||
|
result[username] = {}
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def run(self, method_id_meta_mapper, info):
|
def run(self, method_id_meta_mapper, info):
|
||||||
|
|
Loading…
Reference in New Issue