feature: Add OT_ vars to each execution (#406)
This commit is contained in:
parent
f8c330aae3
commit
76c9171356
|
|
@ -332,6 +332,9 @@ func stepACLCheck(req *ExecutionRequest) bool {
|
||||||
func stepParseArgs(req *ExecutionRequest) bool {
|
func stepParseArgs(req *ExecutionRequest) bool {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
|
req.Arguments["ot_executionTrackingId"] = req.TrackingID
|
||||||
|
req.Arguments["ot_username"] = req.AuthenticatedUser.Username
|
||||||
|
|
||||||
req.finalParsedCommand, err = parseActionArguments(req.Action.Shell, req.Arguments, req.Action, req.logEntry.ActionTitle, req.EntityPrefix)
|
req.finalParsedCommand, err = parseActionArguments(req.Action.Shell, req.Arguments, req.Action, req.logEntry.ActionTitle, req.EntityPrefix)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue