diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-10-06 14:46:19 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-10-06 14:47:13 +0200 |
commit | 90b94750e10a3d70d148232822776351a917d075 (patch) | |
tree | 7b84f00ca1e22da5a3b558699a1554cba0785a6b /functest_kubernetes/security/security.py | |
parent | 06eb071ee719c015f696ed6c0a685926a8a0ae62 (diff) |
Update kube bench test cases to latest dev
Change-Id: I6edcfcced84d46a06933f4a5dc1702cfa90e3f9a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest_kubernetes/security/security.py')
-rw-r--r-- | functest_kubernetes/security/security.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest_kubernetes/security/security.py b/functest_kubernetes/security/security.py index 751fd29b..cfbb391e 100644 --- a/functest_kubernetes/security/security.py +++ b/functest_kubernetes/security/security.py @@ -214,7 +214,7 @@ class KubeBench(SecurityTesting): header_style='upper', padding_width=5, field_names=['node_type', 'version', 'test_desc', 'pass', 'fail', 'warn']) - for details in self.details["report"]: + for details in self.details["report"]["Controls"]: for test in details['tests']: msg.add_row( [details['node_type'], details['version'], test['desc'], |