azure-devops-cli
Audited by Runlayer on Mar 11, 2026
Risky tool definition detected
az repos ref list --repository "$REPO" --query "[?name=='refs/heads/$BRANCH']" -o tsv | grep -q .; then echo "Error: Branch $BRANCH does not exist" exit 1 fi ``` ### Handle Permission Errors ```bash # Try operation, handle permission errors if az devops security permission update \ --id "$USER_ID" \ --namespace "GitRepositories" \ --project "$PROJECT" \ --token "repoV2/$PROJECT/$REPO_ID" \ --allow-bit 2 \ --deny-bit 0 2>&1 | grep -q "unauthorized"; then echo "Error: Insufficient permissions to u
Tool: azure-devops-cli/references/workflows-and-patterns.md [2/3] Description: --query "result" -o tsv) if [[ "$RESULT" != "succeeded" ]]; then BUILD_NUMBER=$(az pipelines runs show --run-id $RUN_ID --query "buildNumber" -o tsv) az boards work-item create \ --title "Build $BUILD_NUMBER failed" \ --type Bug \ --description "Pipeline run $RUN_ID failed with result: $RESULT URL: $ORG_URL/$PROJECT/_build/results?buildId=$RUN_ID" fi ``` ### Graceful Degradation ```bash # Try to download artifact, fal
Shadow Persistence
Resource Abuse
Tool passed security scan
Risky tool definition detected
Description: \ --wiki {wiki-name} \ --path "/old-page" \ --project {project} --yes ``` ## Administration ### Banner Management ```bash # List banners az devops admin banner list # Show banner details az devops admin banner show --id {banner-id} # Add new banner az devops admin banner add \ --message "System maintenance scheduled" \ --level info # info, warning, error # Update banner az devops admin banner update \ --id {banner-id} \ --message "Updated message" \ --level warning \ --expiration-da
Passed Files (6)Click to expand
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan
Tool passed security scan