Health Secretary Shona Robison said:
“We are aware of a number of health boards affected by potential cyber incidents and the First Minister will chair a resilience meeting shortly.
“Scottish Government health officials are currently working closely with affected boards to assess the extent of the problem, and take steps to isolate affected systems, which have been affected by a Ransomware cyber-attack of the kind which has also affected health trusts in NHS England.
“We are taking immediate steps to minimise the impact of the attack across NHS Scotland and restrict any disruption.
“Our priority is to ensure that boards are supported to deal with this incident swiftly, and that services to patients can continue to run effectively.”