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 Provider can't access azure.subscription.keyVault.vaults {keys} #5003

Open
mm-weber opened this issue Dec 18, 2024 · 0 comments
Open
Labels

Comments

@mm-weber
Copy link
Contributor

Describe the bug
Azure Provider can't access azure.subscription.keyVault.vaults {keys} field:
Image

Whereas the keys are accessible from a az cli with the same shell (== same permissions):
Image

To Reproduce
Steps to reproduce the behavior:

  1. Run in mql: azure.subscription.keyVault.vaults {keys}
  2. Run in az cli: az keyvault key list --vault-name <vault-name> --query '[*].{"kid":kid,"enabled":attributes.enabled,"expires":attributes.expires}'

Expected behavior
MQL should populate the fields below key

Potential Solution
The out-commented line in providers/azure/connection/connection.go looks like the place to start:
Image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants