Closed vieau closed 1 year ago
Nice catch ! Thank you for submitting this. I'll keep it for a next update
Hello, A fix was provided in the next release published today on Splunkbase. Cloud vet need to be provided by Splunk but if you're having an on-premise instance, you can already install the latest version. I'll close this issue as I consider it should be fixed. If you have any other issue, please raise a new issue. Thank you
Hello,
I think the exception catching in the main TheHive class should target the base
Exception
type, and not theTheHiveError
one. https://github.com/LetMeR00t/TA-thehive-cortex/blob/1df97698fb0905d25915cdf3e754422a7b757794/TA-thehive-cortex/bin/thehive.py#L147For example in case of a self-signed certificate missing in cacert.pem, the
SSLCertVerificationError
wont be catched in thehive.py, error message will be:But with
Exception
catching in thehive.py it will beSorry I couldn't do a pull request. Thanks for you work.