-
Notifications
You must be signed in to change notification settings - Fork 981
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 AzureUSGovernment Built-in Policies #1806
Comments
FYI - I extracted the built-in policy ids from the ALZ initiatives for AzureUSGovernment. Then ran a PowerShell script that did a Get-AzPolicyDefinition for each id. I found 15 build-in policies used in the ALZ initiatives that are not in our AzureUSGovernment account. A subcontractor working with my company also checked their AzureUSGovernment account and did not find some of these policies. I would like to know how to best resolve this issue. Here are the missing policy ids: |
Related to #1687. Request that AzureUSGovernment policy availability be confirmed before adding the environment to alzCloudEnvironments. Unavailable policies should not be included. This causes a lot of problems when trying to deploy ALZ initiatives. |
Working though the missing policies. Finding out it's a LOT of effort. You not only have to remove the missing policies from the initiatives. But you also have to remove the initiative parameters associated with the policy. Otherwise, an initiative assignment will fail. Really need a way to handle this problem - We should not have to manually delete policies and parameters from the ALZ initiatives to use them in the sovereign environments. |
@glsutter we're busy updating ALZ for both sovereign clouds, and as you've already identified, it's a huge effort. We've largely done the work to resolve issues in Azure China, US Gov is next on the list. We were hoping to get these updates out as part of the next Policy Refresh, but we may not make it as we have a number of other things that also need to go in. The main issue in the past two years is that our team did not have any access to the two sovereign clouds, so we couldn't validate or test any changes. That has recently changed (last month), so we will work on resolving this. Ask for a little patience, we're a small team with a huge backlog. |
Not sure if this is a bug or feature request or if it unrelated to Enterprise-Scale.
Some of the built-in policies referenced in
eslzArm/managementGroupTemplates/policyDefinitions/initiatives.json
with metadata indicating they apply to AzureUSGovernment are not available in my government account.
Specifically, these built-in policies referenced by the Enforce-Guardrails-KeyVault and Enforce-Guardrails-KeyVault-Sup initiatives are not defined:
Policy name '84d327c3-164a-4685-b453-900478614456' not found in
| custom or built-in Policies.
Policy name '86810a98-8e91-4a44-8386-ec66d0de5d57' not found in
| custom or built-in Policies.
Policy name 'c39ba22d-4428-4149-b981-70acb31fc383' not found in
| custom or built-in Policies.
And this built-in policy referred by the Enforce-EncryptTransit initiative is not defined.
Policy name '0e80e269-43a4-4ae9-b5bc-178126b8a5cb' not found in
| custom or built-in Policies
Is there a delay in making some of these built-in policies available? Is it an issue only with my Government account? How do I determine if it's an issue with my account or an issue with the AzureUSGovernment metadata in Enterprise-Scale?
Thanks for any assistance.
The text was updated successfully, but these errors were encountered: