perf: 使用winrm协议执行快捷命令

pull/12614/head
wangruidong 2024-01-29 11:12:45 +08:00 committed by Bryan
parent 8aefacd7ed
commit 78d0e3f485
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class JMSPermedInventory(JMSInventory):
'postgresql': ['postgresql'], 'postgresql': ['postgresql'],
'sqlserver': ['sqlserver'], 'sqlserver': ['sqlserver'],
'ssh': ['shell', 'python', 'win_shell', 'raw'], 'ssh': ['shell', 'python', 'win_shell', 'raw'],
'winrm': ['win_shell'],
} }
if self.module not in protocol_supported_modules_mapping.get(protocol.name, []): if self.module not in protocol_supported_modules_mapping.get(protocol.name, []):