mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
Generate policy that validates each exec command line argument, instead of joining those args and validating the resulting string. Joining the args ignored the fact that some of the args might include space characters. The older format from genpolicy-settings.json was similar to: "ExecProcessRequest": { "commands": [ "sh -c cat /proc/self/status" ], "regex": [] }, That format will not be supported anymore. genpolicy will detect if its users are trying to use the older "commands" field and will exit with a relevant error message in that case. The new settings format is: "ExecProcessRequest": { "allowed_commands": [ [ "sh", "-c", "cat /proc/self/status" ] ], "regex": [] }, Signed-off-by: Dan Mihai <dmihai@microsoft.com> |
||
---|---|---|
.. | ||
cmd | ||
functional | ||
integration | ||
metrics | ||
stability | ||
.gitignore | ||
.golangci.yml | ||
cleanup_resources.py | ||
common.bash | ||
error.sh | ||
gha-run-k8s-common.sh | ||
git-helper.sh | ||
go.mod | ||
go.sum | ||
install_go.sh | ||
install_rust.sh | ||
kata-arch.sh | ||
kata-doc-to-script.sh | ||
README.md | ||
static-checks.sh |
Kata Containers Tests
This directory contains various types of tests for testing the Kata Containers repository.
Test Content
We provide several tests to ensure Kata-Containers run on different scenarios and with different container managers.
- Integration tests to ensure compatibility with:
- Stability tests
- Metrics
- Functional
GitHub Actions
Kata Containers uses GitHub Actions in the Kata Containers repository.