-
Notifications
You must be signed in to change notification settings - Fork 9
Playbooks
A playbook is a named collection of templates that can be started and stopped together with a single command. Use playbooks to spin up an entire training suite or a set of related CVEs at once.
vt playbook listExample output:
+-------------+----------------+--------------+-------------------------------------+
| ID | NAME | AUTHOR | TEMPLATES |
+-------------+----------------+--------------+-------------------------------------+
| vt-pb-0001 | Full Lab Suite | hhsteam | vt-bwapp, vt-dvwa, vt-juice-shop, |
| | | | vt-mutillidae-ii, vt-webgoat |
+-------------+----------------+--------------+-------------------------------------+
vt inspect --id vt-pb-0001Displays the playbook's name, description, author, and the full ordered list of templates it contains.
Starts every template in the playbook sequentially.
vt playbook run --id <playbook-id>
# With explicit provider
vt playbook run --id <playbook-id> --provider docker-composeExample:
vt playbook run --id vt-pb-0001Behavior:
- Templates are started in the order listed in the playbook YAML.
- If one template fails to start, VT logs the error and continues with the remaining templates.
- A summary of successes and failures is printed at the end.
Stops every template in the playbook sequentially.
vt playbook stop --id <playbook-id>
# With explicit provider
vt playbook stop --id <playbook-id> --provider docker-composeExample:
vt playbook stop --id vt-pb-0001Behavior: Same as run — continues on partial failures and prints a summary.
| ID | Name | Templates Included |
|---|---|---|
vt-pb-0001 |
Full Lab Suite | vt-bwapp, vt-dvwa, vt-juice-shop, vt-mutillidae-ii, vt-webgoat |
See Template-Structure for the full YAML spec.
Quick reference:
id: vt-pb-0001
info:
name: "Full Lab Suite"
description: "Starts all five training labs."
author: hhsteam
templates:
- vt-bwapp
- vt-dvwa
- vt-juice-shop
- vt-mutillidae-ii
- vt-webgoatPlaybook files live in the playbooks/ directory of the vt-templates repository and are synced to your machine with vt template --update.
Vulnerable Target
Usage
Reference
Contributing