summaryrefslogtreecommitdiffstats
path: root/reporting
diff options
context:
space:
mode:
authorLuke Hinds <lukehinds@gmail.com>2016-09-12 15:00:27 +0100
committerLuke Hinds <lukehinds@gmail.com>2016-09-12 15:00:27 +0100
commit394cc07a6c79b6e96b2fdb6683494c65b96aebd1 (patch)
treed502b54b55bd499630453658a7e9a3e50593763c /reporting
parentcc5627265007a5e95534a488e7c03762aa70bdac (diff)
Implements use of yaml.safe_load as per sec audit
Change-Id: I9b8d9746e8a3beebc1aff9f883dcec39928831d7 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
Diffstat (limited to 'reporting')
-rwxr-xr-xreporting/functest/reporting-status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reporting/functest/reporting-status.py b/reporting/functest/reporting-status.py
index e9e167d..0b80fe4 100755
--- a/reporting/functest/reporting-status.py
+++ b/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 *")