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

Allow Radar to take input data via CSV by default (some might want to pull from JSON etc..) #15

Open
kerberosmansour opened this issue Jul 2, 2017 · 2 comments

Comments

@kerberosmansour
Copy link
Collaborator

As a user of the appsec radar I want updating the radar contents be as simple as updating a csv spreadsheet. However since some developers might also want to be able to auto-populate content via api, it should also be able to accept json (which it currently does) .

@MichelleEmbleton
Copy link
Owner

Will get round to making it take a csv and convert it to an object array...

@kerberosmansour kerberosmansour changed the title Radar to take input data via CSV by default (some might want to pull from JSON etc..) Allow Radar to take input data via CSV by default (some might want to pull from JSON etc..) Jul 2, 2017
@MichelleEmbleton
Copy link
Owner

It can take JSON data files for now.
I found the simplest way to do this was with XMLHttpRequest() and using the var window.techList (global var) to get the parsed data out and available to all the functions - but I'm working on ways to tie down and restrict the variables more..
Not sure how to get it to take CSVs yet - I'm working on an OSX with iWork spreadsheets - which I can export as csv's - they are comma separated but with no line endings - haven't found a js solution yet - will work on it..

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

No branches or pull requests

2 participants