Giter Site home page Giter Site logo

Comments (5)

StephenOTT avatar StephenOTT commented on July 2, 2024 2

+1 on this. WAYYY to much access is being requested

from owasp-threat-dragon.

whereswaldon avatar whereswaldon commented on July 2, 2024 1

I think getting a read-write deploy key for the repo would be sufficient. That would only allow access to repo files, but not any of the settings/metatdata/issues/etc.

from owasp-threat-dragon.

mike-goodwin avatar mike-goodwin commented on July 2, 2024

Thanks for your interest in Threat Dragon. I know what you mean about the scope. The problem is that the app wants to write to the repo to store the model files and GitHub scopes don't allow anything less than repo access as far as I can see. With the empty scope it would be able to read models but not save them.

The only other way I can think of to make this work is to use git to push the model files from my server to GitHub instead of using the GitHub API. The problem is, this would mean storing and handling your GH creds, which is worse than the repo scope IMO.

Or, maybe I could do git from the browser using a javascript git implementation. That way your creds would never need to leave the browser...

This was one of the main reasons for creating the desktop variant. Would that be of interest?

Any suggestions on the way forward would be very welcome.

from owasp-threat-dragon.

jgadsden avatar jgadsden commented on July 2, 2024

This is linked to a similar issue #148 , because of the scopes available in github this has become a documentation issue

from owasp-threat-dragon.

jgadsden avatar jgadsden commented on July 2, 2024

Migrated to new issue in the OWASP area repo : OWASP/threat-dragon#5

from owasp-threat-dragon.

Related Issues (20)

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.