From 3097dadca7aca6be6a8de3eff8be08ec74cbfd5a Mon Sep 17 00:00:00 2001 From: ruyek-git <107167346+ruyek-git@users.noreply.github.com> Date: Mon, 13 Jun 2022 11:26:40 -0500 Subject: [PATCH] Update T1059.006.yaml --- atomics/T1059.006/T1059.006.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/atomics/T1059.006/T1059.006.yaml b/atomics/T1059.006/T1059.006.yaml index b81b2f20..90ef3af4 100644 --- a/atomics/T1059.006/T1059.006.yaml +++ b/atomics/T1059.006/T1059.006.yaml @@ -155,6 +155,13 @@ atomic_tests: supported_platforms: - linux + dependencies: + - description: Verify if python is in the environment variable path and attempt to import requests library. + prereq_command: | + which_python=$(which python || which python3 || which python2); $which_python -V + $which_python -c 'import requests' 2>/dev/null; echo $? + get_prereq_command: | + pip install requests executor: