diff --git a/atomic_red_team/spec.yaml b/atomic_red_team/spec.yaml index 17e95e55..f480241f 100644 --- a/atomic_red_team/spec.yaml +++ b/atomic_red_team/spec.yaml @@ -143,14 +143,22 @@ atomic_tests: # 3. Click the '#{FOOBAR}' button - you can interpolate here too! # - name: command_prompt + elevation_required: true + # indicates whether command must be run with admin privileges. + #If the elevation_required attribute is not defined, the value is assumed to be false + prereq_command: | + # for the "command_prompt" executor, if any command returns a non-zero exit code, the pre-requisites are not met. + #For the "powershell" executor, all commands are run as a script block and the script block must return 0 for success. + #You can remove the prereq_command section if there are no pre-req's command: | SoundRecorder /FILE #{output_file} /DURATION #{duration_hms} - + cleanup_command: | # you can remove the cleanup_command section if there are no cleanup commands # # This is the second atomic test # - name: Echo to the screen + description: | blah blah blah supported_platforms: