diff --git a/examples/proofpoint_tap.py b/examples/proofpoint_tap.py index 561191e..b5a0fce 100644 --- a/examples/proofpoint_tap.py +++ b/examples/proofpoint_tap.py @@ -22,6 +22,9 @@ headers = { } responseSiem = requests.request("GET", urlSiem, headers=headers, params=queryString) +if 'Credentials authentication failed' in str(responseSiem.text): + print("Credentials invalid, please edit keys.py and try again") + quit() jsonDataSiem = json.loads(responseSiem.text)