As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
JFK - CREW REPORTED RIGHT ENGINE OIL LOSS AND UNCOMMANDED ENGINE SHUTDOWN. EMERGENCY DECLARED FLIGHT RETURNED JFK LANDED WITHOUT INCIDENT. AIRCRAFT REMOVED FROM SERVICE. REPLACED RIGHT ENGINE AT JFK ON 07/17/2012. SYSTEM GROUND CHECK NORMAL OPERATION.