From 5ee18d433fe136ec0d029957ed4acd872b8d6536 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 17 Feb 2021 15:01:13 -0500 Subject: [PATCH] deleted all references to org as it's unneeded --- examples/keys.py.sample | 2 -- examples/proofpoint_tap.py | 11 +---------- 2 files changed, 1 insertion(+), 12 deletions(-) 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)