Skip to main content

ADT Create provides a general method to create and customize Attack-Defense Trees (ADTs), allowing users to visualize and analyse security scenarios. A user is able to create and customize ADTs from scratch, upload/download ADTs in XML format, generate ADTerms based on ADTs, compare ADTerms to determine equivalence using an equivalence threshold using the Levenshtein Distance, determine satisfiability of an ADT and generate statistics of an ADT

Project description

ADT Create

Welcome to ADT Create. This project aims to provide a general method to create and customize Attack-Defense Trees (ADTs), allowing users to visualize and analyse security scenarios. A user is able to create and customize ADTs from scratch, upload/download ADTs in XML format, generate ADTerms based on ADTs, compare ADTerms to determine equivalence using an equivalence threshold using the Levenshtein Distance, determine satisfiability of an ADT and generate statistics of an ADT.

Getting Started

This document will guide you through the project structure and the installation process of ADT Create.

Explore the unlimited possible ADTs and strenghten your defenses!

Project Structure

The files of the package can be found in folder ADTCreate/.
This folder contains the following files:

  • ADT.py: general functionalities for creation and construction of ADTs, contains the calls to other modules.
  • ADTXML.py: XML import and export functionalities.
  • ADTSatisfiability.py: Satisfiability functionalities.
  • GenerateADTerm.py: ADTerm Generation functionalities.
  • CompareADTerms.py: ADTerms Comparison functionalities.
  • MultisetList.py: Multiset implementation based on the List type.

The testprogram can be found in this project in file main.py
The changelog can be found in this project in file changelog.md.
The manual can be found in this project in file code_documentation.md.

Installation

Make sure you have installed Python version >= 3.7 and the pip package.
Open your Terminal (on UNIX systems), and run pip install ADTCreate.
Open up a Python file, and add from ADTCreate import ADT.

You have now succesfully installed ADT Create and imported it into your project.
Happy coding!

To create an ADT, use: adt_instance = ADT.initADT(type, refinement, label).
Use the features of ADT Create by performing them on adt_instance, such as adt_instance.addChild(...).

See code_documentation.md for instructions on how to use ADT Create, and changelog.md for the changelog on the GitHub repository of this project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ADTCreate-1.0.0rc5.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ADTCreate-1.0.0rc5-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file ADTCreate-1.0.0rc5.tar.gz.

File metadata

  • Download URL: ADTCreate-1.0.0rc5.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for ADTCreate-1.0.0rc5.tar.gz
Algorithm Hash digest
SHA256 155e04b1b3cb431398b79008b707339f32a55a18afcd1d50d0eeeae0c753b7ad
MD5 1da5229aa2a265a804d882429cd87cd3
BLAKE2b-256 e43c7685cc72c6a531319532574ccc09439713a494d42d2e59471f4db60e6ec0

See more details on using hashes here.

File details

Details for the file ADTCreate-1.0.0rc5-py3-none-any.whl.

File metadata

  • Download URL: ADTCreate-1.0.0rc5-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for ADTCreate-1.0.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 13f80affbbefcf4eb8fb30fc624e1eb55007ea7a4ae2f0c0ae90098147261743
MD5 2d031bfe6a2339cc3a382caf5c22be55
BLAKE2b-256 9c86af9265e18c8295024d37bc90a807ec91fd4fcc97f9032b42354b9c68aac0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page