Explicitly switch user for code execution.

Co-authored-by: Maximilian Pass <maximilian.pass@student.hpi.uni-potsdam.de>
This commit is contained in:
Sebastian Serth
2022-09-18 01:52:15 +02:00
committed by Sebastian Serth
parent 69237fb415
commit 1a5a49d7c8
13 changed files with 144 additions and 67 deletions

View File

@ -338,6 +338,10 @@ paths:
description: The command to be executed. The working directory for this execution is the working directory of the image of the execution environment
type: string
example: python exercise.py
privilegedExecution:
description: Specifies if the command should be executed as an privileged user.
type: boolean
default: false
environment:
description: Environment variables for this execution. The keys of this object are the variable names and the value of each key is the value of the variable with the same name. The environment variables of the system remain accessible.
type: object