mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-13 23:17:06 +00:00
Merge pull request #141 from schurzi/docker_cpuvuln
only check cpu vulnerabilities if not in container
This commit is contained in:
commit
a0de5c6553
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ control 'os-12' do
|
|||
impact 1.0
|
||||
title 'Detect vulnerabilities in the cpu-vulnerability-directory'
|
||||
desc 'Check for known cpu vulnerabilities described here: https://www.kernel.org/doc/html/v5.6/admin-guide/hw-vuln/index.html'
|
||||
only_if { !container_execution }
|
||||
|
||||
if file(cpuvulndir).exist?
|
||||
describe file(cpuvulndir) do
|
||||
|
|
Loading…
Reference in a new issue