github.com/facebookincubator/ttpforge@v1.0.13-0.20240405153150-5ae801628835/example-ttps/chaining/basic.yaml (about) 1 --- 2 api_version: 2.0 3 uuid: d4f07331-8807-4725-a69b-e9b0ed2a8719 4 name: Basic TTP Chaining 5 description: | 6 You can chain existing TTPs together to make larger 7 and more complex TTPs by using the Sub-TTP action type 8 signified by the `ttp:` syntax 9 tests: 10 - name: default 11 steps: 12 - name: first_sub_ttp 13 description: this step invokes another TTP file 14 ttp: //actions/inline/basic.yaml 15 - name: second_sub_ttp 16 description: | 17 you can pass arguments to sub-TTPs using 18 the `args:` field of the sub-TTP action 19 ttp: //args/basic.yaml 20 args: 21 str_to_print: "this came from the parent TTP" 22 int_arg: 31337 23 run_second_step: true