Shuffle / Shuffle

Shuffle: A general purpose security automation platform. Our focus is on collaboration and resource sharing.
https://shuffler.io
GNU Affero General Public License v3.0
1.7k stars 333 forks source link

New query parameter for GET List workflow runs API #1507

Open valpet93 opened 1 week ago

valpet93 commented 1 week ago

As user I want query a specific workflow, which is executed due to a subflow trigger, using a execution_parent id in order to retrieve its result.

A solution might be a new query parameter (execution_parent) on the existing GET List workflow runs API

image

frikky commented 6 days ago

As user I want query a specific workflow, which is executed due to a subflow trigger, using a execution_parent id in order to retrieve its result.

A solution might be a new query parameter (execution_parent) on the existing GET List workflow runs API

image

Good idea! If we were to expand this, we would most likely expand the Execution Search API however: /api/v1/workflows/search

For our v2 API, we may move all execution queries to it, as it supports pagination, search types (status/timestamps) etc. Adding execution parent to that one wouldn't be too much work :)