cloudyspells/PSRule.Rules.AzureDevOps

Migrate project pipeline settings data collection to REST API

Closed this issue · 0 comments

Story

As an end-user I want to be able to use a fine-grained personal access token for data collection, therefore the Export functions should use documented REST API endpoints instead of the endpoints used by the API so I can specify the access required by the token and avoid unnecesarry large permission sets.

Acceptance Criteria

  • Build/GeneralSettings REST API endpoint documented here is used over Contributions/Hierarchy UI endpoint in the export functions for pipeline settings.
  • Rules covering pipeline settings are migrated to the data schema used by the REST API
  • Pester tests implemented for data collection and ruleset