Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a csv/google sheets front end to the cre rest api #25

Open
northdpole opened this issue Oct 1, 2020 · 4 comments
Open

add a csv/google sheets front end to the cre rest api #25

northdpole opened this issue Oct 1, 2020 · 4 comments

Comments

@northdpole
Copy link
Collaborator

northdpole commented Oct 1, 2020

There's currently no way to import/export data to/from the REST API.
This ticket has two parts:

  • Given a REST call, add the ability to export the results into a google sheets spreadsheet which allows humans to get the mappings into a CSV format. This is already partly implemented (utils/spreadsheet_utils.py) but we haven't implemented any API plumbing for it.

  • There's a way for Authorissed users to submit a spreadsheet that follows the template and import mappings from it.
    This involves some openidconnect integration and some way of allowing which users can submit mappings + plumbing for the parsers to receive a spreadsheet url. This functionality already exists via the cmd api but haven't managed to plumb the openid connect stuff.

@flowirtz
Copy link

I'd be happy to take this on. Could you provide a bit more information about the scope of this, please?

@northdpole
Copy link
Collaborator Author

thanks for the interest! this is awesome! updated the original ticket description

@flowirtz
Copy link

I started looking into the export functionality just now! 🎉
Few more questions:

Spreadsheet Export from REST API

Should this be a standalone tool under this repo, or should it rather extend the existing app under OWASP/common-requirement-enumeration with an additional button? I think from a UX perspective something like this could be nice:

image

Clicking on the Export button would then trigger the creation of a spreadsheet from the current API call, in the above case, a spreadsheet containing the top10 from 2017.

Is this what you imagine?
Should it also handle individual standard pages, eg https://www.opencre.org/standard/Top10%202017/section/A2_Broken_Authenticationn ?

Thanks!

@northdpole
Copy link
Collaborator Author

northdpole commented Dec 14, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants