From b6ef34b8faf873b49e68dcdca4f7643bfd4d8e23 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 16:44:58 +0000 Subject: [PATCH 1/2] Initial plan From d530b4a3f80d6bbc9a99621258825bc56fa95279 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 16:45:58 +0000 Subject: [PATCH 2/2] fix: update tox.ini allowlist_externals and commands to use bare command names Agent-Logs-Url: https://github.com/mitre/atomic/sessions/c16ce7d9-a10b-4a36-8839-bbe9714fe398 Co-authored-by: deacon-mp <61169193+deacon-mp@users.noreply.github.com> --- tox.ini | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tox.ini b/tox.ini index ce5c3be..a57a9c2 100644 --- a/tox.ini +++ b/tox.ini @@ -28,15 +28,15 @@ deps = codecov changedir = {homedir}/tmp commands = - /usr/bin/git clone https://github.com/mitre/caldera.git --recursive {homedir}/tmp - /bin/rm -rf {homedir}/tmp/plugins/atomic + git clone https://github.com/mitre/caldera.git --recursive {homedir}/tmp + rm -rf {homedir}/tmp/plugins/atomic python -m pip install -r {homedir}/tmp/requirements.txt - /usr/bin/cp -R {toxinidir} {homedir}/tmp/plugins/atomic + cp -R {toxinidir} {homedir}/tmp/plugins/atomic coverage run -p -m pytest --tb=short --rootdir={homedir}/tmp -Werror plugins/atomic/tests allowlist_externals = - /usr/bin/sudo * - /usr/bin/git * - /usr/bin/cp * + git + rm + cp [testenv:py38] description = run tests @@ -49,15 +49,15 @@ deps = codecov changedir = {homedir}/tmp commands = - /usr/bin/git clone https://github.com/mitre/caldera.git --recursive {homedir}/tmp - /bin/rm -rf {homedir}/tmp/plugins/atomic + git clone https://github.com/mitre/caldera.git --recursive {homedir}/tmp + rm -rf {homedir}/tmp/plugins/atomic python -m pip install -r {homedir}/tmp/requirements.txt - /usr/bin/cp -R {toxinidir} {homedir}/tmp/plugins/atomic + cp -R {toxinidir} {homedir}/tmp/plugins/atomic coverage run -p -m pytest --tb=short --rootdir={homedir}/tmp {homedir}/tmp/plugins/atomic/tests allowlist_externals = - /usr/bin/sudo * - /usr/bin/git * - /usr/bin/cp * + git + rm + cp [testenv:coverage] deps =