Skip to content

Commit beb89ca

Browse files
committed
only check cpu vulnerabilities if not in container
Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
1 parent 6468210 commit beb89ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

controls/os_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@
243243
impact 1.0
244244
title 'Detect vulnerabilities in the cpu-vulnerability-directory'
245245
desc 'Check for known cpu vulnerabilities described here: https://www.kernel.org/doc/html/v5.6/admin-guide/hw-vuln/index.html'
246+
only_if { !container_execution }
246247

247248
if file(cpuvulndir).exist?
248249
describe file(cpuvulndir) do

0 commit comments

Comments
 (0)