You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When provided with wrong host or token, Infoblox thorws the full stack of the error and does not provide error code.
Reproduce
python main.py transmit infoblox "{"host":"abc.infoblox"}" '{ "auth": { "token": "NotProvided" } }' ping
Solution
Wrap the error in ErrorResponder.fill_error method and does not raise Nothing, or do not send self.logger.error() with exc_info=True.
Describe the bug
When provided with wrong host or token, Infoblox thorws the full stack of the error and does not provide error code.
Reproduce
python main.py transmit infoblox "{"host":"abc.infoblox"}" '{ "auth": { "token": "NotProvided" } }' ping
Solution
Wrap the error in ErrorResponder.fill_error method and does not raise Nothing, or do not send self.logger.error() with exc_info=True.
stix-shifter/stix_shifter_modules/infoblox/stix_transmission/ping_connector.py
Line 51 in 4e8fe1b
https://github.com/opencybersecurityalliance/stix-shifter/blob/develop/stix_shifter_modules/infoblox/stix_transmission/ping_connector.py#L51
The text was updated successfully, but these errors were encountered: