turbot / steampipe-mod-microsoft365-compliance

Run individual controls or full compliance benchmarks for CIS across all of your Microsoft 365 and Office 365 tenants using Powerpipe and Steampipe.
https://hub.powerpipe.io/mods/turbot/microsoft365_compliance
Apache License 2.0
24 stars 5 forks source link

Update mod.sp to address deprecation warning #54

Closed khushboo9024 closed 1 year ago

khushboo9024 commented 1 year ago

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 azuread and microsoft365plugin.

This issue can be trivially resolved by updating

  require {
    plugin "azuread" {
      version = "0.10.0"
    }
    plugin "microsoft365" {
      version = "0.0.1"
    }
  }

to


  require {
    plugin "azuread" {
      min_version = "0.10.0"
    }
    plugin "microsoft365" {
      min_version = "0.0.1"
    }
  }

**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.