It went way beyond hookers.

Secret Service agents and officers have been accused of leaking sensitive information, publishing porn, sexual assaults, illegal wiretaps, embezzlement and drunkenness on duty, according to a 229-page log released yesterday.

After a prostitution scandal in April, when agents consorted with hookers while preparing for President Obama’s arrival in Colombia, Service Director Mark Sullivan apologized. But he said it was an isolated case, not a “systemic issue.”

However, the log, which the Service Service released yesterday after news organizations requested it under the Freedom of Information Act, shows a pattern of misdeeds dating back to 2003.

In one 2005 incident, a drunken agent was yanked from his role as the “detail leader” for a team assigned to protect the visiting president of the Dominican Republic.

Another agent, with a blood-alcohol level above the legal limit, was arrested in Los Angeles after driving into a ditch.

And in January 2011, police in New York arrested an investigative support assistant on charges of sexual abuse. The records do not list an outcome for the case.

Although the names were left out and the log was heavily censored, it provided ammunition for critics who say the Secret Service is out of control.

In an August 2011 incident, an employee was accused of pushing a woman who also worked for the agency onto a bed during a work trip. The employee “got on top of [censored] attempting to have sex,” even though the woman “told [censored] ‘no’ several times.”

The entry noted that supervisors described the accused as “a conscientious and dependable employee.” The incident was closed with an “administrative disposition” in February.

They also included an anonymous complaint in October 2003 that a Secret Service agent “may have been involved with a prostitution ring.” It noted that two telephone numbers belonging to the agent, who has since retired, turned up as part of an FBI investigation into a prostitution ring.

In addition, in 2005, an employee was reported to the Washington field office for being arrested on a charge of solicitation in a park.

In 2008, an on-duty uniform-division officer was arrested in a Washington prostitution sting. The officer, who was driving a marked Secret Service vehicle at the time, was placed on administrative leave, the records show.