Modelio

, ,

SOFT – Modelio extensions: TOSCA Designer and Attack-Defense Tree Designer

ID: R15 Licence:
GPL-3.0
Owner:
SOFT
Contacts:
alessandra.bagnato@docaposte.fr
juan.cadavid@docaposte.fr
laurent.goncalves@docaposte.fr
Short DescriptionModelio is an open-source modelling environment based on commonly used standards for enterprise architecture, process modelling, software development and systems engineering (UML, SysML, BPMN). In MYRTUS it has been extended with two modules: the TOSCA Designer, to model the topology of applications for the edge-fog-cloud continuum according to the OASIS TOSCA standard, and the Attack-Defense Tree (ADT) Designer, to model the threats to which the system is exposed and the countermeasures that mitigate them.
TOSCA DesignerADT Designer
Key features– Visual modelling of service templates, topology templates, node and relationship types, policies and constraints
– Complete TOSCA standard library included, plus MYRTUS node types for the continuum
– Security properties on software components (data sensitivity and integrity) and throughput and energy levels on compute nodes
– Export as CSAR packages and TOSCA files, and a dedicated YAML export for design space exploration
– Consistency with the UML, SysML, BPMN and ADT views of the same Modelio project
– Attack trees with the attack as root and AND/OR conditions on the events that lead to it
– Security attributes of each attack, such as severity and likelihood
– Countermeasures attached to the attacks, corresponding to software components of the topology
– References between trees, import and export of attack trees
– Countermeasure specification saved in the CSAR package
RequireModelio open-source modelling environment (Java); TOSCA (Topology and Orchestration Specification for Cloud Applications) standard.Modelio open-source modelling environment (Java); TOSCA model of the application, for the link between countermeasures and software components.
ProvideA TOSCA Designer module: a graphical environment to create, edit and visualise TOSCA-compliant application and service templates, including topology templates, node types, relationship types and policies.A threat modelling module: a graphical environment to design attack-defense trees and specify the countermeasures for the identified threats.
InputManual application modelling through the graphical user interface. A clear idea of the purpose and architecture of the application: its components and services, deployment topology, operational requirements (such as scalability, security and performance), external integrations, policies and constraints. The existing software components (e.g. container images) are referenced by the node templates.Manual modelling through the graphical user interface: the threats to which the application is exposed and the countermeasures to mitigate them.
Output– Visual representation of the application
– .CSAR and .TOSCA files describing the application, for TOSCA-compliant orchestrators
– YAML file for the design space exploration tools
Attack-defense tree diagrams and the specification of the countermeasures, saved in the CSAR package and read by the countermeasure synthesis.
User– Designers of cloud and continuum applications and services
– Developers
– Analysts
– Software and systems architects
– Security specialists
– Software and systems architects
Benefits for the user– Standards-based modelling techniques that make architecture and system modelling easier, with interoperability and no dependence on a single cloud vendor.
– Visual design instead of hand-written TOSCA: the files are generated by the tool, so they are free of syntax errors.
– Faster design cycles thanks to the built-in TOSCA standard library and to model templates that can be reused and moved across projects.
– Deployment artifacts ready for any TOSCA-compliant orchestrator.
– Easy management through a coherent standardised repository centralising all models and documentation.
– Security considered from the early stages of design, in the same environment as the topology of the application.
Downloadgithub.com/Modelio-R-D/MYRTUSDesigner (releases)
MYRTUSDesigner/ToscaDesigner
Example models: face recognition application, smart city traffic management
github.com/Modelio-R-D/AttackTreeDesigner
Role in MYRTUSStep 1 of the MYRTUS DPE (Continuum modelling, simulation and analysis): authoring of the TOSCA model, the common description of the application shared by all the steps of the DPE and by the MIRTO Agent.Step 2 of the MYRTUS DPE (Model to implementation): threat modelling, input of the Countermeasure Synthesizer.
TRL@M02 (cloud modelling only)3
TRL@M3645

General description


Modelio is a modelling environment supporting a wide range of models and diagrams, with services that facilitate the modelling and analysis of architectures, such as model consistency checking. Business processes modelled in BPMN can be linked to the other standards supported by the tool, such as UML, to place them in a larger context like an enterprise architecture. In MYRTUS, two Modelio modules bring this model-based approach to the design of applications for the edge-fog-cloud continuum, and make Modelio the entry point of the MYRTUS Design and Programming Environment (DPE).

TOSCA Designer

The TOSCA Designer is where application developers and system architects describe the application in TOSCA, the OASIS standard for the topology and orchestration of cloud applications. Starting from the existing software components, they build node templates for the compute nodes of the edge, fog and cloud layers and for the software components hosted on them, connect them with relationships from the TOSCA standard library, and add the policies and constraints of the application, for example on the use of edge resources, network bandwidth or end-to-end latency. Compute nodes are modelled as placeholders, which the orchestrator later instantiates with concrete hardware.

Modelio is a modelling tool, not an orchestration or deployment tool: the TOSCA Designer generates the artifacts (.csar and .tosca files) that a TOSCA-compliant orchestrator, in MYRTUS the MIRTO Agent, uses for the actual deployment.

ADT Designer

The ADT Designer lets security specialists and system architects describe how an asset or a target might be attacked. Each tree has the attack as its root, linked by AND and OR conditions to the events that lead to it, and every attack can be annotated with security attributes such as severity and likelihood.

Countermeasures are attached to the attacks they mitigate, for example end-to-end encryption against a man-in-the-middle attack, and correspond to software components of the TOSCA topology. They are saved in the CSAR package, from which the Countermeasure Synthesizer selects and instantiates the specific implementation from a library.

Role in the MYRTUS DPE


The TOSCA model produced with Modelio is the common contract of the DPE: it is written in Step 1 and read, and in part completed, by the tools of the following steps and by the cognitive engine at deployment time.

Software componentsExisting container images and code of the application, referenced by the node templates.
TOSCA DesignerStep 1: topology, relationships, policies and constraints, security properties.
ADT DesignerStep 2: threats and countermeasures.
Simulation and design space explorationDynAA, FREVO and COSMOS (TOSCA and YAML exports).
Countermeasure synthesisCountermeasure Synthesizer (CSAR package).
Node-level compilation and deploymentStep 3 of the DPE and the MIRTO Agent (CSAR package).

Where the models produced with Modelio go in the MYRTUS DPE.

  • Simulation and design space exploration (Step 1). The TOSCA model is simulated with DynAA, which returns estimates of resource utilisation, latency and power dissipation; the designer inspects them and refines the model. A dedicated YAML export, enriched with information on large-scale topologies such as the expected number of nodes in each layer, feeds the design space exploration with FREVO and COSMOS, which derive local placement rules for the agents.
  • Countermeasure synthesis (Step 2). The Countermeasure Synthesizer reads from the CSAR package the countermeasures specified in the ADT Designer, or derives them from the data sensitivity and integrity of each software component and the throughput and energy levels of each compute node, and writes the selected security primitives back into the TOSCA model.
  • Node-level optimisation and deployment (Step 3 and run time). The CSAR package carries the specification of the compute nodes and the references to the software components into Step 3, where it identifies the parts of the application to be compiled and accelerated, and to the MIRTO Agent, which validates it and computes the allocation of the components on the continuum.

MYRTUS Extension/Contribution


TOSCA Designer

The TOSCA Designer has been developed in MYRTUS as a new Modelio module and has reached a public release, covering most of the elements of the TOSCA specification. It includes the TOSCA standard library and MYRTUS node types for the continuum, and exports CSAR packages and TOSCA files. The TOSCA types have been extended with the properties needed by the security flow: data sensitivity and integrity on software components, throughput and energy levels on compute nodes.

A dedicated YAML export has been added for the design space exploration tools, and later extended to represent connections between nodes on different layers of the continuum. The CSAR packages generated with the TOSCA Designer have been validated against the deployment interface of the MIRTO Agent and used to build and validate the Countermeasure Synthesizer. A toolchain released alongside the TOSCA Designer checks TOSCA topologies against a set of architectural risk rules and can run in CI/CD pipelines.

ADT Designer

The ADT Designer has been enhanced in MYRTUS and released in a stable version. It has been integrated with the TOSCA Designer, so that the countermeasures modelled in the attack-defense trees correspond to software components of the application topology and are saved in the same CSAR package.

This makes the ADT the first step of the security-by-design flow of the DPE: the countermeasures specified by the architect are the input of the automatic synthesis, which selects and configures the security primitives deployed with each component.

Technology Benefits and Innovations


TOSCA Designer

Writing TOSCA by hand means learning a rich syntax with many concepts, which leads to frequent errors, and the tools available often offer little visual support, no autocompletion and no validation. Models also tend to be rebuilt from scratch instead of reused. The TOSCA Designer replaces this with diagrams, property pages and autocompletion, generates the TOSCA and CSAR files automatically, so they are syntactically valid by construction, and supports modular design through reusable elements and the built-in standard library, so that modelling stays maintainable as projects grow.

Deploying complex applications across the continuum still relies largely on manual configuration and trial and error. With the TOSCA Designer, the architecture is defined in a structured model that can be simulated and tuned before deployment. Open-source TOSCA tools such as Eclipse Winery, OpenTOSCA and OCCIware TOSCA Studio mainly produce artifacts for their own runtime environments, and toolkits such as Puccini parse and validate TOSCA files without offering a design environment. The TOSCA Designer instead focuses on end-to-end system modelling and on standard, specification-compliant output that external tools for simulation, optimisation and orchestration can use.

TOSCA is increasingly the application description format of continuum orchestrators, which need well-formed TOSCA input but do not provide a way to design it. Recent work also generates TOSCA and other infrastructure-as-code artifacts with large language models, which still need iterative validation. The TOSCA Designer answers both needs with model-based consistency across the UML, SysML, BPMN and ADT views of the same system.

ADT Designer

Threat modelling methodologies such as STRIDE, and tools such as the Microsoft Threat Modeling Tool and OWASP Threat Dragon, help identify threats from the early design phases, but they give little room to defense mechanisms and focus on software or web applications rather than on distributed hardware-software systems like the edge-fog-cloud continuum.

Attack-defense trees model attack vectors and countermeasures explicitly. Thanks to the integration with the TOSCA Designer, security considerations are coupled with the design and deployment of the system from the earliest stages, and the countermeasures become part of the application topology.

Users


Designers of cloud and continuum applications and services, software and system architects and developers, whose work is to define the infrastructure, topology and deployment logic of an application in a standard way, and to make sure that the model meets the requirements of the application, internal policies and regulatory constraints. The TOSCA Designer gives them a standard, vendor-neutral description that TOSCA-compliant orchestrators can deploy, and that can be evaluated before deployment. Security specialists who need to model the threats to complex distributed systems and link the countermeasures to the components that implement them. Developers of TOSCA-based orchestration, simulation and design space exploration tools, who can use the TOSCA Designer as a design front end, and Modelio users who want to bring their UML, SysML and BPMN models closer to deployment.

References


Competenze

Postato il

30 Gennaio 2025