perf: windows ad gather account

This commit is contained in:
feng
2025-04-10 15:31:39 +08:00
committed by ZhaoJiSen
parent d6b1a577fc
commit 1254d28463
8 changed files with 124 additions and 75 deletions

View File

@@ -2,6 +2,7 @@
import json
import os
import re
import sys
from collections import defaultdict
import sys
@@ -194,6 +195,7 @@ class JMSInventory:
secret_info = {k: v for k, v in asset.secret_info.items() if v}
host = {
'name': name,
'local_python_interpreter': sys.executable,
'jms_asset': {
'id': str(asset.id), 'name': asset.name, 'address': asset.address,
'type': tp, 'category': category,