From 5d0491b0c93e58f84f5b0a4d904a2d89410ed35c Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Wed, 18 Dec 2024 00:07:11 +0100 Subject: [PATCH] feat: list attack paths --- backend/ebios_rm/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/ebios_rm/serializers.py b/backend/ebios_rm/serializers.py index 9c763a87c..b23c78876 100644 --- a/backend/ebios_rm/serializers.py +++ b/backend/ebios_rm/serializers.py @@ -144,6 +144,7 @@ class StrategicScenarioReadSerializer(BaseModelSerializer): folder = FieldsRelatedField() ro_to_couple = FieldsRelatedField() gravity = serializers.JSONField(source="get_gravity_display") + attack_paths = FieldsRelatedField(many=True) class Meta: model = StrategicScenario