Update T1070.003.yaml
This commit is contained in:
committed by
GitHub
parent
a128b9981a
commit
a2a74b30e9
@@ -151,11 +151,6 @@ atomic_tests:
|
||||
Clears Docker container logs using the Docker CLI and the truncate command, removing all log entries.
|
||||
supported_platforms:
|
||||
- linux
|
||||
dependencies:
|
||||
- description: |
|
||||
Install Docker CLI
|
||||
prereq_command: |
|
||||
(which docker >/dev/null) || (curl -fsSL https://get.docker.com/ | sh)
|
||||
executor:
|
||||
command: |
|
||||
docker container prune -f && sudo truncate -s 0 /var/lib/docker/containers/*/*-json.log
|
||||
|
||||
Reference in New Issue
Block a user