-
Notifications
You must be signed in to change notification settings - Fork 8
FAQ
- I am having trouble running the samples, what can I do to debug them?
- I receive a timeout, "
dxlclient.exceptions.WaitTimeoutException: Timeout waiting for response to message
", when attempting to set the reputation of a file/certificate
Q: I am having trouble running the samples, what can I do to debug them?
A: The following steps are generally useful for debugging the client library/samples:
Ensure the prerequisites for the MAR TIE Python client library have been met.
Switch from
ERROR
toDEBUG
logging in the samples as shown below:# Configure local logger logging.getLogger().setLevel(logging.ERROR)Change to:
# Configure local logger logging.getLogger().setLevel(logging.DEBUG)
A: This typically occurs due to the Python client not having permission to send messages to the
/mcafee/service/tie/file/reputation/set
topic (for files) and the/mcafee/service/tie/cert/reputation/set
topic (for certificates).The following page provides an example of authorizing a Python client to send messages to an authorization group. While the example is based on McAfee Active Response (MAR), the instructions are the same with the exception of swapping the
TIE Server Set Enterprise Reputation
authorization group in place ofActive Response Server API
:https://opendxl.github.io/opendxl-client-python/pydoc/marsendauth.html
McAfee Threat Intelligence Exchange (TIE) Python Client Library
SDK Modules
Examples
- Basic
- Advanced
- Service Invocations