github.com/facebookincubator/ttpforge@v1.0.13-0.20240405153150-5ae801628835/example-ttps/requirements/os-and-superuser.yaml (about) 1 --- 2 api_version: 2.0 3 uuid: 60d10dc8-976d-42b7-9f75-f67f18daff64 4 name: "Requirements Demo: OS and Superuser" 5 description: | 6 This TTP demonstrates the following features of the `requirements:` section: 7 * How to mark your TTP as compatible with certain 8 platforms (and incompatible with others). 9 * How to mark your TTP as requiring superuser privileges. 10 requirements: 11 platforms: 12 # compatible with any architecture mac, any architecture linux 13 # but only amd64 windows 14 - os: darwin 15 - os: linux 16 - os: windows 17 arch: amd64 18 superuser: true 19 steps: 20 - name: demo 21 print_str: | 22 If you see this string, you are executing this TTP 23 with superuser privileges within a compabile OS/Architecture environment.