turbot/steampipe-mod-azure-compliance

Update mod.sp to address deprecation warning

khushboo9024 opened this issue · 0 comments

Describe the bug
The current version of the mod returns a warning due to using the deprecated option version instead of min_version for the azure plugin.

This issue can be trivially resolved by updating

  require {
    plugin "azure" {
      version = "0.46.0"
    }
    plugin "azuread" {
      version = "0.0.3"
    }
  }

to

  require {
    plugin "azure" {
      min_version = "0.46.0"
    }
    plugin "azuread" {
      min_version = "0.0.3"
    }
  }

Steampipe version (steampipe -v)
Example: v0.3.0

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

To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.