diff --git a/misp_modules/modules/expansion/trustar_enrich.py b/misp_modules/modules/expansion/trustar_enrich.py index f163b85..974a3f5 100644 --- a/misp_modules/modules/expansion/trustar_enrich.py +++ b/misp_modules/modules/expansion/trustar_enrich.py @@ -39,7 +39,7 @@ class TruSTARParser: CLIENT_VERSION = "{}".format(pymisp.__version__) def __init__(self, attribute, config): - config['enclave_ids'] = config.get('enclave_ids', "").split(',') + config['enclave_ids'] = config.get('enclave_ids', "").strip().split(',') config['client_metatag'] = self.CLIENT_METATAG config['client_version'] = self.CLIENT_VERSION self.ts_client = TruStar(config=config)