1 hour 5 minutes
as your initiative is a collection of policies that are intended to achieve a singular goal,
combining the policies and initiatives to simplify the management and assignment of policy definitions.
One good example for an initiative is the audit. CS Microsoft Azure Foundations benchmark 1 10.
This is a standard initiative in Azure and contains 84 different policies in it.
Those policies cover all the security recommendations from C. S.
You can assign this initiative to your subscription to ensure your azure resource is are compliant with the C S recommendations.
Initiatives like policy definitions used parameters to simplify management and enable re use
the initiative parameters are the parameters being used by the policy definitions within the initiative?
In this example, we have three policy definitions that are included in the initiative.
Each definition has its own parameters.
In the case of policy definition one and policy definition three, we have the same parameter allowed location from the same type.
Depending on how you want this initiative to be evaluated,
you may decide to have only two parameters. One string parameter for allowed location that will be used by both Policy Definition one and Policy definition three and one array parameter for allowed location that will be used by the policy definition to
you may also decide to have a single array perimeter for allowed locations. And when the assignment is done, the selected location also becomes the value for definition one in definition. Three.
if policy number one and policy number three evaluate resource is that must be deployed in different locations.
You may need to provide two separate allowed locations parameters to the initiative one used by policy definition one and one by policy definition. Three.
It is good to change the names for the initiative parameters to make it clear that the purpose of the parameters is clear.
An example of such a scenario is when you need to ensure that VPN gateways are deployed closer to your headquarters office in the US West and developers Resource is our deployed closer to the offshore office in India.
When you design your policies and initiatives, it is worth thinking through all the possible scenarios they will be used
and make the definition as flexible as possible.
In the next video, we will look at policy limits and guidelines
Implement Azure Policy Lab
The flexibility provided by the cloud is an amazing benefit until it results in unbounded ...
Learn On Demand
Implement IoT Hub Endpoints and Consumer Groups
This IT Pro Challenge hands-on lab shows learners how to implement and configure an Azure ...
Learn On Demand