murano-agent/muranoagent
Stan Lagun 2468fb5939 Tighten access to runtime agent folders
Murano Agent uses default folder permissions for the
execution plans and scripts. If the default is too permissive
(which is unusual), other users on that machine can trick
the agent to execute malicious execution plans by putting files
into queue folder and use it to get the root privileges.
In most common sense users won't have write permissions to murano-agent
folders. However, they can hijack execution plans and other data
that might contain sensitive information.

This commit sets 0700 mode to the agent runtime folders so that they
can be accessed only by the user that runs the agent (+ the root,
if it's someone else).

Change-Id: I27f0495a509c4d1435d630e2bc5bfdf3549486d5
2017-11-22 10:00:26 -08:00
..
cmd RabbitMQ heartbeats for consumer threads 2016-05-20 21:01:37 +00:00
common Use HostAddressOpt for opts that accept IP and hostnames 2017-03-23 15:59:16 +08:00
executors Fixed issues on Python 3 2016-11-24 19:19:20 +03:00
tests Tighten access to runtime agent folders 2017-11-22 10:00:26 -08:00
__init__.py Extract main python client to the top 2014-05-29 20:02:50 +04:00
app.py Mask sensitive information before logging execution plan. 2017-07-24 10:50:23 -04:00
bunch.py Drop bunch dependency 2015-11-27 20:23:31 +03:00
exceptions.py Increment max FormatVersion 2015-04-20 17:37:24 +03:00
execution_plan_queue.py Tighten access to runtime agent folders 2017-11-22 10:00:26 -08:00
execution_plan_runner.py Fixed issues on Python 3 2016-11-24 19:19:20 +03:00
execution_result.py Replace uuid.uuid4() with uuidutils.generate_uuid() 2017-03-24 16:57:21 +08:00
files_manager.py Tighten access to runtime agent folders 2017-11-22 10:00:26 -08:00
opts.py Switch to the oslo.log library 2015-08-05 15:44:00 +03:00
script_runner.py Remove hardcoded destinations for puppet/chef processing engine 2015-11-19 13:39:14 +00:00
version.py Fix murano agent component name 2014-09-24 15:08:52 +04:00
win32.py Enable H301, H302, H304, H306, H231, H233 2014-08-29 13:32:56 +00:00