mirror of https://github.com/MISP/PyMISP
deleted all references to org as it's unneeded
parent
1b55d265b8
commit
5ee18d433f
|
@ -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_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/<custID>/settings/connected-applications)
|
||||
proofpoint_secret = ''
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue