IMPORTANT: Batsignal is now a deprecated service
What is Batsignal?
It’s an SMS alerter system for telling (originally) the Digital Health Networks community about impending cyberattacks and other NHS-wide urgent threats. I set it up originally just after WannaCry in may 2017, because we found at our After Action Review that some NHS trusts did not hear about the attack until 8 hours after it was obviously causing problems for other trusts. We made a system that allows the alarm to be raised with a post in the ‘Batsignal’ category of the DHN Discourse forum, which sends out an alert via SMS to subscribers. It’s only been used ‘in anger’ once, at the time of writing.
Why is it not called Batsignal, except informally/in private?
‘Batsignal’ is a name we are likely to run into legal trouble for using. Having had one major project of mine entirely killed off by the NHS Brand Police I don’t want it to happen again, this time by Warner Brothers (who I heard stopped Alder Hey Children’s Hospital from using the term ‘Batcave’ to describe their Innovation Hub).
How does it work?
It’s a Sinatra app, which listens for a webhook which Discourse sends on the creation of a new Topic in the ‘Batsignal’ category. The Sinatra app filters this so that only certain activity creates an SMS trigger. It then uses Twilio to send the message. The live system is hosted on Heroku. The database of subscribers is a Google Sheet.
Weekly testing using Heroku Scheduler
A separate app tests the Batsignal once a week, running daily on the Heroku Scheduler. It runs daily, but if it’s not a Monday it goes back to sleep. On Monday it creates an automated ‘Testing’ post in the Batsignal category of DHN Discourse and this triggers the webhook using the Sinatra responder.