Threagile / threagile

Agile Threat Modeling Toolkit
https://threagile.io
MIT License
577 stars 126 forks source link

Extendable "Protocol" and "TechnicalAssetTechnology" classes - move to yaml files #45

Open Thorsten-Sick opened 9 months ago

Thorsten-Sick commented 9 months ago

Create a "protocols" folder and a "technicalassettechnology" folder. In there define the protocols and assets as ,yaml files (one for each protocol/asset.

The code for the protocols/assets can then be removed from types.go

That way everyone can extend Threagile in a simple way. And especially protocols and TechnicalAssets are growth-candidates.

Currently those are defined in the code. And there are several functions defining the features of those. isEncrypted is an example. This can just be a bool value for the protocol description yaml.