Updated log file name

From testing, the default logfile name is `docker-bench-security.log.json` not `docker-bench-security.sh.log.json`
This commit is contained in:
Adin Ermie 2021-09-30 09:02:41 -04:00 committed by GitHub
parent f656a5d683
commit d98a054c2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,8 +92,8 @@ Note that when distributions don't contain `auditctl`, the audit tests will chec
``` ```
By default the Docker Bench for Security script will run all available CIS tests and produce By default the Docker Bench for Security script will run all available CIS tests and produce
logs in the log folder from current directory, named `docker-bench-security.sh.log.json` and logs in the log folder from current directory, named `docker-bench-security.log.json` and
`docker-bench-security.sh.log`. `docker-bench-security.log`.
If the docker container is used then the log files will be created inside the container in location `/usr/local/bin/log/`. If you wish to access them from the host after the container has been run you will need to mount a volume for storing them in. If the docker container is used then the log files will be created inside the container in location `/usr/local/bin/log/`. If you wish to access them from the host after the container has been run you will need to mount a volume for storing them in.