| category | Repository |
|---|---|
| severity | Important |
| online version | https://github.com/cloudyspells/PSRule.Rules.AzureDevOps/blob/main/src/PSRule.Rules.AzureDevOps/en/Azure.DevOps.Pipelines.PipelineYaml.AgentPoolVersionNotLatest.md |
Microsoft Hosted agent pools should be pinned to a version.
Microsoft Hosted agent pools should be pinned to a version. This ensures that the pipeline will not be impacted by changes to the agent pool and its operating system.
Mininum TokenType: ReadOnly
Consider pinning the agent pool to a specific version.