Configure runn scopes
mainCertain features in runn require explicit permission via scopes. You can specify these via the --scopes CLI flag, the RUNN_SCOPES environment variable, or the runn.Scopes() option in Go.
Available Scopes:
read:parent: Required to read files above the current working directory.read:remote: Required to read remote files.run:exec: Required for using theExecrunner.
CLI Usage:
$ runn run path/to/**/*.yml --scopes read:parent,read:remoteEnvironment Variable:
$ env RUNN_SCOPES=read:parent,read:remote runn run path/to/**/*.ymlGo Usage:
o, err := runn.Load("path/to/**/*.yml", runn.Scopes(runn.AllowReadParent, runn.AllowReadRemote))Disabling a scope: Use the ! prefix (e.g., --scopes '!read:parent').