smart_deploy
Deploy validated cyber range scenarios with automated configuration, monitoring, and optional snapshots for security testing environments.
Instructions
Smart deployment with validation, optional snapshot, and auto-monitoring.
RECOMMENDED: This is the preferred method for deploying scenarios as it includes validation, error checking, and monitoring guidance.
NO FILE UPLOAD REQUIRED: This tool automatically generates the configuration from the scenario parameters. You do NOT need to provide a config file.
Workflow:
Validates the scenario configuration (if auto_validate=True)
Creates snapshot if requested (if auto_snapshot=True)
Generates and sets the configuration in Ludus
Verifies the configuration was set correctly
Starts the deployment
Provides monitoring guidance and commands
When to use:
Use smart_deploy() for most deployments (recommended)
Use deploy_scenario() if you need more control or don't want validation
Use deploy_range() only if you have a custom configuration dict
Args: scenario_key: Scenario to deploy (e.g., 'redteam-lab-lite') siem_type: SIEM type to include (wazuh, splunk, elastic, security-onion, none) auto_validate: Validate configuration before deploying (default: True) auto_snapshot: Create snapshot before deployment (default: False) auto_monitor: Enable auto-monitoring after deployment (default: True) user_id: Optional user ID (admin only)
Returns: Smart deployment result with monitoring guidance and status
Example: # Recommended: Use smart_deploy for automated deployments smart_deploy( scenario_key='redteam-lab-lite', siem_type='none', auto_validate=True, auto_monitor=True )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_key | Yes | ||
| siem_type | No | wazuh | |
| auto_validate | No | ||
| auto_snapshot | No | ||
| auto_monitor | No | ||
| user_id | No |