deleted all references to org as it's unneeded

pull/701/head
Nick 2021-02-17 15:01:13 -05:00
parent 1b55d265b8
commit 5ee18d433f
2 changed files with 1 additions and 12 deletions

View File

@ -5,7 +5,5 @@ misp_url = 'https://<your MISP URL>/'
misp_key = 'Your MISP auth key' # The MISP auth key can be found on the MISP web interface under the automation section 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_verifycert = True
misp_client_cert = '' 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/<custID>/settings/connected-applications) proofpoint_sp = '' # Service Principal from TAP (https://threatinsight.proofpoint.com/<custID>/settings/connected-applications)
proofpoint_secret = '' proofpoint_secret = ''

View File

@ -2,16 +2,7 @@ import requests
from requests.auth import HTTPBasicAuth from requests.auth import HTTPBasicAuth
import json import json
from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation from pymisp import ExpandedPyMISP, MISPEvent, MISPOrganisation
from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret, misp_orgID, misp_orgUUID from keys import misp_url, misp_key, misp_verifycert, proofpoint_sp, proofpoint_secret
################# 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()
# initialize PyMISP and set url for Panorama # initialize PyMISP and set url for Panorama
misp = ExpandedPyMISP(url=misp_url, key=misp_key, ssl=misp_verifycert) misp = ExpandedPyMISP(url=misp_url, key=misp_key, ssl=misp_verifycert)