turbot / steampipe-plugin-azure

Use SQL to instantly query Azure resources across regions and subscriptions. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/azure
Apache License 2.0
37 stars 17 forks source link

After SDK updated azure_role_assignment is not getting correctly principal_id and principal_type #759

Closed jeffreymp17 closed 3 months ago

jeffreymp17 commented 4 months ago

Describe the bug The current update of the Azure SDK broke the ability to get principal_id and principal_type from the azure_role_assignment table and this is generating inconsistency between data

Steampipe version (steampipe -v) Example: vv0.19.3

Plugin version (steampipe plugin list) Example: v0.57.0

To reproduce execute this query against azure instance with roles assigned

select
  name,
  id,
  principal_id,
  principal_type
from
  azure_role_assignment;

Expected behavior Should return principal_id and principal_type as this version azure@0.56.0

Additional context Add any other context about the problem here.