preview_profile_changes
Preview configuration changes before applying adversary or defender profiles to understand impact on VMs, Ansible roles, and resources.
Instructions
Preview changes that would be made by applying a profile without modifying the config.
This is a dry-run tool that shows what would happen if you applied a profile, without actually modifying the configuration. Useful for understanding the impact before committing to changes.
Args: config: The Ludus range configuration to analyze profile_type: Type of profile to preview ("adversary" or "defender") profile_level: Level to preview (threat level for adversary, monitoring level for defender)
Returns: Dictionary containing: - status: "success" - profile_type: The profile type previewed - profile_level: The level previewed - affected_vms: List of VMs that would be modified - changes_summary: Summary of changes - ansible_roles_added: List of Ansible roles that would be added - estimated_impact: Estimated resource and complexity impact - recommendations: Recommendations based on the preview
Examples: # Preview medium adversary profile preview = await preview_profile_changes( config=my_config, profile_type="adversary", profile_level="medium" )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| profile_type | Yes | ||
| profile_level | Yes |