zuul/tools
Tobias Henkel bf4e9893d0
Block localhost shell tasks in untrusted playbooks
Zuul was designed to block local code execution in untrusted
environments to not only rely on bwrap to contain a job. This got
broken since the creation of a command plugin that injects the
zuul_job_id which is required for log streaming. However this plugin
doesn't do a check if the task is a localhost task. Further it is
required in trusted and untrusted environments due to log
streaming. Thus we need to fork this plugin and restrict the variant
that is used in untrusted environments.

We do this by moving actiongeneral/command.py back to action/*. We
further introduce a new catecory actiontrusted which gets the
unrestricted version of this plugin.

Change-Id: If81cc46bcae466f4c071badf09a8a88469ae6779
Story: 2007935
Task: 40391
2020-07-21 19:18:10 +02:00
..
018D05F5.gpg Avoid using apt-add-repository 2017-07-11 16:41:52 -04:00
2472D6D0.asc Install skopeo in container images 2020-04-30 19:12:10 -05:00
docker-compose.yaml tests: use a more inclusive word for the default password 2020-07-09 13:38:20 +00:00
encrypt_secret.py Strip by default in tools/encrypt_secret 2020-03-30 14:10:19 -05:00
fake_bwrap.py Make most test cases work on MacOS 2020-02-20 12:59:38 +01:00
github-debugging.py Enhance github debugging script for apps 2018-02-05 12:22:26 +01:00
install-js-repos-rpm.sh Use node v10 instead of node v8 2019-02-04 21:26:37 +00:00
install-js-tools.sh Document js tool installation in scratch doc 2019-08-23 11:48:22 -07:00
node_usage.py Small script to scrape Zuul job node usage 2018-10-30 09:17:57 -07:00
openssl.cnf Add TLS support for ZooKeeper 2020-03-18 14:47:37 -07:00
pip.sh Revert "Revert "Create zuul/web/static on demand"" 2020-07-07 19:53:33 +02:00
test-logs.sh Block localhost shell tasks in untrusted playbooks 2020-07-21 19:18:10 +02:00
test-setup-docker.sh tests: use a more inclusive word for the default password 2020-07-09 13:38:20 +00:00
test-setup.sh tests: use a more inclusive word for the default password 2020-07-09 13:38:20 +00:00
update-storyboard.py Re-enable E305 pep8 errors 2017-05-19 09:38:36 -04:00
zk-ca.sh Use Absolute path in zk-ca.sh for openssl config 2020-05-28 11:48:01 +02:00
zuul-changes.py enqueue: make trigger deprecated 2019-12-10 07:33:30 +01:00
zuul-clear-refs.py Zuul references cleaner 2015-07-20 18:57:04 +02:00