From 518e2e6a31cca0fe71842c6958cf6206650ddb40 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 17 Feb 2021 15:10:21 -0500 Subject: [PATCH] supress ssl warnings --- examples/proofpoint_tap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/proofpoint_tap.py b/examples/proofpoint_tap.py index 06e826e..18e1452 100644 --- a/examples/proofpoint_tap.py +++ b/examples/proofpoint_tap.py @@ -3,6 +3,8 @@ 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 +import urllib3 +urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) if proofpoint_secret == '': print('Set the proofpoint_secret in keys.py before running. Exiting...')