mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Fix so-learn list
This commit is contained in:
@@ -175,8 +175,8 @@ def disable_modules(args):
|
||||
|
||||
def list_modules(*_):
|
||||
print('Available ML modules:')
|
||||
for module in learn_modules:
|
||||
print(f' - { module["name"] } : {module["description"]}')
|
||||
for module, details in get_learn_modules().items():
|
||||
print(f' - { module } : {details["description"]}')
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user