mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
docs: Adds example of combining include and exclude
Signed-off-by: wilmardo <info@wilmardenouden.nl>
This commit is contained in:
parent
91d36b62f9
commit
f1c4dc4cd6
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ will only run check `2.2 Ensure the logging level is set to 'info'`.
|
||||||
`sh docker-bench-security.sh -l /tmp/docker-bench-security.sh.log -e check_2_2`
|
`sh docker-bench-security.sh -l /tmp/docker-bench-security.sh.log -e check_2_2`
|
||||||
will run all available checks except `2.2 Ensure the logging level is set to 'info'`.
|
will run all available checks except `2.2 Ensure the logging level is set to 'info'`.
|
||||||
|
|
||||||
|
`sh docker-bench-security.sh -l /tmp/docker-bench-security.sh.log -c container_images -e check_4_5`
|
||||||
|
will run just the container_images checks except `4.5 Ensure Content trust for Docker is Enabled`
|
||||||
|
|
||||||
Note that when submitting checks, provide information why it is a
|
Note that when submitting checks, provide information why it is a
|
||||||
reasonable test to add and please include some kind of official documentation
|
reasonable test to add and please include some kind of official documentation
|
||||||
verifying that information.
|
verifying that information.
|
||||||
|
|
Loading…
Reference in a new issue