Forum Discussion
AshishGupta1
Jul 13, 2023Copper Contributor
Azure Policy, type Static
I am going through the Azure Policy https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure#type, while I understand all the 3 types mentioned in there. I couldn't see...
- Jul 20, 2023
Here's an example of a static policy (copied from the Azure Portal)
{ "properties": { "displayName": "Microsoft Managed Control 1000 - Access Control Policy And Procedures Requirements", "policyType": "Static", "mode": "Indexed", "description": "Microsoft implements this Access Control control", "metadata": { "version": "1.0.1", "category": "Regulatory Compliance", "additionalMetadataId": "/providers/Microsoft.PolicyInsights/policyMetadata/ACF1000" }, "policyRule": { "if": { "allOf": [ { "field": "type", "in": [ "Microsoft.Resources/subscriptions", "Microsoft.Resources/subscriptions/resourceGroups" ] }, { "value": "false", "equals": "true" } ] }, "then": { "effect": "audit" } } }, "id": "/providers/Microsoft.Authorization/policyDefinitions/2ef3cc79-733e-48ed-ab6f-7bf439e9b406", "type": "Microsoft.Authorization/policyDefinitions", "name": "2ef3cc79-733e-48ed-ab6f-7bf439e9b406" }
You can use the AzAdvertizer website to easily search policies of type 'Static' which will give you a nice index to filter and drill into further if you want.
https://www.azadvertizer.net/azpolicyadvertizer_all.html#%7B%22col_11%22%3A%7B%22flt%22%3A%22Static%22%7D%7D
Chandrasekhar_Arya
Jul 17, 2023Iron Contributor
They are mostly initiatives of Microsoft which are Microsoft managed to address different regulatory compliance
https://learn.microsoft.com/en-us/azure/governance/policy/samples/rbi_itf_nbfc_v2017
Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.
https://learn.microsoft.com/en-us/azure/governance/policy/samples/rbi_itf_nbfc_v2017
Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.