open-nomad/client/allocrunner/taskrunner/getter
Seth Hoenig 165791dd89
artifact: protect against unbounded artifact decompression (1.5.0) (#16151)
* artifact: protect against unbounded artifact decompression

Starting with 1.5.0, set defaut values for artifact decompression limits.

artifact.decompression_size_limit (default "100GB") - the maximum amount of
data that will be decompressed before triggering an error and cancelling
the operation

artifact.decompression_file_count_limit (default 4096) - the maximum number
of files that will be decompressed before triggering an error and
cancelling the operation.

* artifact: assert limits cannot be nil in validation
2023-02-14 09:28:39 -06:00
..
error.go client: sandbox go-getter subprocess with landlock (#15328) 2022-12-07 16:02:25 -06:00
error_test.go client: sandbox go-getter subprocess with landlock (#15328) 2022-12-07 16:02:25 -06:00
params.go artifact: protect against unbounded artifact decompression (1.5.0) (#16151) 2023-02-14 09:28:39 -06:00
params_test.go artifact: protect against unbounded artifact decompression (1.5.0) (#16151) 2023-02-14 09:28:39 -06:00
replacer_test.go client: sandbox go-getter subprocess with landlock (#15328) 2022-12-07 16:02:25 -06:00
sandbox.go artifact: protect against unbounded artifact decompression (1.5.0) (#16151) 2023-02-14 09:28:39 -06:00
sandbox_test.go client: sandbox go-getter subprocess with landlock (#15328) 2022-12-07 16:02:25 -06:00
testing.go artifact: protect against unbounded artifact decompression (1.5.0) (#16151) 2023-02-14 09:28:39 -06:00
util.go artifact: fix sandbox behavior when destination is shared alloc directory (#15712) 2023-01-09 09:46:32 -06:00
util_default.go artifact: fix sandbox behavior when destination is shared alloc directory (#15712) 2023-01-09 09:46:32 -06:00
util_linux.go artifact: enable reading system git/mercurial configuration (#15903) 2023-01-26 13:07:40 -06:00
util_linux_test.go [chore] Move TestUtil_loadVersionControlGlobalConfigs into build flagged file (#16114) 2023-02-09 14:25:26 -05:00
util_test.go [chore] Move TestUtil_loadVersionControlGlobalConfigs into build flagged file (#16114) 2023-02-09 14:25:26 -05:00
util_windows.go artifact: fix sandbox behavior when destination is shared alloc directory (#15712) 2023-01-09 09:46:32 -06:00
z_getter_cmd.go artifact: fix sandbox behavior when destination is shared alloc directory (#15712) 2023-01-09 09:46:32 -06:00