-
Notifications
You must be signed in to change notification settings - Fork 978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing parameterScopes
policy assignment parameter metadata
#882
Comments
Trigger ADO Sync 1 |
Trigger ADO Sync 2 |
@matt-FFFFFF ... based on a recent test, it looks like this might no longer be needed: As you can see, the Below is an example of one of the parameters within the initiative: "microsoft_servicebus_namespaces_privateDnsZoneIds": {
"type": "Array",
"metadata": {
"displayName": "Microsoft.ServiceBus/namespaces Private DNS Zone Ids",
"description": "Specifies the list of private DNS zones IDs to configure for private endpoints associated to Microsoft.ServiceBus/namespaces resources.",
"strongType": "Microsoft.Network/privateDnsZones"
},
"defaultValue": []
}, And within the definition: "privateDnsZoneIds": {
"type": "Array",
"metadata": {
"description": "Specifies the list of private DNS zones IDs to configure for the private endpoint.",
"displayName": "Private DNS zone IDs",
"strongType": "Microsoft.Network/privateDnsZones"
}
}, If we can validate this for other scenarios we may be able to close this issue as not required. |
@matt-FFFFFF closing this as I cannot reproduce and suspect the issue has been resolved: |
Describe the bug
When the reference architecture is deployed, certain policy assignment parameters that use
strongTypes
, have resourceIds set. E.g.Deploy-VM-Monitoring
.We do not currently set the
parameterScopes
metadata value, making the parameter value not visible in the Azure Portal.Including the
parameterScopes
metadata property and setting this to the Resource Group of the Log Analytics workspace would fix this.Steps to reproduce
Deploy-VM-Monitoring
policy assignmentScreenshots
But parameter is set and viewable in ARM:
References
https://docs.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#common-metadata-properties
The text was updated successfully, but these errors were encountered: