Open Codehouse-Satty opened 2 years ago
Hey there @Codehouse-Satty ,
If the webserver is running, and you access index.html via webserver, it should serve that JSON output from the tool (since it's basically the artifact of this tool). Is the HTML trying to load it via file://
or the like? Can you share your browser's console output showing the error?
This is the image of the webserver URL from the report location /gui/dist/#/
It's asking for the input of the JSON file i.e aws_inventory_data-default
Ah, now I see. The most optimal choice here is downloading the files to your own host and running the webserver locally (safer too). As far as I'm aware, there isn't a handy way to specify the file remotely.
Oh okay, Eric !! So, are there any changes we can do so that the index.html file will automatically fetch the aws_inventory_data-default.json file directly without asking to import the file? Please suggest
Thank you again for your quick response !!
Unfortunately I don't see a way to do that out of the box at the moment. Your best option is downloading the files and opening locally.
In the future, we could try adding stronger support for your use-case.
Thank you so much Erik for your input !!
On Thu, 18 Nov, 2021, 11:25 pm ncc-erik-steringer, @.***> wrote:
Unfortunately I don't see a way to do that out of the box at the moment. Your best option is downloading the files and opening locally.
In the future, we could try adding stronger support for your use-case.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nccgroup/aws-inventory/issues/35#issuecomment-973116903, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVUNJJUTU4BPEPKUN2OQBZLUMU42RANCNFSM5IKCAAKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi @ncc-erik-steringer
Thank you for making it compatible with python3 much appreciate it !!
Actually, after running the report in ec2 ubuntu instance I've hosted the report as the webserver. But the the the index.html file under the /gui/dist/ is asking for the .json file as input (aws_inventory_data-default.json) from the local system. So is there any way we can directly open the report in browser without any data file input?
Thank you !!