)]}'
{"bandit/plugins/exec_as_root.py":[{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"225b56252e85384ca22d35f31c355476d77c6064","unresolved":false,"context_lines":[{"line_number":20,"context_line":"def execute_with_run_as_root_equals_true(context):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    function_names \u003d ["},{"line_number":23,"context_line":"        \u0027ceilometer.utils.execute\u0027,"},{"line_number":24,"context_line":"        \u0027cinder.utils.execute\u0027,"},{"line_number":25,"context_line":"        \u0027neutron.agent.linux.utils.execute\u0027,"},{"line_number":26,"context_line":"        \u0027nova.utils.execute\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba7be1f8_d2783bc6","line":23,"updated":"2015-02-25 15:22:32.000000000","message":"generally favor putting function names in config, but can go either way","commit_id":"6e96e731a232bf88301cde2817a3929fa1dc5d26"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"da78c4d074867bc0efbc7bdb6ba0b76b6a0ce258","unresolved":false,"context_lines":[{"line_number":20,"context_line":"def execute_with_run_as_root_equals_true(context):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    function_names \u003d ["},{"line_number":23,"context_line":"        \u0027ceilometer.utils.execute\u0027,"},{"line_number":24,"context_line":"        \u0027cinder.utils.execute\u0027,"},{"line_number":25,"context_line":"        \u0027neutron.agent.linux.utils.execute\u0027,"},{"line_number":26,"context_line":"        \u0027nova.utils.execute\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba7be1f8_743db8c3","line":23,"in_reply_to":"ba7be1f8_49010169","updated":"2015-02-25 16:30:08.000000000","message":"Please see \"blacklist_calls\" plugin for an example of how to do it.  The basic idea is that you use the \"takes_config\" decorator, you add a block in the yaml config file with the same name of the test, and then there is a block of code you use in the function itself to get the config.","commit_id":"6e96e731a232bf88301cde2817a3929fa1dc5d26"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"3f10964f24070e3fe55ead33940a05c2328810b5","unresolved":false,"context_lines":[{"line_number":20,"context_line":"def execute_with_run_as_root_equals_true(context):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    function_names \u003d ["},{"line_number":23,"context_line":"        \u0027ceilometer.utils.execute\u0027,"},{"line_number":24,"context_line":"        \u0027cinder.utils.execute\u0027,"},{"line_number":25,"context_line":"        \u0027neutron.agent.linux.utils.execute\u0027,"},{"line_number":26,"context_line":"        \u0027nova.utils.execute\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba7be1f8_34b0a0dc","line":23,"in_reply_to":"ba7be1f8_743db8c3","updated":"2015-02-25 16:37:07.000000000","message":"Thanks, I\u0027ll make that change.","commit_id":"6e96e731a232bf88301cde2817a3929fa1dc5d26"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"9e00f968cd3550febe07ea92f5a1b1d4e9245fb3","unresolved":false,"context_lines":[{"line_number":20,"context_line":"def execute_with_run_as_root_equals_true(context):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    function_names \u003d ["},{"line_number":23,"context_line":"        \u0027ceilometer.utils.execute\u0027,"},{"line_number":24,"context_line":"        \u0027cinder.utils.execute\u0027,"},{"line_number":25,"context_line":"        \u0027neutron.agent.linux.utils.execute\u0027,"},{"line_number":26,"context_line":"        \u0027nova.utils.execute\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba7be1f8_49010169","line":23,"in_reply_to":"ba7be1f8_d2783bc6","updated":"2015-02-25 16:25:45.000000000","message":"I\u0027d be more than happy to change it.  Where were you thinking to put this in the config?","commit_id":"6e96e731a232bf88301cde2817a3929fa1dc5d26"}]}
