Skip to content

Commit

Permalink
Updated condition executor documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartendeKruijf committed Jan 16, 2025
1 parent bdc6760 commit 9fc7073
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions docs/content/en/docs/core-components/executer.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,10 @@ database <- exe
```

### If condition executor
The if-condition executor will process a cacao if-condition step and determine it's output.
### If-condition and While-condition executor
The (if-)condition executor will evaluate a CACAO condition property both for the [if-condition step](https://docs.oasis-open.org/cacao/security-playbooks/v2.0/cs01/security-playbooks-v2.0-cs01.html#_Toc152256485), and in the [while-condition step](https://docs.oasis-open.org/cacao/security-playbooks/v2.0/cs01/security-playbooks-v2.0-cs01.html#_Toc152256486).

The result of the step comparison will be returned to the decomposer. A result can be either a next step id and/or error status.

### While condition executor
The if-condition executor will process a cacao while-condition step and determine it's output.

The result of the step comparison will be returned to the decomposer. A result can be either a next step id and/or error status. Only STIX comparison expressions are implemented at this time.
The result of the condition evaluation comparison will be returned to the decomposer. The result will determine the ID of the next step that should be executed, and/or error status.

{{% alert title="Warning" color="warning" %}}
Note only [Comparison Expression](http://docs.oasis-open.org/cti/stix/v2.0/cs01/part5-stix-patterning/stix-v2.0-cs01-part5-stix-patterning.html#_Toc496717749) are implemented for all CACAO variable types.
Expand Down

0 comments on commit 9fc7073

Please sign in to comment.