Skip to content

azure-devops-compliance/rules

 
 

Repository files navigation

build codecov stryker

Azure DevOps Compliance - Rules

This repo is the heart of the azure devops compliance solution containing the default rules that are used to inspect projects in an organization.

Example rules are:

  • NobodyCanDeleteTheTeamProject
  • NobodyCanDeleteReleases
  • NobodyCanDeleteTheRepository
  • ReleaseBranchesAreProtectedByPolicies
  • etc.

Evaluate

These rules are primarily evaluated in an azure function and the reports are uploaded into Azure DevOps and accessible via this extension.

Reconcile

Most rules also implement functionality to reconcile [ rek-uhn-sahyl ] meaning it will bring your project or item into the desired state.

For example, reconciling the ReleaseBranchesAreProtectedByPolicies does:

  • Require a minimum number of reviewers policy is created or updated.
  • Minimum number of reviewers is set to at least 2
  • Reset code reviewer votes when there are new changes is enabled.
  • Policy is blocking the PR.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C# 100.0%