Closed paulhargreaves closed 3 years ago
Hi @paulhargreaves, it seems you're using the Docker container, can you reproduce this error with the script as well?
I haven't ran the full script, but when I just source in that one test (per above) it passes, so it's definitely something about it running in the container, I just don't know where to start to diagnose where the problem lies.
No need, I can help you with that. It's the classic https://github.com/docker/docker-bench-security/issues/405 from 2019.
Ah, sigh, ok thanks. I'll close and stop running it as a container.
# Docker Bench for Security v1.3.4
The files are in the right place, auditing is enabled.
I can't see why this test is failing. I'm passing through /lib/systemd/system (this is Arch linux, so following the Ubuntu receipe)
Running directly on the host without docker I get a pass:
So I'm obviously doing something wrong, but what?