stevespringett / threatmodel-sdk

A Java library for parsing and programmatically using threat models
79 stars 24 forks source link

Add DataFlow elements to threats #6

Closed stephendv1 closed 7 years ago

stephendv1 commented 7 years ago

The MS TAM tool associates each Threat with an interaction which is of the form: "sourceId:dataflowID:destinationID"

Add a new field to Threat that represents the dataflow. Create a new class for DataFlow that contains the ID and the name of the dataflow. Initially, only these two changes. Todo as a separate ticket would be to expand the dataflow class to refer to the source and destination.

stephendv1 commented 7 years ago

Implemented in https://github.com/stevespringett/threatmodel-sdk/pull/7