ASRG / asrg.io

asrg.io - website and docs
MIT License
8 stars 4 forks source link

iFrame Snapshot #409

Open heldyboy opened 2 years ago

heldyboy commented 2 years ago

We have an intelligence portal which is very expensive to run, so we turn on the server only 2 or 3 times a week. This information should be displayed in the website as an iFrame. However, since we turn off the server, the information is only available when the server is turned on. So we need to integrate a solution into the webserver to create a snapshot (screenshot) of an iFrame. Can you please do some research and see how to integrate a function like this?

heldyboy commented 2 years ago

Maybe check this out... https://stackoverflow.com/questions/55389292/how-to-capture-an-iframe-as-an-image/55389590 @usman-asrg

usman-asrg commented 2 years ago

@heldyboy When this server will be activated and can you share the URL or details so I can check where it is and find the exact solution for this ?

heldyboy commented 2 years ago

We can setup anytime. We just need to plan it.

The website is:

https://www.asrg.io/knowledge/intelligence/

The iframe is:

heldyboy commented 2 years ago
  1. We need to make a image of the iFrame and post it on the website.
  2. Request the picture from the iFrame once a day at a specific time.
  3. Then John will turn on the servers at a specific time everyday.
usman-asrg commented 2 years ago

The decision is we'll update image every week on Sunday at 22:00 CEST? We have uploaded the latest iFrame image that is live on the intelligence page

heldyboy commented 2 years ago

Please add code to update every week at Sunday 22:00 CEST.

heldyboy commented 2 years ago

The Servers in Azure will be turned on at 9pm on Sunday, and turned off at 10:30pm on Sundays

usman-asrg commented 2 years ago

The Updated IFRAME Code is

heldyboy commented 2 years ago

Issue with the ELK server start up. The elastic service does not start correctly. Need to investigate.

heldyboy commented 2 years ago

The server is scheduled to be ready at 21:00 CET until 23:00 CET. The problem is with the ACM Server that the Elastic service is not coming up with the server. Need to look for a solution there.