From 149d3c385e7a58113ebbcae8d3a2c261aa840b3f Mon Sep 17 00:00:00 2001 From: Luke Hinds Date: Mon, 12 Sep 2016 15:00:27 +0100 Subject: Implements use of yaml.safe_load as per sec audit Change-Id: I9b8d9746e8a3beebc1aff9f883dcec39928831d7 Signed-off-by: Luke Hinds --- utils/test/reporting/functest/reporting-status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/test/reporting/functest') diff --git a/utils/test/reporting/functest/reporting-status.py b/utils/test/reporting/functest/reporting-status.py index e9e167d16..0b80fe49a 100755 --- a/utils/test/reporting/functest/reporting-status.py +++ b/utils/test/reporting/functest/reporting-status.py @@ -34,7 +34,7 @@ tempest = tc.TestCase("tempest_smoke_serial", "functest", -1) cf = conf.TEST_CONF response = requests.get(cf) -functest_yaml_config = yaml.load(response.text) +functest_yaml_config = yaml.safe_load(response.text) logger.info("*******************************************") logger.info("* Generating reporting scenario status *") -- cgit 1.2.3-korg