-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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.
raise |
https://github.com/opencybersecurityalliance/stix-shifter/blob/develop/stix_shifter_modules/infoblox/stix_transmission/ping_connector.py#L51
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working