mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 18:52:52 +01:00
[fix] idstools can run on an import node as well
This commit is contained in:
@@ -46,7 +46,7 @@ def check_apply(args: dict):
|
||||
|
||||
def find_minion_pillar(minion_id: str) -> str:
|
||||
if minion_id == None:
|
||||
regex = '^.*_(manager|standalone)\.sls$'
|
||||
regex = '^.*_(manager|standalone|import)\.sls$'
|
||||
else:
|
||||
regex = f'^{minion_id}\.sls$'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user