From e5ed8e7670acd4cd2940e7a53e5b9c1948fbea02 Mon Sep 17 00:00:00 2001 From: Andras32 Date: Fri, 24 Jan 2020 09:21:54 -0600 Subject: [PATCH] Fixed ExecutionLog TestName field (#796) --- .../Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 b/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 index f443bc43..8e17c690 100644 --- a/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 +++ b/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 @@ -235,7 +235,7 @@ function Invoke-AtomicTest { $startTime = get-date $final_command = Merge-InputArgs $test.executor.command $test $InputArgs $PathToAtomicsFolder $res = Invoke-ExecuteCommand $final_command $test.executor.name $TimeoutSeconds - Write-ExecutionLog $startTime $AT $testCount $testName $ExecutionLogPath $TimeoutSeconds + Write-ExecutionLog $startTime $AT $testCount $test.name $ExecutionLogPath $TimeoutSeconds Write-KeyValue "Done executing test: " $testId }