create_custom_range_from_scenario
Customize existing cyber range scenarios by adding or removing VMs, adjusting specifications, and modifying network rules for tailored security testing environments.
Instructions
Create a custom range configuration based on an existing scenario.
This tool takes an existing scenario and allows you to customize it with your own modifications (add/remove VMs, change specs, modify network rules).
Args: scenario_key: Base scenario to start from (e.g., "ad-basic", "web-basic", "kerberoasting") customizations: Dictionary of customizations to apply siem_type: SIEM type to use ("wazuh", "splunk", "elastic", "security-onion", "none")
Returns: Customized range configuration ready for deployment
Customization options: - add_vms: List of VM configurations to add - remove_vms: List of VM names to remove - modify_vms: Dictionary of VM name to modifications - add_network_rules: List of network rules to add - modify_range_settings: Range-level settings to modify
Example: # Start with basic AD scenario and customize customizations = { "add_vms": [{ "vm_name": "my-web-server", "hostname": "webserver01", "template": "ubuntu-22.04-template", "vlan": 10, "ip_last_octet": 50, "ram_gb": 4, "cpus": 2 }], "modify_vms": { "ad-dc-win2022-server-x64": { "ram_gb": 16, # Increase RAM "cpus": 8 # Increase CPUs } }, "add_network_rules": [{ "name": "Allow web traffic", "vlan_src": 99, "vlan_dst": 10, "protocol": "tcp", "ports": 80, "action": "ACCEPT" }] } result = await create_custom_range_from_scenario( scenario_key="ad-basic", customizations=customizations, siem_type="wazuh" )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_key | Yes | ||
| customizations | Yes | ||
| siem_type | No | wazuh |