From 00da62d1bb1d1af178359ee55348f86603431e5c Mon Sep 17 00:00:00 2001 From: hypnoticpattern <45320229+hypnoticpattern@users.noreply.github.com> Date: Wed, 8 Apr 2020 11:55:56 -0700 Subject: [PATCH] Fix go-atomic.rb example method (#934) `List all accounts` doesn't exist; replaced the test with an existing one. Co-authored-by: Carrie Roberts --- execution-frameworks/ruby/go-atomic.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/execution-frameworks/ruby/go-atomic.rb b/execution-frameworks/ruby/go-atomic.rb index 87da1fe4..c35020fc 100755 --- a/execution-frameworks/ruby/go-atomic.rb +++ b/execution-frameworks/ruby/go-atomic.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby # -# USAGE: ./go-atomic.rb -t T1087 -n 'List all accounts' --input-output_file=bar +# USAGE: ./go-atomic.rb -t T1087 -n 'Enumerate all accounts' --input-output_file=bar # # # Example output: @@ -14,7 +14,7 @@ # # ***** EXECUTION PLAN IS ***** # Technique T1087 -# Test List all accounts +# Test Enumerate all accounts # Inputs output_file = bar # foo = bar # @@ -23,7 +23,7 @@ # # Getting Atomic Tests technique=T1087 from Github repo_org_branch=redcanaryco/master ... # - technique has 10 tests -# - found test named 'List all accounts' +# - found test named 'Enumerate all accounts' # # Checking arguments... # - supplied on command line: ["output_file", "foo"] @@ -234,7 +234,7 @@ options = { repo: 'redcanaryco/master' } parser = OptionParser.new do |opts| - opts.banner = "Usage: ./go-atomic.rb -t T1087 -n 'List all accounts' --input-output_file=bar" + opts.banner = "Usage: ./go-atomic.rb -t T1087 -n 'Enumerate all accounts' --input-output_file=bar" opts.on('-tTECHNIQUE_ID', '--techniqueTECHNIQUE_ID', 'Technique identifier') do |opt| options[:technique_id] = opt @@ -266,4 +266,4 @@ rescue => ex puts "\n\nFATAL ERROR: #{ex.message}" puts ex.backtrace.join("\n") exit 1 -end \ No newline at end of file +end