Using AI to increase cyber resiliency