- Added additionally necessary keys to keys.py.example - Added error check for unset keys - Used built-in HTTP Basic Auth for requests instead of manually-created header - Removed setting of orgc as that's pulled from the MISP key being used -
Without the added check, the script will error out on line 29 since the key doesn't exist in the dict. This at least gives a reason.