TracecatHQ / tracecat

The open source Tines / Splunk SOAR alternative.
https://tracecat.com
GNU Affero General Public License v3.0
2.34k stars 159 forks source link

[FEATURE IDEA] Output reshaping built-in to action execution #351

Open mattdurant opened 2 weeks ago

mattdurant commented 2 weeks ago

Is your feature request related to a problem? Please describe. For a number of workflows, I end up adding a reshape action after every integration action so I can put the output from that action into a consistent format. This could be for error handling (checking for None/error condition and returning an output instead of raising an exception), replacing extra actions added just to reformat outputs, etc.

Describe the solution you'd like An extra configuration for any action to reshape the output. I'm thinking something like an optional field that, if configured, internally executes a Reshape action.

Describe alternatives you've considered Adding the nodes manually which creates extra work and clutters up the workflow with steps that only exist to reshape outputs from separate systems.

Additional context

topher-lo commented 2 weeks ago

This is a great idea @daryllimyt. It builds upon our GitHub actions approach to automation API building. And also differentiates us more from existing "pure" no-code soars

lued commented 2 weeks ago

+1

daryllimyt commented 2 weeks ago

I like this idea, I've experienced this too and this is pretty much spot on as to what I'd like as a solution