From c1d4e22313ef9321cc6e8eea7de1e03a4f38cfa0 Mon Sep 17 00:00:00 2001 From: Carrie Roberts Date: Fri, 13 Sep 2019 15:46:09 -0600 Subject: [PATCH] update to describe new yaml elements (#563) --- atomic_red_team/spec.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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: