Pipeline hazard assessment