diff --git a/Tasks/CopyFilesOverSSHV0/task.json b/Tasks/CopyFilesOverSSHV0/task.json index 50d44b2f6eb6..8987ecae4e54 100644 --- a/Tasks/CopyFilesOverSSHV0/task.json +++ b/Tasks/CopyFilesOverSSHV0/task.json @@ -17,11 +17,11 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 180, + "Minor": 186, "Patch": 0 }, "demands": [], - "minimumAgentVersion": "2.144.0", + "minimumAgentVersion": "2.182.1", "instanceNameFormat": "Securely copy files to the remote machine", "groups": [ { @@ -128,6 +128,14 @@ "argumentFormat": "" } }, + "restrictions": { + "commands": { + "mode": "restricted" + }, + "settableVariables": { + "allowed": [] + } + }, "messages": { "CheckLogForStdErr": "Check the build log for STDERR from the command.", "CleanTargetFolder": "Cleaning target folder %s on the remote machine", diff --git a/Tasks/CopyFilesOverSSHV0/task.loc.json b/Tasks/CopyFilesOverSSHV0/task.loc.json index 877e80fc9bff..d677306497da 100644 --- a/Tasks/CopyFilesOverSSHV0/task.loc.json +++ b/Tasks/CopyFilesOverSSHV0/task.loc.json @@ -17,11 +17,11 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 180, + "Minor": 186, "Patch": 0 }, "demands": [], - "minimumAgentVersion": "2.144.0", + "minimumAgentVersion": "2.182.1", "instanceNameFormat": "ms-resource:loc.instanceNameFormat", "groups": [ { @@ -128,6 +128,14 @@ "argumentFormat": "" } }, + "restrictions": { + "commands": { + "mode": "restricted" + }, + "settableVariables": { + "allowed": [] + } + }, "messages": { "CheckLogForStdErr": "ms-resource:loc.messages.CheckLogForStdErr", "CleanTargetFolder": "ms-resource:loc.messages.CleanTargetFolder", diff --git a/Tasks/InstallSSHKeyV0/task.json b/Tasks/InstallSSHKeyV0/task.json index 7d078091b5cc..b1f1b8fbfa3b 100644 --- a/Tasks/InstallSSHKeyV0/task.json +++ b/Tasks/InstallSSHKeyV0/task.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 181, + "Minor": 186, "Patch": 0 }, "runsOn": [ @@ -21,7 +21,7 @@ "DeploymentGroup" ], "demands": [], - "minimumAgentVersion": "2.117.0", + "minimumAgentVersion": "2.182.1", "instanceNameFormat": "Install an SSH key", "groups": [ { @@ -128,6 +128,14 @@ "argumentFormat": "" } }, + "restrictions": { + "commands": { + "mode": "restricted" + }, + "settableVariables": { + "allowed": ["SSH_AGENT_PID", "SSH_AUTH_SOCK", "INSTALL_SSH_KEY_CONFIG_LOCATION", "INSTALL_SSH_KEY_KNOWN_HOSTS_LOCATION"] + } + }, "messages": { "SSHKeyAlreadyInstalled": "The SSH key is already installed.", "SSHPublicKeyMalformed": "Could not get the base64 portion of the public SSH key.", diff --git a/Tasks/InstallSSHKeyV0/task.loc.json b/Tasks/InstallSSHKeyV0/task.loc.json index e6074f58c0e4..c36a470d08b5 100644 --- a/Tasks/InstallSSHKeyV0/task.loc.json +++ b/Tasks/InstallSSHKeyV0/task.loc.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 181, + "Minor": 186, "Patch": 0 }, "runsOn": [ @@ -21,7 +21,7 @@ "DeploymentGroup" ], "demands": [], - "minimumAgentVersion": "2.117.0", + "minimumAgentVersion": "2.182.1", "instanceNameFormat": "ms-resource:loc.instanceNameFormat", "groups": [ { @@ -128,6 +128,19 @@ "argumentFormat": "" } }, + "restrictions": { + "commands": { + "mode": "restricted" + }, + "settableVariables": { + "allowed": [ + "SSH_AGENT_PID", + "SSH_AUTH_SOCK", + "INSTALL_SSH_KEY_CONFIG_LOCATION", + "INSTALL_SSH_KEY_KNOWN_HOSTS_LOCATION" + ] + } + }, "messages": { "SSHKeyAlreadyInstalled": "ms-resource:loc.messages.SSHKeyAlreadyInstalled", "SSHPublicKeyMalformed": "ms-resource:loc.messages.SSHPublicKeyMalformed",