From fb016d2185152c50e3e0c5dccea1ede0db7b648e Mon Sep 17 00:00:00 2001 From: Hare Sudhan Date: Wed, 26 Oct 2022 22:14:40 -0400 Subject: [PATCH] adding ad module installation --- atomics/T1562.008/T1562.008.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/atomics/T1562.008/T1562.008.yaml b/atomics/T1562.008/T1562.008.yaml index 68881ad9..969be180 100644 --- a/atomics/T1562.008/T1562.008.yaml +++ b/atomics/T1562.008/T1562.008.yaml @@ -111,6 +111,12 @@ atomic_tests: partition_count: 2 dependency_executor_name: powershell dependencies: + - description: | + Install-Module -Name Az + prereq_command: | + try {if (Get-InstalledModule -Name AzureAD -ErrorAction SilentlyContinue) {exit 0} else {exit 1}} catch {exit 1} + get_prereq_command: | + Install-Module -Name AzureAD -Force - description: | Create dependency resources using terraform prereq_command: |