Hello,
I managed the change of the proxy with following modification in $SPLUNK_HOME/etc/apps/TA-etintel/bin/update_repdata.py
- Original script -
def make_url(authcode, fname):
url = 'https://rules.emergingthreatspro.com/{0}/reputation/{1}'.format(
authcode, fname)
request = Request(url)
request.set_proxy('http://<your_proxy>:<your_port>','http')
logger.debug("Version is %s", VERSION)
agent = "ET-SPLUNK-TA (" + VERSION + ")"
logger.debug("User-agent is %s", agent)
request.add_header("User-agent", agent)
return request
- Modified script (adding "request.set_proxy" below line 104) -
def make_url(authcode, fname):
url = 'https://rules.emergingthreatspro.com/{0}/reputation/{1}'.format(
authcode, fname)
request = Request(url)
request.set_proxy('http://<your_proxy>:<your_port>','http')
logger.debug("Version is %s", VERSION)
agent = "ET-SPLUNK-TA (" + VERSION + ")"
logger.debug("User-agent is %s", agent)
request.add_header("User-agent", agent)
return request
Thank you.
... View more