-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ClientTemplateConfig: Replace rather than append FunctionDenylist dur…
…ing merge
- Loading branch information
DerekStrickland
committed
Feb 27, 2022
1 parent
b76e04d
commit cc72d17
Showing
8 changed files
with
105 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
client { | ||
enabled = true | ||
|
||
template { | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
command/agent/test-resources/client_with_function_denylist.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
client { | ||
enabled = true | ||
|
||
template { | ||
function_denylist = ["foo"] | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
command/agent/test-resources/client_with_function_denylist_empty.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
client { | ||
enabled = true | ||
|
||
template { | ||
function_denylist = [] | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
command/agent/test-resources/client_with_function_denylist_empty_string.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
client { | ||
enabled = true | ||
|
||
template { | ||
disable_file_sandbox = true | ||
function_denylist = [""] | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
command/agent/test-resources/client_with_function_denylist_nil.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
client { | ||
enabled = true | ||
|
||
template { | ||
disable_file_sandbox = true | ||
} | ||
} |