From 49a32e7c7460ef84f857fd431f87b4a881034149 Mon Sep 17 00:00:00 2001 From: Aaron Peterson Date: Sun, 8 Oct 2023 14:00:12 -0700 Subject: [PATCH] Update mount requirements --- turbinia/workers/analysis/linux_acct.py | 3 ++- turbinia/workers/analysis/ssh_analyzer.py | 3 ++- turbinia/workers/analysis/windows_acct.py | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/turbinia/workers/analysis/linux_acct.py b/turbinia/workers/analysis/linux_acct.py index 55a15cc37..3f37809f1 100644 --- a/turbinia/workers/analysis/linux_acct.py +++ b/turbinia/workers/analysis/linux_acct.py @@ -30,8 +30,9 @@ class LinuxAccountAnalysisTask(TurbiniaTask): """Task to analyze a Linux password file.""" + # Does not need to be MOUNTED as this Task uses extract_artifacts() REQUIRED_STATES = [ - state.ATTACHED, state.MOUNTED, state.CONTAINER_MOUNTED, state.DECOMPRESSED + state.ATTACHED, state.CONTAINER_MOUNTED, state.DECOMPRESSED ] TASK_CONFIG = { diff --git a/turbinia/workers/analysis/ssh_analyzer.py b/turbinia/workers/analysis/ssh_analyzer.py index 65b502499..d21d1559c 100644 --- a/turbinia/workers/analysis/ssh_analyzer.py +++ b/turbinia/workers/analysis/ssh_analyzer.py @@ -81,7 +81,8 @@ def calculate_session_id(self) -> None: class LinuxSSHAnalysisTask(TurbiniaTask): """Task to analyze Linux SSH authentication.""" - REQUIRED_STATES = [state.ATTACHED, state.MOUNTED, state.CONTAINER_MOUNTED] + # Does not need to be MOUNTED as this Task uses extract_artifacts() + REQUIRED_STATES = [state.ATTACHED, state.CONTAINER_MOUNTED] # Log year validation # The minimum supported log year diff --git a/turbinia/workers/analysis/windows_acct.py b/turbinia/workers/analysis/windows_acct.py index 93d369c0b..9dbc4b6f1 100644 --- a/turbinia/workers/analysis/windows_acct.py +++ b/turbinia/workers/analysis/windows_acct.py @@ -29,6 +29,7 @@ class WindowsAccountAnalysisTask(TurbiniaTask): """Task to analyze Windows accounts.""" + # Does not need to be MOUNTED as this Task uses extract_artifacts() REQUIRED_STATES = [ state.ATTACHED, state.CONTAINER_MOUNTED, state.DECOMPRESSED ]