Skip to content

Commit

Permalink
Update T1070.002.yaml (#2847)
Browse files Browse the repository at this point in the history
Co-authored-by: Hare Sudhan <[email protected]>
  • Loading branch information
liorfigman and cyberbuff authored Jul 13, 2024
1 parent 19d0a35 commit c0ce2c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions atomics/T1070.002/T1070.002.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ atomic_tests:
- name: Truncate system log files via truncate utility
auto_generated_guid: 6290f8a8-8ee9-4661-b9cf-390031bf6973
description: |
This test truncates the system log files using the truncate utility with (-s 0 or --size=0) parameter which sets file size to zero, thus emptying the file content
This test truncates the system log files using the truncate utility with (-s 0) parameter which sets file size to zero, thus emptying the file content
supported_platforms:
- macos
input_arguments:
Expand All @@ -78,7 +78,6 @@ atomic_tests:
executor:
command: |
sudo truncate -s 0 #{system_log_path} #size parameter shorthand
sudo truncate --size=0 #{system_log_path} #size parameter
name: sh
elevation_required: true
- name: Truncate system log files via truncate utility (freebsd)
Expand Down

0 comments on commit c0ce2c7

Please sign in to comment.