Limit job authorization scope to current project for release pipelines. Release pipelines can run with collection scoped access tokens unless this option is enabled. With this option enabled, you can reduce the scope of access for all release pipelines to the current project. https://learn.microsoft.com/en-us/azure/devops/pipelines/process/access-tokens#job-authorization-scope
1. Go to Organization Settings. 2. Click on Pipelines -> Settings. 3. Turn 'On' the setting 'Limit job authorization scope to current project for release pipelines'.
{
"target": "ADOOrganizationPipelineSettings",
"if": {
"allOf": [
{
"resource": "ADOOrganizationPipelineSettings",
"property": "EnforceJobAuthScopeForReleases",
"operator": "equals",
"value": true
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. Tous droits réservés. Politique de confidentialité | Politique de témoins | Conditions d'utilisation