URL for and API that queries the audit logs from the security and compliance center

Eisenhaur, Liam 21 Reputation points
2020-07-27T13:09:04.527+00:00

I am developing a .Net Core console application and I'm trying to access the audit logs from the Audit Log section of the Security and Compliance Center. I have looked at multiple resources online but nothing has worked properly. I am also unsure of whether I need to use Microsoft Graph or Office 365 Management permissions to get this to work in Azure Active Directory. Note that I am trying to get the audit logs from the security and compliance center, NOT the audit logs for Azure Active Directory.

Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,250 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,365 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. soumi-MSFT 11,761 Reputation points Microsoft Employee
    2020-07-27T15:02:38.367+00:00

    @Eisenhaur, Liam , Thank you for reaching out. Do take a look at the following article https://video2.skills-academy.com/en-us/rest/api/securitycenter/alerts/list

    Azure Security Center doesn't contain Audit Logs rather contains the following:

    1. Alerts
    2. Secure Score
    3. Secure-Score Control Policies
    4. Errors

    More details on this can be found here: https://video2.skills-academy.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.


  2. Vasil Michev 99,431 Reputation points MVP
    2020-07-27T15:28:26.617+00:00