azure recommandation and complaince policy match

Ganesh Shrivas 26 Reputation points
2022-05-24T13:33:53.523+00:00

I am using azure recommendation API

https://learn.microsoft.com/en-us/rest/api/advisor/recommendations/list#code-try-0

this api will give me recommendation about resources

I need to match this security threads with azure compliance policy so that I can show recommended resource inside a particular policy

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,018 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,966 questions
0 comments No comments
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 21,551 Reputation points Moderator
    2022-05-25T10:21:36.457+00:00

    Hi @Ganesh Shrivas ,

    Welcome to Microsoft Q&A! Thanks for posting the question.

    Based on my understanding you are trying to map the recommendation obtained from Azure Advisor with the Azure Policy definition. Please note that these are 2 different services and serve specialized purpose. While Azure Policy helps to enforce organizational standards and to assess compliance at-scale, the Azure Advisor is a personalized cloud consultant that helps you follow best practices to optimize your Azure deployments.

    Therefore, a 1-to-1 mapping is not possible with all the recommendation from Azure Advisor with a policy definition. For example, Azure Advisor can help you optimize and reduce your overall Azure spend by identifying idle and underutilized resources. There is no corresponding Azure Policy definition that can enforce it.

    Hope that helps. In case I have misunderstood the question, can you please clarify it a bit further with relevant example.
    Please let me know if you have any questions.

    ---
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


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.