lynis icon indicating copy to clipboard operation
lynis copied to clipboard

Checking for errors, not only warning in docker info output

Open xnoguer opened this issue 1 year ago • 0 comments

When running lynis audit system as a non-privileged user, and assuming dockerd running as root, lynis will report an ERROR por Docker status but will report NONE for "Docker info output (warnings)", not reporting the error ("Docker daemon socket") that docker info reported.

This pull request makes sure that error is reported and the hardening points are consistent with that error.

xnoguer avatar Apr 25 '23 14:04 xnoguer