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

Enable result post #59

Closed
dexma-dev opened this issue Jul 5, 2018 · 3 comments
Closed

Enable result post #59

dexma-dev opened this issue Jul 5, 2018 · 3 comments

Comments

@dexma-dev
Copy link

Hey @ajinabraham ,

is it possible to post a result.json generated by the cli.py command to the application and get the visualization from it. I love the cli option but i dont want to implement the html rendering of the output myself.

Thanks

@dexma-dev dexma-dev changed the title Enbale result post Enable result post Jul 5, 2018
@ajinabraham
Copy link
Owner

I am not understanding your question. You have access to the JSON generated by the CLI here

https://github.com/ajinabraham/NodeJsScan/blob/master/cli.py

and you can add your custom logic there to suite your requirements.

@dexma-dev
Copy link
Author

I want to use the integrated visualization of the application.

Imagine the following process:

  • creating Json-file via CI (works perfect)
  • post to the application running in docker to show results in browser

I want to use your already implemented result.html to render the results.
I hope this clarifies the use case better

@ajinabraham
Copy link
Owner

Script your on code to read the json file and post or modify the cli to read the json output and post directly from there

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