Closed Doctor-love closed 6 years ago
Agreed; could you check if the latest commit allows you to retrieve the audit logs securely?
Seems like you have over complicated a lot of things - and you hard-code paths to your own home directory. If you would just remove "verify=False" or set it to "verify=True", that would be sufficient.
I incorrectly assumed you had to supply the certificate, thanks for the heads up. Updated.
The HTTP(S) requests performed by the scripts have been configured to not validate the identity (certificate) of the Office365 services:
This makes the connections vulnerable to Man-In-The-Middle attacks, which could result in the exposure of access credentials and other sensitive information.
Since the scripts use the "requests" module (which supports/uses "certifi") and Office365 provides verifiable certificates, it should not be an issue to enable validation.