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

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.

Screenshots or CLI Output
If applicable, add screenshots or the CLI output to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. macOS]
  • OS Version: [e.g. 13.0]
  • Browser if applicable: [e.g. Chrome, Firefox]
  • Browser Version: [e.g. 106]

Additional context
Add any other context about the problem here.

@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