Ensuring Compliance with Azure Policies

Ensuring Compliance with Azure Policies

After this you will know how to create two common Azure objects, with a notation representing an auditable value. Then deploy a policy to report on that value before finally generating a report confirming the compliancy status.

CREATE TWO VIRTUAL NETWORKS

This image has an empty alt attribute; its file name is image-40.png

Create the first virtual network

This image has an empty alt attribute; its file name is image-41.png

Create a second virtual network

This image has an empty alt attribute; its file name is image-42.png

CREATE A TAG FOR EACH FOR EACH VIRTUAL NETWORK

Add a tag to PolicyVnet1

This image has an empty alt attribute; its file name is image-43.png
This image has an empty alt attribute; its file name is image-44.png

Add a tag to PolicyVnet2

This image has an empty alt attribute; its file name is image-45.png
This image has an empty alt attribute; its file name is image-46.png

CREATE A POLICY

Search for "Policy" in Azure Portal and go to the Policy Center.

This image has an empty alt attribute; its file name is image-47.png

Click on "Policy definition" and select "Require tag and its value"

This image has an empty alt attribute; its file name is image-48.png

Type Tag "Audit" and Value "Yes"

This image has an empty alt attribute; its file name is image-49.png

Now back on the "Compliance" you will see that new policy

This image has an empty alt attribute; its file name is image-50.png
After 15 minutes
This image has an empty alt attribute; its file name is image-51.png