Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for lang-graph rewrite (maltoolbox 0.2) #89

Merged
merged 9 commits into from
Jan 27, 2025
Prev Previous commit
Next Next commit
Variable renaming step->step_name
mrkickling committed Jan 27, 2025
commit 5bdbc924f9a976a1a52dd25863008b66f98e4cd5
2 changes: 1 addition & 1 deletion malsim/scenario.py
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ def _validate_scenario_property_rules(

# a way to lookup attack steps for asset types
asset_type_step_names = {
asset_type_name: [step for step in asset_type.attack_steps]
asset_type_name: [step_name for step_name in asset_type.attack_steps]
for asset_type_name, asset_type in graph.lang_graph.assets.items()
}