Skip to content

Commit d0a0963

Browse files
Updated main execution flow with reporting (#336)
1 parent 5a72e9b commit d0a0963

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/content/en/docs/core-components/soarca-application-design.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,23 +185,29 @@ These sequences will show a simplified overview of how the SOARCA components int
185185
The main flow of the application is the following. Execution will start by processing the JSON formatted CACAO playbook if successful the playbook is handed over to the Decomposer. This is where the playbook is decomposed into its parts and passed step by step to the executor. These operations will block the API until execution is finished. For now, no variables are exposed via the API to the caller.
186186

187187
```plantuml
188-
Actor Caller
188+
actor Caller
189189
Caller -> Api
190-
Api -> Trigger : /trigger
190+
Api -> Trigger : POST /trigger
191+
participant Reporter
191192
Trigger -> Decomposer : Trigger playbook as ad-hoc execution
193+
Trigger <-- Decomposer : execution details
194+
Api <-- Trigger : execution details
195+
Caller <-- Api
192196
loop for each step
193197
Decomposer -> Executor : Send step to executor
194198
Executor -> Executor : select capability (ssh selected)
195199
Executor -> Ssh : Command
196200
Executor <-- Ssh : return
197201
Decomposer <-- Executor
202+
Reporter <-- Decomposer : Step execution results
198203
else execution failure (break loop)
199204
Executor <-- Ssh : error
200205
Decomposer <-- Executor: error
206+
Reporter <-- Decomposer : Step execution results
201207
Decomposer -> Decomposer : stop execution
202-
203208
end
204-
Trigger <-- Decomposer : execution details
205-
Api <-- Trigger : execution details
206-
Caller <-- Api
209+
210+
Api -> Reporter : GET /reporter/execution-id
211+
Api <-- Reporter : response data
212+
207213
```

0 commit comments

Comments
 (0)