Enable shell tasks args sanitizing. When this is enabled, argument parameters for built-in shell tasks are validated to prevent additional shell commands from being executed.
1. Navigate to Project Settings. 2. Open the Settings link under Pipelines. 3. Turn 'On' the setting 'Enable shell tasks arguments validation'.
{
"target": "ADOProjectPipelineGeneralSettings",
"if": {
"allOf": [
{
"resource": "ADOProjectPipelineGeneralSettings",
"property": "EnableShellTasksArgsSanitizing",
"operator": "equals",
"value": true
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. All Rights Reserved. Privacy Policy | Cookie Policy | Terms and Conditions