SPARTA Eclipse Plug-ins

If you are developing extensions of SPARTA in Eclipse, these libraries are the most convenient to use as dependencies in your Eclipse plug-in projects.

Warning

If you want to run SPARTA as part of a standalone Java program, see SPARTA Standalone libraries for more information.

Overview of the eclipse plug-ins

Note

All plug-ins are prefixed with be.kuleuven.cs.distrinet.

sparta.spartamodel

The main SPARTA meta-model library.

sparta.core

The core concepts used for representing threats and performing the risk analysis.

sparta.analysis

The Eclipse user interface to run the threat analysis.

sparta.design

The Sirius graphical model editor specification.

sparta.io

Supporting classes for various exports of threats to CSV, JSON, XLSX, etc.

sparta.threatanalysis

Supporting classes for analysis over lists of threats total risk, risk per threat type, risk per element type, etc.

sparta.queries

The model query patterns for eliciting security and privacy threats.

sparta.rcp

Customization for the packaged SPARTA Eclipse Application.

Plug-in dependencies

        flowchart LR
   analysis --> spartamodel
   analysis --> queries
   analysis --> core
   analysis --> io
   analysis --> design
   core --> queries
   core --> spartamodel
   io --> core
   io --> threatanalysis
   design --> spartamodel
   queries --> spartamodel
   threatanalysis --> core
   rcp
    

Plug-in documentation

Below, each of the plugins are described in more-detail.

sparta.spartamodel

The sparta.spartamodel plugin provides modeling support for all the earlier mentioned modeling concepts in SPARTA (with the exception of the privacy-specific ones explained later).

The meta-model in this plugin is expressed in ecore. From this meta-model, all the supporting code to create and modify these models is generated using the Eclipse Modeling Framework.

Hint

The meta-models are explained in Advanced concepts in SPARTA.

sparta.core

The sparta.spartacore plugin provides support for expressing threats, attacker profiles, estimates, and the risk models to assess the risk of the elicited threats.

sparta.queries

The sparta.queries plug-in contains the VIATRA model query patterns and code for querying the SPARTA DFD models for eliciting the security and privacy threats.

sparta.analysis

The sparta.analysis plug-in provides the Eclipse UI for analyzing an opened DFD model and presenting the resulting list of security and privacy threats.

sparta.io

The sparta.io plugin provides support for exporting threat results to various output formats such as CSV, JSON, XLSX, etc.

sparta.threatanalysis

The sparta.threatanalysis plugin provides support for performing aggregated analyses on lists of threats. This includes analyses such as the total potential and actual risk, the risk grouped per threat type or DFD element type. It does not include the risk assessment of individual threats, this assessment is provided in the sparta.core plugin.

sparta.design

The sparta.design plugin provides the specification of the graphical model editor in Sirius. This expresses how DFDs are visualized in SPARTA and which types of graphical editing operations can be performed on the model.

sparta.rcp

The sparta.rcp plugin is only used to customize the SPARTA Eclipse product with a custom perspective, splash screen, etc. It does not contain any functionality for developers.