A confidential 2019 Cabinet Office briefing, leaked to the Guardian, warned that the UK must have a robust plan to deal with a pandemic virus and to stockpile PPE:

https://www.theguardian.com/world/2020/apr/24/revealed-uk-ministers-were-warned-last-year-of-risks-of-coronavirus-pandemic

It’s not clear when in 2019 the National Security Risk Assessment (NSRA) document was presented to the UK Cabinet.

Secretary of State for Scotland, David Mundell or Alister Jack (from 24th July), was the only Scottish representative, unless you count Michael Gove, in attendance at Cabinet meetings with, presumably, some sense of responsibility for the well-being of the Scottish people.

The Cabinet clearly did not respond, distracted by the ongoing EU withdrawal process, the Conservative Party leadership contest infighting and campaigning for the General Election. In the midst of all that Mundell or Jack had a particularly important role but does not seem to have fulfilled it. Had he advised the Scottish government of the risk, there seems little likelihood they would have ignored it given the regular adoption of NHS statistics as a weapon of choice by the opposition parties.