diff --git a/examples/keys.py.sample b/examples/keys.py.sample index 36fa465..7043aaa 100644 --- a/examples/keys.py.sample +++ b/examples/keys.py.sample @@ -5,7 +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 = '' -misp_orgID = '2' # Org ID to use for ingesting events -misp_orgUUID = '11111111-2222-3333-4444-555555555555' # Org UUID to use for ingesting events 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 b50824b..1cc3bb6 100644 --- a/examples/proofpoint_tap.py +++ b/examples/proofpoint_tap.py @@ -2,16 +2,7 @@ import requests from requests.auth import HTTPBasicAuth import json from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation -from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret, misp_orgID, misp_orgUUID - -################# Edit these ################# -orgID = misp_orgID -orgUUID = misp_orgUUID -############################################## - -if orgUUID == '11111111-2222-3333-4444-555555555555': - print('Please edit the orgID and orgUUID variables in keys.py') - quit() +from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret # initialize PyMISP and set url for Panorama misp = ExpandedPyMISP(url=misp_url, key=misp_key, ssl=misp_verifycert)