-
-
Notifications
You must be signed in to change notification settings - Fork 3
Azure.DevOps.Pipelines.Environments.ProductionBranchLimit
github-actions edited this page Oct 21, 2023
·
2 revisions
category: Repository severity: Severe online version: https://github.com/cloudyspells/PSRule.Rules.AzureDevOps/blob/main/src/PSRule.Rules.AzureDevOps/en/Azure.DevOps.Pipelines.Environments.ProductionBranchLimit.md
A production environment should be limited to the branches it can be used in.
A production environment should be limited to the branches it can be used in. This ensures the environment is not used in a non-production branch. This rule checks if the environment is limited to a production branch.
Mininum TokenType: FineGrained
Consider limiting the environment to a production branch.