Integration between Cornucopia and Threat Dragon
Describe what problem your feature request solves: Provide Cornucopia and EoP focused threat modeling within OWASP Threat Dragon for easier and more comfortable use of threat elicitation, while playing the game, and a better gaming experience.
Describe the solution you'd like: An API hosted at cornucopia.owasp.org will provide the card codes to build the template for the EoP diagram based on the existing STRIDE diagram type.
Additional context: Possible solution : Card codes will be fetched during the OWASP Threat Dragon build process through an API hosted at cornucopia.owasp.org to build the template for the EoP diagram based on the existing STRIDE diagram type. The new diagram will be identical except for that the threat model will contain support for selecting a specific EoP game and the card played.
Suggested tasks:
- [ ] Getting Started and contributing to Threat Dragon
- [ ] Getting Started with Cornucopia
- [ ] Guide to creating Development Environment for TD web app
- [ ] Tests
- [ ] Pull requests / integration
Adding the Threat Dragon model json: Integration between OWASP Cornucopia and OWASP Threat Dragon.json
Thanks for the .json @sydseter There are many possible implementations, one possibility is that a new diagram type could be defined (for example 'Cornucopia') and instead of the STRIDE categories it could have the Cornucopia categories drop down list in the Threat dialog:
- Data validation & encoding
- Authentication
- Session management
- Authorization
- Cryptography
- Cornucopia
- Wild card
Then depending on the category chosen a further drop down could select cards within that category, ideally including a thumbnail of the any card selected. I agree that I may be asking for the moon :)
The api has the categories added to the section field:
webapp: https://cornucopia.owasp.org/api/cre/webapp/en (supported languages: "en", "es", "fr", "nl", "no-nb", "pt-br", "pt-pt", "it", "ru", "hu") mobileapp: https://cornucopia.owasp.org/api/cre/mobileapp/en (supported languages: "en")
How the cards look: https://cornucopia.owasp.org/cards