“The Nuclear Posture Review, officially revealed Friday, does not change when a president might order a nuclear strike in response to a non-nuclear attack. But it does provide more hypotheticals about the circumstances that might force the president’s hand.”
Source: Yes, a cyberattack could spur the president to launch a nuclear attack