The Saudi-led coalition fighting in Yemen said it had foiled an attack on an oil tanker off the country’s coast, the Saudi state news agency SPA reported on Wednesday.