updated client metatag and version

pull/409/head
Jesse Hedden 2020-06-22 12:58:10 -07:00
parent 859bd19e24
commit f3b27ca9c0
1 changed files with 3 additions and 1 deletions

View File

@ -33,11 +33,13 @@ class TruSTARParser:
REPORT_BASE_URL = "https://station.trustar.co/constellation/reports/{}"
CLIENT_METATAG = "TruSTAR-MISP-{}".format(pymisp.__version__)
CLIENT_METATAG = "misp-v2"
CLIENT_VERSION = "{}".format(pymisp.__version__)
def __init__(self, attribute, config):
config['enclave_ids'] = config.get('enclave_ids', "").split(',')
config['client_metatag'] = self.CLIENT_METATAG
config['client_version'] = self.CLIENT_VERSION
self.ts_client = TruStar(config=config)
self.misp_event = MISPEvent()