Giter Site home page Giter Site logo

abhaybhargav / tmdl Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 2.0 7 KB

An attempt at creating a unifying Threat Model Definition Language using a declarative syntax with cuelang

threatmodeling infrastructure-as-code cuelang security-tools security-architecture desired-state-configuration

tmdl's Introduction

Threat Model Definition Language - TMDL

An attempt at creating a unifying Threat Model Definition Language using a declarative syntax with cuelang

Existing Problems with Threat Modeling as Code

  • Currently Threat Modeling can be composed in programming languages like Python (pytm) or in declarative syntax like YAML (ThreatPlaybook). YAML is painful to work with owing to whitespace and indentation issues. Using imperative techniques to define threat models with programming languages adds an signficant entry barrier to practitioners and does not engender "desired state" with simple declarations
  • Hard to understand functions and keywords, making it harder to compose threat models.
  • Hard to enforce constraints with existing formats
  • Cannot be evaluated against multiple formats. Single format ensures that composition and parsing happens in that single format

Problems that this project aims to solve

  • Provide a consistent, declarative definition syntax using cuelang, which is more purpose-built for this and similar use-cases
  • Capture multiple facets of data related to a Threat Model. Not only Features, but components, security requirements, etc.
  • Enforcing constraints based on a single unified schema across all objects
  • Import from JSON, YAML using cuelang
  • Easily parsed and evaled in multiple formats including JSON, YAML from cue directly

TODOs

Please refer to project info for TODO list

tmdl's People

Contributors

abhaybhargav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

tohch4 wh0ami7

tmdl's Issues

Embedded Systems

Include context for embedded system applications within application section

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.