google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
725 stars 163 forks source link

[FR]: Create debug tasks recipe and/or add flag to turbinia-client #1472

Open aarontp opened 3 months ago

aarontp commented 3 months ago

What is the feature you are proposing?

Turbinia Tasks have a debug tasks flag that can be enabled so that the task will turn on debug output for any binary dependencies that support a debug flag. This is useful when debugging various task and dependency issues. This can currently be turned on with DEBUG_TASKS in the config for all tasks, or with debug_tasks = True in a Recipe. Previously the turbiniactl client had a -T flag that allowed this to be easily flipped for a specific request but I don't think that turbinia-client currently has that functionality. It would be nice to either add a new flag for this or create a recipe that enables this that can be easily used.

What would this feature improve or what problem would it solve?

Makes it easier to turn on debug tasks for users.

What alternatives have you considered?

n/a

jleaniz commented 3 months ago

Hey Aaron, you should be about to create a recipe file with whatever configuration you need and pass it using --recipe_data as base64 encoded data.