Can I get Azure Security Center (ASC) location using Go SDK

Ramani Pathak 26 Reputation points
2022-03-18T04:43:03.627+00:00

I am integrating with a customer Azure subscription to retrieve certain information. However, I do not know the location of their ASC. Is there a way to get the ASC location using Go SDK. I understand I could get that using Rest API, but my preference is to use the SDK.

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,410 questions
0 comments No comments
{count} vote

Accepted answer
  1. Carlos Solís Salazar 17,971 Reputation points
    2022-03-18T12:40:52.407+00:00

    Hi @Ramani Pathak

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    For .Net You can use Microsoft.Azure.Management.SecurityCenter

    For Python you can use Microsoft Azure SDK for Python

    Here you can review all the SKF available for Go

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Please "Accept as Answer" and/or Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.