Hi guys,
For the Mimecast TA, we have configured all eight of the inputs the exact same way. Six are ingesting. TTP_Impersonation and TTP_Attachment are not. Does anyone have any insights on how I can get these two to ingest? App version is 3.1.3 running on Splunk 7.2.0, Linux
I was able to get the TTP_Impersonation input working in my environment after a small modification to the python code. The original code has a POST payload to only grab events that are tagged as Malicious. I'm not sure what causes an Impersonation event to be tagged as malicious, but it does not seem that any of mine are, thus none are pulled into Splunk.
I commented out line 42 and removed the comma from line 41 in $SPLUNK_HOME/etc/apps/TA-mimecast-for-splunk/bin/mimecast/request/ttp_ip.py to result in this payload (lines 12 and 11 respectively in this code snippet):
request_body = {
'meta': {
'pagination': {
'pageSize': 100
},
'accountCode': account_code
},
'data': [
{
'from': start_time,
'to': end_time
#'taggedMalicious': True
}
]
}
This is for app version 3.1.3. Note that app upgrades will most likely break this "fix", so keep that in mind for upgrades down the road if implementing this change.
I do not have any TTP_Attachment policies currently set up, so I'm not sure what might be happening with that input.
This solution also looked promising, but I edited the file as you specified, rebooted, and it did not start ingesting TTP_Impersonation or TTP_Attachment. Additionally, it then gave me this error message regarding TTP_URL (which had previously been working fine):
Search peer 1SPL-INF01-DC1 has the following message: Unable to initialize modular input "mimecast_ttp_url" defined inside the app "TA-mimecast-for-splunk": Introspecting scheme=mimecast_ttp_url: script running failed (exited with code 1).
I'm not sure why editing the ttp_ip.py file would impact the TTP_Url input, it seems that you may have something else going wrong as well.
I had the same issue. The fix for me was to switch the API endpoint of the last two from api.mimecast.com to us-api.mimecast.com. After this, both inputs started ingesting data.
Did not work for me. I was already on us-api; I tried switching to api.mimecast.com without any luck.
I forgot to mention, I also set the intervals of the three TTP inputs different from one another by a minute or so, from the troubleshooting logs it looked like it was attempting too many connections at once and timing out.
Damn, was hopeful when I read this comment, but still no luck doing this