Getting Data In

Getting Data into the Splunk Add-On for Microsoft Security

qzy
Observer

Hi folks,

I am trying to get Defender logs into the  Splunk Add-On for Microsoft Security but I am struggling a bit.

It "appears" to be configured correctly but I am seeing this error in the logs:
ERROR pid=222717 tid=MainThread file=ms_security_utils.py:get_atp_alerts_odata:261 | Exception occurred while getting data using access token : HTTPSConnectionPool(host='api.securitycenter.microsoft.com', port=443): Max retries exceeded with url: /api/alerts?$expand=evidence&$filter=lastUpdateTime+gt+2024-05-22T12:34:35Z (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fe514fa1bd0>, 'Connection to api.securitycenter.microsoft.com timed out. (connect timeout=60)'))

Is this an issue with the way the Azure Connector App is permissioned or something else entirely?

Thanks in advance

Labels (2)
0 Karma

qzy
Observer

Thank you for the response, and it was indeed a Firewall Rule issue! 

I also had to ensure these permissions were granted on the Azure side....
SecurityIncident.Read.all/SecurityIncident.ReadWrite.all 
Incident.Read.All/Incident.ReadWrite.All

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Connection timeout means that your end tried to establish connection with the destinations server (api.securityserver.microsoft.com) but didn't get any response. This typically means network-level problems (like lack of proper firewall rules allowing outgoing traffic) or (actually it's the same thing but pushed one step further) not configured proxy server when direct outgoing traffic is forbidden.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...