diff --git a/examples/keys.py.sample b/examples/keys.py.sample index 7043aaa..3c59bfe 100644 --- a/examples/keys.py.sample +++ b/examples/keys.py.sample @@ -5,5 +5,5 @@ misp_url = 'https:///' misp_key = 'Your MISP auth key' # The MISP auth key can be found on the MISP web interface under the automation section misp_verifycert = True misp_client_cert = '' -proofpoint_sp = '' # Service Principal from TAP (https://threatinsight.proofpoint.com//settings/connected-applications) -proofpoint_secret = '' \ No newline at end of file +proofpoint_sp = '' # Service Principal from TAP (https://threatinsight.proofpoint.com//settings/connected-applications) +proofpoint_secret = '' \ No newline at end of file diff --git a/examples/proofpoint_tap.py b/examples/proofpoint_tap.py index 1cc3bb6..06e826e 100644 --- a/examples/proofpoint_tap.py +++ b/examples/proofpoint_tap.py @@ -4,6 +4,10 @@ import json from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret +if proofpoint_secret == '': + print('Set the proofpoint_secret in keys.py before running. Exiting...') + quit() + # initialize PyMISP and set url for Panorama misp = ExpandedPyMISP(url=misp_url, key=misp_key, ssl=misp_verifycert)