Skip to content
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

Azure azure.subscription.policy.assignments {enforcementMode} field does not update #5040

Open
mm-weber opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
azure bug Something isn't working

Comments

@mm-weber
Copy link
Contributor

mm-weber commented Dec 24, 2024

Describe the bug
The field enforcementMode does not reflect different stati, only goes to "Default".

azure.subscription.policy.assignments.where: [
  0: {
    enforcementMode: "Default"
  }
  1: {
    enforcementMode: "Default"
  }
  2: {
    enforcementMode: "Default"
  }
]

Yet another status is set enforcementMode": "DoNotEnforce",

To Reproduce

  1. Create a policy assigment that is not enabled
  2. Check with the CLI: az policy assignment list
  3. Check with MQL: azure.subscription.policy.assignments {enforcementMode}

Expected behavior
The state should be correct.

@mm-weber mm-weber added azure bug Something isn't working labels Dec 24, 2024
@mm-weber mm-weber self-assigned this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant