Add warnings for exec functions

This commit is contained in:
Phillip Wittrock
2020-05-05 14:00:38 -07:00
parent c9f50745ff
commit b3ff51b9bc
2 changed files with 7 additions and 1 deletions

View File

@@ -199,6 +199,11 @@ metadata:
},
{
//
// NOTE: Do not change the expected value of this test. It is to ensure that
// exec functions are off by default when run from the CLI.
// exec functions execute arbitrary code outside of a sandbox environment.
//
name: "exec_function_config_disabled",
args: func(d string) []string { return []string{} },
files: func(d string) map[string]string {